# How to change the labels for specific levels for the enumerate environment?

Specifically, I want to change the "i" to be "(i)". I tried redefining the "\roman" command to be "(\roman)" without luck ... any thoughts?

-
The second level uses (a), not (i). The document class is article and I have the following packages: enumerate, enumitem, units, graphicx, color. (Among others). –  obU Mar 31 '12 at 9:32
–  Peter Grill Mar 31 '12 at 16:49

You can change the third level enumerate labels to print (i), (ii) and so on, instead of i., ii. by saying in your preamble

\renewcommand{\labelenumiii}{(\theenumiii)}


If more customizations are needed, then it's probably better to have a look at the enumitem package.

The first level uses the counter enumi, the second level enumii, the third level enumiii and, not surprisingly, the fourth level uses enumiv.

Each counter has a "numeric representation", given by \theenumi, \theenumii, \theenumiii and \theenumiv, but also a "label command".

However the enumitem package has many bells and whistles for customizing the appearance. Don't load both enumerate and enumitem, preferring the second and more powerful package.

-
Perfect thanks :) I'll accept this answer as soon as the site allows me to. –  obU Mar 31 '12 at 9:39

Here's how to change the third level of every enumerate environment with the help of the the enumitem package:

\documentclass{article}

\usepackage{enumitem}
\setlist[enumerate,3]{label=(\roman*)}

\begin{document}

\begin{enumerate}
\item{First}
\begin{enumerate}
\item{First-first}
\begin{enumerate}
\item{First-first-first}
\end{enumerate}
\end{enumerate}
\end{enumerate}

\end{document}


-
Thanks also for this; I've done it the way egreg suggests; but this doesn't look particularly bad. Unfortunately I can't upvote posts. –  obU Mar 31 '12 at 9:42
@obU Of course you can upvote both answers. You just cannot accept more than one answer. –  Thorsten Mar 31 '12 at 9:48
@Thorsten Upvoting requires a reputation of 15. –  lockstep Mar 31 '12 at 9:49
@lockstep I didn't think of that. Now he should be able to do it :) –  Thorsten Mar 31 '12 at 9:50
Upvoting apparently requires you to register or login. I don't have an account. –  obU Mar 31 '12 at 9:58

Do not use enumitem and enumerate - they do roughly the same thing (enumitem does it better).

Try this (with enumitem):

\documentclass{article}

\usepackage{enumitem}

\begin{document}
\begin{enumerate}[label=(\roman*)]
\item Something
\item Something else
\end{enumerate}
\end{document}


Consult the enumitem documentation for more options.

-
Thank you for letting me know that I shouldn't use both packages together (I can't upvote you, but I appreciate it). –  obU Mar 31 '12 at 9:41