[Tex/LaTex] No spacing between enumerated items with \usepackage{enumerate}

#enumeratelistsspacing

I use this code now:

\documentclass[11pt]{article}
\usepackage{enumerate}
\begin{document}
\begin{enumerate}
\item a
\item b
\item c
\end{enumerate}
\end{document}

I want to decrease the line spacing between a,b,c. Can someone help me do this?

And how do I remove the space BEFORE enumerate?

Best Answer

Better to use the latest and powerful enumitem package.

\documentclass[11pt]{article}
\usepackage{enumitem}
\begin{document}
Some text here.
\begin{enumerate}[topsep=0pt,itemsep=-1ex,partopsep=1ex,parsep=1ex]
\item a
\item b
\item c
\end{enumerate}
Some more text.
\end{document}

Here you may have to adjust these parameters as per your needs:

  1. \topsep: space between first item and preceding paragraph.
  2. \partopsep: extra space added to \topsep when environment starts a new paragraph.
  3. \itemsep: space between successive items.

In the above code the parameters are set locally. If you want, you can make them global with the help of \setlist[enumerate]{topsep=0pt,itemsep=-1ex,partopsep=1ex,parsep=1ex}. For details, refer the enumitem manual at texdoc.

You can suppress all of these spaces by using nolistsep.

\documentclass[11pt]{article}
\usepackage{enumitem}
\begin{document}
\noindent Some text here.
\begin{enumerate}[nolistsep]
\item a
\item b
\item c
\end{enumerate}
Some more text.
\end{document}

enter image description here

Related Question