2

The following code works

\documentclass[12pt]{article}
\usepackage{enumerate}          % line 2
%\usepackage{enumitem}          % line 3

\begin{document}
\begin{enumerate}[(i)]          % line 6
%\begin{enumerate}[noitemsep]   % line 7
\item one
\item two
\end{enumerate}
\end{document}

and gives me something like

i. one

ii. two

But if I want to make the separation smaller, I would like to use enumitem package (following Wikibooks). However, I cannot use [(i)] when I use package enumitem. How can I get both of these features.

1

2 Answers 2

5

I prefer the Phelype Oleinik's way, using the enumitem package:

You can use noitemsep as an environment option:

\documentclass[12pt]{article}
%\usepackage{enumerate}          % line 2
\usepackage{enumitem}          % line 3

\begin{document} 
   \begin{enumerate}[label=(\roman*),noitemsep]          % line 6
      \item one
      \item two
    \end{enumerate} 
\end{document}
4
3

With the [shortlabels] option, the enumitem package allows to write the very simple and user-friendly syntax of the enumerate package.

\documentclass[12pt]{article}
\usepackage[shortlabels]{enumitem} 

\begin{document} 
   \begin{enumerate}[(i),noitemsep]  
      \item one
      \item two
    \end{enumerate} 
\end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .