Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

share|improve this question
    
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
    
Welcome to TeX.SE. –  Peter Grill Mar 31 '12 at 16:49
add comment

3 Answers 3

up vote 9 down vote accepted

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.

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

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}

enter image description here

share|improve this answer
    
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
1  
@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
show 3 more comments

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.

share|improve this answer
    
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.