乳胶:以罗马数字打印变量 [英] latex: printing a variable in roman numerals
本文介绍了乳胶:以罗马数字打印变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在LaTeX中排版,我想以罗马而不是默认的阿拉伯语显示变量"(在我的情况下,是对列表中项目编号的引用\ ref {blah}).是否有捷径可寻?感谢您的指导!
I'm typesetting in LaTeX, and I'd like to display a "variable" (in my case, a reference \ref{blah} to an item number in list) in roman rather than the default arabic. Is there an easy way to do this? Thanks for any pointers!
推荐答案
您可以在enumerate
环境中尝试\def\theenumi{\roman{enumi}}
-更改标签和引用,但是您必须显式撤消它(如果您想要的.)
You can try \def\theenumi{\roman{enumi}}
inside an enumerate
environment -- this changes both labels and refs, but you'll have to then explicitly undo it (if you want to).
这篇关于乳胶:以罗马数字打印变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文