[texhax] Reference to lists in Roman numerals
Lars Madsen
daleif at imf.au.dk
Sat Mar 28 11:53:05 CET 2009
you might want to learn the enumitem package, easy donciguration for
each list, and the references can be configureed (actually it is the
default) to remember the formatting, i.e. i the number comes out (iv),
then the reference will be (iv) including the ()'s
/daleif
Guse, Joseph wrote:
> Hey Diego I found your post a tex user site (pasted below). I had the
> same question. I realize its been some time, but just in case you still
> want a solution I figured something out which works, though it is not
> very elegant… (neither of the renewcommands worked by itself to solve
> the issue)
>
>
>
> \renewcommand{\theenumi}{\roman{enumi}}
>
> \renewcommand{\labelenumi}{\roman{enumi}.}
>
> \begin{enumerate}
>
>
>
> \item some point
>
>
>
> \item \label{needRefLaterA} some point referred to later
>
>
>
> \item another point
>
>
>
> \item \label{needRefLaterB} another point referred to later
>
>
>
> \item point which refers to item \ref{needRefLaterA} and item
> \ref{needRefLaterB}.
>
>
>
> \end{enumerate}
>
>
>
> How about outside the enumerate block can I still refer to items
> \ref{needRefLaterA} and \ref{needRefLaterB}?
>
>
>
>
>
> HERES HOW IT TURNED OUT IN THE PDF…
>
> i. some point
>
> ii. some point referred to later
>
> iii. another point
>
> iv. another point referred to later
>
> v. point which refers to item ii and item iv.
>
> How about out the enumerate block can I still refer to items ii and iv?
>
>
>
>
>
> YOUR POST FROM 2006 ….
>
>
>
> Hello there,
>
>
>
> I've created a list with roman numerals using the commands:
>
>
>
> \begin{list} {\Roman{enumi}.}
>
> {usecounter}{enumi}}
>
> item \label{aaa}...
>
> ...
>
> \end{list}
>
>
>
> However, when I want to make a reference to one of the
>
> items in that list, i.e.
>
>
>
> \ref{aaa}
>
>
>
> I get printed the value of the counter in arabic numerals
>
> instead of the Roman version. Is there a way for changing this
>
> value to Romans?
>
>
>
> Thanks,
>
> Diego Ruiz
>
>
>
>
>
> A. Joseph Guse
>
> Assistant Professor of Economics
>
> Washington & Lee University
>
> Lexington, VA 24450
>
> 540-458-8915
>
> gusej at wlu.edu
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
>
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
More information about the texhax
mailing list