I want to typeset real Roman numerals (both uppercase and lowercase) in LaTeX text. I've checked out a previous thread but found no satisfactory solution. (In fact, several solutions mentioned in that thread doesn't work for me. I don't know why.)
I personally use the straightforward approach of
\newcounter{counter}
\newcommand{\upperRomannumeral}[1]{\setcounter{counter}{#1}\Roman{counter}}
\newcommand{\lowerromannumeral}[1]{\setcounter{counter}{#1}\roman{counter}}
but it is still not satisfactory. Is there any better way to perform the task?
Best Answer
If I understand you right, it seems like you are after in-line lists that are numbered in Roman numerals. I think the
enumitem
package is up to the job for this kind of thing.Code
Output