I'm using enumitem to label text, and I'd like the text to all be aligned to the same indent as the first line in the list. The second line begins underneath the label. I'm sure there's a simple fix, but after reading the enumitem documentation I couldn't find anything.
\documentclass[multi={minipage}, border=5]{standalone}
\usepackage{enumitem}
\begin{document}
\begin{minipage}{500bp}
\fontsize{20}{24}
\selectfont
\begin{enumerate}[label=(\Alph*),align=left,topsep=1ex,parsep=0ex,itemsep=1ex,leftmargin=3ex]
\item{This is some long text that will overset to the second line of the list. I would like the second line to be in line with the first.}
\item{Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.}
\end{enumerate}
\end{minipage}
\end{document}
Please let me know if there's anything I should add to my mwe.
Best Answer
Section 3.2 of the
enumitem
manual explains the horizontal spacing of labels. Usually,enumitem
would place the labels right aligned next to your 'item body', but as you pointed out, you would like to use left aligned labels with thealign=left
option for optical reasons.In your case you can use
leftmargin=*
, which letsenumitem
calculate an appropriate left margin, taking into account yourlabel
definition.In case you want to explicitly set the left margin for your items, you can also use the
leftmargin=<dim>,labelsep=*
options instead, andenumitem
will set the label separation length accordingly.