如何将 exe 环境中的 xlist 环境设置为使用小写罗马数字?它始终默认为小写字母。
答案1
没有看到最小工作示例很难确定,但我认为你只需要重新定义\thexnumii
,你可以这样做:
\renewcommand\thexnumii{\roman{xnumii}}
当然,如果你要进一步嵌套这些,那么你也应该重新定义\thexnumiii
等。这样做你会得到输出
来自 MWE(改编自格布手动的):
\documentclass{article}
\usepackage{gb4e}
\renewcommand\thexnumii{\roman{xnumii}}
\begin{document}
\begin{exe} % sets up the top-level example environment
\ex\label{here} Here is one. % example with running number
\ex[*]{Here another is.} % judged ex. with running number
\ex Here are some with judgements.
\begin{xlist} % first embedding (alphabetical numbering)
\ex[]{A grammatical sentence am I.}
\ex[*]{An ungrammatical sentence is you.}
\ex[??]{A dubious sentence is she.}
\ex % just the number
\ex Dare to judge me!
\end{xlist} % end first embedding
\ex This concludes our demonstration.
\end{exe}
\end{document}