Currently, I am using an unmodified version of the standard enumerate command. The following code gives me labels that go "1.", "2.", "3."


I would like the labels to go "1.1.A.", "1.1.B.", "1.1.C." instead. (And of course, that they be set up in such a way that the numbers change in the expected manner for later sections and subsections.) In particular, I'm trying to copy the exercise numbering in this document.

How can I accomplish this?


It's easy with enumitem:






\item First
\item Second
\item Third


Usual recommendation: are you really sure this is what you want to inflict to your readers?

The picture was obtained with \usepackage{showframe}

enter image description here

|improve this answer|||||
  • enumyikes!?? yikes! – user11232 Sep 23 '15 at 16:02
  • Perhaps adding a conditional, so in case there's no subsection only the section counter is prepended? – Gonzalo Medina Sep 23 '15 at 16:07
  • Thanks! I'm writing a solutions document to some notes with exercises that are labeled this way. – Potato Sep 23 '15 at 16:14
  • Is there any way to get the labels to be left-aligned, like the exercises in the following document? (Warning: large .pdf) math.stanford.edu/~vakil/216blog/FOAGsep1815public.pdf – Potato Sep 23 '15 at 16:17
  • (When I try your code, the left edges of the labels seem to vary in position.) – Potato Sep 23 '15 at 16:20

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.