1

After stretching the list horizontally according to Horizontal space in lists, I've encountered a problem where the nested list items start too deep inside. How can I pull it back to the left where the parent item description starts?

1.    ############################
      ############################
          A. Nested item A          % <-- [Bad] Too deep
          B. Nested item B
          C. Nested item C

2.    ############################
      ############################
          A. Nested item A
          B. Nested item B
          C. Nested item C

3.    ############################
      ############################
      A. Nested item A             % <-- [Good] Pull it back to the left to start at the same starting point of the parent item description
      B. Nested item B
      C. Nested item C
  • 3
    This is all explained in the the enumitem documentation. (Check leftmargin=*) And now that you have a working sample document, it's better to post that than just the description of what you want. – Alan Munn Aug 2 '11 at 13:32
  • 1
    I think the downvotes are a little harsh. Yes, given that the OP had asked a previous question, the solution to this one should have been obvious. But as a stand alone question, this is a perfectly reasonable question. One with an obvious answer, sure, but not worthy of downvoting, in my opinion. – Seamus Aug 2 '11 at 14:23
  • agreed & upvoted;) – mbork Aug 2 '11 at 15:40
  • 1
    And when OP gets to level 2 or 3, he will start reading docs himself:P – mbork Aug 2 '11 at 15:41
6

You are looking for leftmargin=* it's on page 4 of the enumitem manual.

\documentclass{article}
\usepackage{enumitem}
\begin{document}
\begin{itemize}[labelsep=2cm]
\item No nested list
\item Nested list:
  \begin{itemize}[leftmargin=*]
  \item More
  \item Things
  \end{itemize}
\end{itemize}
\end{document}
| improve this answer | |
  • 3
    Although really, at eleven pages, you probably could have just read the whole enumitem manual yourself... – Seamus Aug 2 '11 at 13:31

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.