# Horizontal spacing in enumitem

I am using customized indentation in the enumitem package. The following MWE

\documentclass{article}
\usepackage{enumitem}

\begin{document}

\begin{enumerate}[align=left,wide=4pt]
\item Compute the sums: $1 + 1$, $2 + 2$, $3 + 3$, $4 + 4$, $5 + 5$, $6 + 6$, $7 + 7$, $8 + 8$, $9 + 9$, $10 + 10$, $11 + 11$
\item Compute the products: $1 \times 1$, $2 \times 2$, $3 \times 3$, $4 \times 4$, $5 \times 5$
\end{enumerate}

\end{document}


produces the following output I would like the $10 + 10$ to align with the "Compute the sums" text; essentially I would like to move the entire text block over by some length.

Here is a way. Note align=left is not needed, as it is set by the wideoption.

\documentclass{article}
\usepackage{enumitem}
\begin{document}

\begin{enumerate}[wide=4pt, leftmargin=*, labelsep=1cm]
\item Compute the sums: $1 + 1$, $2 + 2$, $3 + 3$, $4 + 4$, $5 + 5$, $6 + 6$, $7 + 7$, $8 + 8$, $9 + 9$, $10 + 10$, $11 + 11$, $12 + 12$, $13 + 13$. \item Compute the products: $1 \times 1$, $2 \times 2$, $3 \times 3$, $4 \times 4$, $5 \times 5$. \end{enumerate}

\end{document}


• This isn't quite what I wanted. The alignment works out great, but how can I modify the space between "1." and "Compute" – user217285 May 28 '16 at 22:36
• @Nitin: You have to play with the labelsep key. Please see my updated answer. – Bernard May 28 '16 at 22:49
• Sounds like a graphic mock up of what you want would go a long way in clarifying your question. – A Feldman May 28 '16 at 23:47
• @AFeldman most definitely, but thankfully Bernard and Andrew were patient. – user217285 May 29 '16 at 3:35
• :) yes, I noticed. – A Feldman May 29 '16 at 9:58

The default behaviour of enumitem package is what you are asking for but you have turned off this geature by setting wide=4pt. According the enumitem manual, the key-option wide has the following effect:

With this convenience key [wide], the leftmargin is null and the label is part of the text—in other word, the items look like ordinary paragraphs.

I think that perhaps you meant to write something like widest=10, because the following MWE does what you want:

\documentclass{article}
\usepackage{enumitem}

\begin{document}

\begin{enumerate}[align=left,widest=10]
\item Compute the sums: $1 + 1$, $2 + 2$, $3 + 3$, $4 + 4$, $5 + 5$, $6 + 6$, $7 + 7$, $8 + 8$, $9 + 9$, $10 + 10$, $11 + 11$
\item Compute the products: $1 \times 1$, $2 \times 2$, $3 \times 3$, $4 \times 4$, $5 \times 5$
\end{enumerate}

\end{document}


producing:

Note that the wide option is not necessary for this.

• This isn't exactly what I wanted. I wanted to be able to move the block of text left and right, somewhat like "wide" but with the modification that the block of text be moved entirely. – user217285 May 28 '16 at 4:12
• Sorry if I am being slow, but I don't understand what you mean. Could you add an explicit example to your question? – Andrew May 28 '16 at 4:36
• So you see how the "$9 + 9$" in your MWE is aligned with the "Compute"? I want that, but I would like for the entire text after "1." to be shifted over to the left a bit. My example with "wide" was to show the deficiency I wanted to amend. – user217285 May 28 '16 at 5:12
• @Nitin: I think you are looking for the leftmargin=* option. – Peter Grill May 28 '16 at 6:49
• @PeterGrill not quite so (I think). See my comment on Bernard's post. – user217285 May 28 '16 at 22:37