1

I have the following code:

\documentclass{amsart}
\usepackage{enumitem}

\begin{document}
\begin{enumerate}[label = \textbf{Exercise \arabic*.}]
\item ajksdjkldjslasdjklasd
    \begin{enumerate}[label = \textbf{\alph*.}]
        \item ajhsdjajksdasdajksd
    \end{enumerate}

\item ajksdkasjdadsasd
\end{enumerate}
\end{document}

Which produces:

enter image description here

How do I remove the indentation of the item a.? I would like to have it aligned with the item Exercise 1/2.

3

Maybe you want one of these?

\documentclass{amsart}
\usepackage[showframe]{geometry}%
 \usepackage{enumitem}

\begin{document}

\begin{enumerate}[label=\textbf{Exercise \arabic*.}, wide = 0pt, itemsep=1.5ex]
\item ajksdjkldjslasdjklasd
    \begin{enumerate}[label = \textbf{\alph*.},wide =0pt]
        \item ajhsdjajksdasdajksd ajhsdjajks dasdajksd ajhsdjajksd asdajksd ajhsdjajks dasdajksd dasdajksd ajhsdjajksd asdajksd ajhsdjajks dasdajksd
    \end{enumerate}

\item ajksdkasjdadsasd
\end{enumerate}
\bigskip

\begin{enumerate}[label = \textbf{Exercise \arabic*.}, wide=0pt, itemsep=1.5ex]
\item ajksdjkldjslasdjklasd
    \begin{enumerate}[label = \textbf{\alph*.},wide=0pt, labelsep=0.15em, leftmargin=*]
        \item ajhsdjajksdasdajksd ajhsdjajks dasdajksd ajhsdjajksd asdajksd ajhsdjajks dasdajksd dasdajksd ajhsdjajksd asdajksd ajhsdjajks dasdajksd
    \end{enumerate}

\item ajksdkasjdadsasd
\end{enumerate}

\end{document} 

enter image description here

1

You may add option leftmargin=0pt for enumii,

\begin{enumerate}[label = \textbf{\alph*.},leftmargin=0pt]
  • This does partially help, but it aligns just with the numbers. – TheGeekGreek Sep 25 '16 at 11:12

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.