4

I would like to modify the enumeration in such a way that:

  1. there is no margin on the left (in the default enumeration, the numbering is indented from the left)
  2. there is a vertical space between two items.

Can anyone help me?

2
  • 2
    Welcome to TeX.SE. Not sure what you mean by "there is no margin on the left" and "numbering is indented from the left". These two seem to conflicting requirements. Perhaps you should post an image of what is desired. Best place to start to look would be documentation for the enumitem package. Jul 4, 2012 at 2:09
  • I don't want indentation from the left. Jul 4, 2012 at 2:13

1 Answer 1

4

For all of your list spacing needs, you should use the enumitem package. For no indentation, and a blank line between items:

\documentclass{article}
\usepackage{enumitem}
\begin{document}
\noindent This is some text.
\begin{enumerate}[leftmargin=*,itemsep=\baselineskip]
\item Foo
\item Bar
\end{enumerate}
\end{document}

For some other questions involving list spacing see:

4
  • I mean a vertical space, not a horizontal space. So I want an empty line between two items of the list. Jul 4, 2012 at 3:05
  • @MichaelWidyuan See my edit. (And read the documentation for enumitem for more information.)
    – Alan Munn
    Jul 4, 2012 at 3:26
  • Thanks a lot! Sorry to ask so much, but is there a way to make it automatic? Jul 4, 2012 at 3:31
  • @MichaelWidyuan Surely you can figure this out from either the documentation or the first linked question. Hint: apply the stuff in the [ ... ] from this answer to the examples in that question.
    – Alan Munn
    Jul 4, 2012 at 3:52

You must log in to answer this question.

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