Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
我建议使用该片段:
\makeatletter \newcommand{\rmnum}[1]{\romannumeral #1} \newcommand{\Rmnum}[1]{\expandafter\@slowromancap\romannumeral #1@} \makeatother
现在你可以称呼:
\Rmnum{2} % II \rmnum{2} % ii
I would suggest to use that snippet:
now you can call:
我认为你的意思是 \Roman 而不是 \Rome。无论如何, \Roman 将计数器的值打印为罗马数字,因此您不能将其与“2”一起使用。
\Roman
\Rome
简短的回答 - 使用 \romannumeral 2。
\romannumeral 2
长答案 - 按照此处所述定义命令。
I think you mean \Roman not \Rome. Anyway, \Roman prints the value of a counter as a roman numeral, so you can't use it with "2".
Short answer - use \romannumeral 2.
Long answer - define commands as described here.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(2)
我建议使用该片段:
现在你可以称呼:
I would suggest to use that snippet:
now you can call:
我认为你的意思是
\Roman
而不是\Rome
。无论如何,\Roman
将计数器的值打印为罗马数字,因此您不能将其与“2”一起使用。简短的回答 - 使用
\romannumeral 2
。长答案 - 按照此处所述定义命令。
I think you mean
\Roman
not\Rome
. Anyway,\Roman
prints the value of a counter as a roman numeral, so you can't use it with "2".Short answer - use
\romannumeral 2
.Long answer - define commands as described here.