Is there a guide out there on how to customize the enumerate and itemize instances in my code? (I'm using the Memoir class in LaTeX for Windows, and I have the enumitem package included.) I want to mess with the margins and spacings to make my lists look a little less "LaTeX-default"...

  • 5
    Why not just look at the enumitem documentation? It includes a number of examples contained with section 13 Samples (p 13). Look at that - section and page match! :) – Werner Dec 10 '11 at 22:40
  • 3
    The memoir class includes code that emulates the enumerate package, but enumitem is more powerful. I would recommend not to mess much with the parameters, though, as it's easy to get wrong shape for lists. – egreg Dec 10 '11 at 22:45

This is some of the default examples included in the enumitem package documentation (section 11 Samples). In particular, they deal with some of the spacing/margin modifications:

enter image description here

\usepackage{enumitem}% http://ctan.org/pkg/enumitem
  En un lugar de la Mancha, de cuyo nombre no quiero acordarme,
  no ha mucho tiempo que viv\'{\i}a un hidalgo de los de
    \item lanza en astillero,
    \item adarna antigua,
    \item roc\'{\i}n flaco, y
    \item galgo corredor.
  Una olla de algo m\'{a}s vaca que carnero, salpic\'{o}n las m\'{a}s
  noches, duelos y quebrantos los s\'{a}bados\ldots
\mylist{labelindent=\parindent,leftmargin=*} \par\medskip\hrule\medskip
\mylist{leftmargin=*} \par\medskip\hrule\medskip % labelindent=0pt by default
\mylist{leftmargin=\parindent} \par\medskip\hrule\medskip
\mylist{labelindent=\parindent, leftmargin=*, label=\Roman*., widest=IV, align=left} \par\medskip\hrule\medskip

Also see Good way to make \textcircled numbers? for a way to use enumitem to encircle the enumeration using tikz/pgf. Finally, searching for questions about enumitem leads to many requests regarding "messing around with margins and spacing."

|improve this answer|||||
  • Is there a way to set the default for enumerate and itemize so that when I use \begin{enumerate}, it automatically uses the settings I want (instead of having to type {labelindent = ..., leftmargin = ...}, etc.? – jamaicanworm Dec 11 '11 at 17:01
  • 1
    @jamaicanworm: Yes, see the enumitem documentation, section 5 Global settings (p 9): \setlist[enumerate,<level>]{<format>} and \setlist[itemize,<level>]{<format>}. Note the use of <level>, since you can have nested lists. That is, you define the default setting for a specific <level> within enumerate or itemize (or description for that matter). – Werner Dec 11 '11 at 17:13
  • There is no Section 13 in mirror.datacenter.by/pub/mirrors/CTAN/macros/latex/contrib/… – Viesturs Apr 7 '19 at 7:43
  • 1
    @Viesturs: It's now section 11 Samples. I've updated the answer. – Werner Apr 7 '19 at 17:00

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.