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
    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. – Peter Grill Jul 4 '12 at 2:09
  • I don't want indentation from the left. – Michael Widyuan Jul 4 '12 at 2:13
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:

|improve this answer|||||
  • I mean a vertical space, not a horizontal space. So I want an empty line between two items of the list. – Michael Widyuan Jul 4 '12 at 3:05
  • @MichaelWidyuan See my edit. (And read the documentation for enumitem for more information.) – Alan Munn Jul 4 '12 at 3:26
  • Thanks a lot! Sorry to ask so much, but is there a way to make it automatic? – Michael Widyuan Jul 4 '12 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 '12 at 3:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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