I am having an issue aligning the left side of my list with the left side of my paragraph. Here is my current code:
Code:
\documentclass[draft, 12pt]{article}
\usepackage{fullpage}
\usepackage{enumitem}
\parindent = 0pt
\begin{document}
This is a random and long sentence that apparently takes up two lines just so that I
can see what happens with alignment and indentation. Note my \texttt{parindent = 0pt}.
\begin{enumerate}
\item This is list one first item.
\end{enumerate}
\begin{enumerate}[leftmargin = 0pt]
\item This is list two first item.
\end{enumerate}
\end{document}
Visual representation:
This is a random and long sentence that apparently takes up two lines just so that I can see
what happens with alignment and indentation. Note my parindent = 0pt.
1. This is list one first item.
1. This is list two first item.
Best Answer
The solution depends on how many items you are expecting in the list. If the number of items is 9 or less than use:
but for 10 thru 99 you should use a larger
labelwidth=1.25em
Notes:
showframe
package was used just to show the page margins. It is not needed in your actual use case.\parskip
is considered a "deadly sin" as per Too much whitespace before lists when changing the \parskip length. Use theparskip
package instead.Code: