I have the following code which produces the document below:
\documentclass{article}
\usepackage{blindtext}
\usepackage{enumitem}
\setlength{\parindent}{0em}
\setlength{\parskip}{0em}
\setlist[enumerate]{noitemsep,label=\arabic*)}
\begin{document}
\blindtext
\begin{enumerate}
\item \blindtext
\begin{enumerate}[label=\alph*)]
\item \blindtext
\item \blindtext
\end{enumerate}
\end{enumerate}
\end{document}
I would like to have the item labels aligned with the left-hand side of the text in the paragraph above it - i.e. I would like the "1)" label to move to the left slightly, and the "a)" label should move left by the same amount, so it is aligned with the text under item 1.
I've tried adding the leftmargin=\parindent
option in the \setlist
, but this pushed the labels too far left (behind the left margin).
Edit
A possible solution, provided by Bernard in the comments below, is to use the wide=0pt
key. This produces the following result:
The problem I have with this is now the labels are aligned inside the rest of the paragraph (text appears directly below the label, which is not quite what I wanted).
[wide=0pt]
key.