I have a document full of lists which I need to refer to later in the document. Therefore I number my lists (enumerate
) by subsections. I have chosen to specify this globally by this line in the preamble:
\renewcommand*{\theenumi}{\thesubsection.\arabic{enumi}}
This gives me the result I want, but because each item now consists of 4 digits (chapter.section.subsection.item), some of the numbers end up in the left margin:
I would like the numbers of enumerate to (left) align with the rest of the document text (including subsection numbers as seen in the picture above). How is this done globally, since I have a massive amount of lists?
If relevant: I am using memoir
.
Best Answer
Similar to Harish's answer, but there's no need for
You can simply define
MWE:
If you need it only for a few
enumerate
environments, instead of setting globallyuse these settings locally by issuing
Note that you may need to load
enumitem
with theshortlabels
optionif you have already customized
enumerate
lists.