4

I'm having trouble enumerating with the enumitem package.

While the command \item produces the enumeration, I cannot seem to do nasty enumeration.

For example:

1. ..... i. ii. iii. 

etc. I insert the command \begin{enumerate} \end{enumerate} but it does not compile and says that this command is not recognised. The \usepackage{enumerate} is loaded in the preamble, as well as the \usepackage{enumitem}.

How can I fix that?

Here is what I'm doing:

 \begin{enumerate}[label=\textbf{\arabic*}.] \item .... \begin{enumerate}[(a)] \item ..... \end{enumerate} \end{enumerate} 

When I do this, well LaTeX says " I do not recognise ... Please read the manual for instructions"

3
  • Can you post an example? and try to load enumitem after enumerate Commented Jan 30, 2015 at 22:21
  • Well, the enumitem is loaded after enumerate... Commented Jan 30, 2015 at 22:26
  • @touhami I just updated the question. Commented Jan 30, 2015 at 22:27

2 Answers 2

7

Don' load both enumerate and enumitem but only enumitem. The enumitem package can emulate the functionality of enumerate too if you load it with shortlabels option. But better is to use

\documentclass{article} \usepackage{enumitem} \begin{document} \begin{enumerate}[label=\textbf{\arabic*}.] \item some \begin{enumerate}[label*=(\alph*)] \item some other \item some other \end{enumerate} \end{enumerate} \end{document} 

enumitem is more recent and more equipped. With shortlabels option it looks like this:

\documentclass{article} \usepackage[shortlabels]{enumitem} \begin{document} \begin{enumerate}[label=\textbf{\arabic*}.] \item some \begin{enumerate}[(a)] \item some other \item some other \end{enumerate} \end{enumerate} \end{document} 

enter image description here

2
  • :clap: :clap: It works perfectly... Commented Jan 30, 2015 at 23:03
  • @Tolaso Thank you. Glad to know it worked :) Commented Jan 30, 2015 at 23:09
1

this work well for me

\documentclass{article} \usepackage{enumitem} %-------------------------------------------------- \begin{document} \begin{enumerate}[label=\textbf{\arabic*}.] \item .... \begin{enumerate} \item ..... \end{enumerate} \end{enumerate} \end{document} 
1
  • Hmm.. well it does not to me.. I don't know what is wrong with that... perhaps my \LaTeX needs an update. Commented Jan 30, 2015 at 23:04

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.