16

Possible Duplicate:
Vertical space in lists

Enumerated items seem distant from each other by default settings in the enumerate environment. How can I change that globally (I've seen other solutions, but needed to know which is the best practise), and more importantly for one single instance of an enumerate or itemize environment?

30

The enumitem package provides just the kind of commands that can help.

You can use

\setlist[enumerate]{itemsep=0mm}

to change enumerate globally, and something like

\begin{enumerate}[itemsep=5mm]

to change locally. A complete MWE follows.

\documentclass{article}
\usepackage{lipsum}

\usepackage{enumitem}
\setlist[enumerate]{itemsep=0mm}

\begin{document}

\lipsum[1]
\begin{enumerate}
    \item one
    \item two
\end{enumerate}

\lipsum[2]
\begin{enumerate}[itemsep=5mm]
    \item one
    \item two
\end{enumerate}
\end{document}
| improve this answer | |
  • 3
    Nice answer. for whatever reason I found \begin{enumerate}[nosep] gave me less space than \begin{enumerate}[itemsep=0mm]. – PatrickT Jul 8 '18 at 17:08
  • You can also use negative values. \begin{enumerate}[itemsep=-2mm] worked for me. – Veera Jul 14 at 8:28
4

Use the compactenum environment from the paralist package:

\usepackage{paralist}
\begin{compactenum}
\end{compactenum}

Redefine the enumerate, itemize and description environments if you want this as standard behavior:

\renewenvironment{itemize}[1]{\begin{compactitem}#1}{\end{compactitem}}
\renewenvironment{enumerate}[1]{\begin{compactenum}#1}{\end{compactenum}}
\renewenvironment{description}[0]{\begin{compactdesc}}{\end{compactdesc}}
| improve this answer | |

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