Questions tagged [enumitem]
{enumitem} is a package that provides user control over the layout of the three basic list environments: {itemize}, {enumerate}, and {description}.
1,275
questions
0
votes
1
answer
32
views
Missing number, treated as zero for \setcounter
So I was writing something, but got the error "Missing number, treated as zero". However, the command was inserted correctly, so I don't know what I'm doing wrong.
\begin{enumerate}
\...
4
votes
2
answers
191
views
How to make the colon same align
From this code.
\begin{enumerate}[align=left,label=(\arabic*) :]
\item x
\item x
\item x
\item x
\item x
\item x
\item x
\item x
\item x
\item x
\item x
\...
0
votes
0
answers
59
views
Add an asterisk left of an enumerate code review to expl3
In @egreg solution to Compilation problems with custom enumeration, he provides the following definitions:
\documentclass{article}
\usepackage{enumitem,color}
\setlist[enumerate]{before=\...
2
votes
0
answers
60
views
Environment for enumerate environment
Consider the following MWE:
\documentclass[letterpaper,twoside]{article}
\usepackage{xcolor}
\makeatletter
\reversemarginpar
\@mparswitchfalse%
\makeatother
\newcommand{\itemans}[1]{{\color{red}\item #...
0
votes
0
answers
23
views
preventing items in an enumerate environment from being split across pages while also ensuring adequate spacing in latex?
i’m working on worksheets for my physics class in latex, and i'm using the enumerate environment to list problems for students. after each problem, i need to provide enough space (e.g., 2 inches) for ...
2
votes
1
answer
58
views
On Footnotes Originating within an Mdframed Environment
Consider the code:
\documentclass[12pt]{book}
\usepackage[utf8]{inputenc}
\textheight=3.75in
\let\thempfootnote\thefootnote % To get numerical footnotemark inside the box environment.
\usepackage{...
2
votes
1
answer
50
views
Trying to resume a different type of list when I've defined different enumerate lists
I've defined two new different lists, but I want to be able to resume the numeration of one in the other, the lists I've defined are:
\usepackage{enumitem}
\newlist{cuestion}{enumerate}{1}
\setlist[...
3
votes
2
answers
127
views
Keeping Enumitem Item Number within the Shadowbox
Consider the code:
\documentclass[12pt]{book}
\usepackage[margin=0.5in,paperwidth=5.5in,paperheight=8.25in]{geometry}
\usepackage{enumitem,lipsum}
\usepackage{fancybox}
\usepackage{varwidth}
\begin{...
4
votes
1
answer
46
views
More vertical space after description and enumitem?
With the following example, I would like to slightly increase the vertical spacing between the description item and the text. I did not find such option in the documentation. Is there a way?
\...
2
votes
1
answer
65
views
Text in item doesn't align properly after math mode in enumitem
while making a numbered list (I'm using the enumitem package), I noticed how my code doesn't let text be properly indented after returning from math mode. Normally, text would be properly aligned in ...
2
votes
2
answers
192
views
On Putting Parentheses Around Item Numbers with Enumitem
Consider the code (which makes use of the enumerate package):
\documentclass[12pt]{book}
\usepackage{enumerate}
%\usepackage{enumitem}
\begin{document}
\thispagestyle{empty}
\begin{enumerate}[ {(}1{)}...
2
votes
1
answer
106
views
Color an item in an enumerated list (continued; not a duplicate)
I'd like to color some (but not all) item numbers in an enumerate environment (package enumitem). I followed
an approach mentioned here, but it fails if only the item number is to be colored:
\...
2
votes
2
answers
114
views
Enumitem + color labels + multiline = bug?
In enumitem, suppose that I do style=multiline and use custom labels and then set font to be some color specification. Then the custom labels appear below the baseline. As you see, it does not happen ...
1
vote
1
answer
55
views
Indentation and text wrapping in lists
I intend to create lists where the list index is indented, but the text is flush with left and right margins, and further text wraps around the list index. Currently, this is what happens using ...
0
votes
0
answers
12
views
How to Ensure Period Appears in LaTeX List but Not in References, While Keeping Hyperref on the Entire Label? [duplicate]
I have created custom enumerated lists in LaTeX using the enumitem package, and I want the period to appear in the list but not in the references when using \ref or \cref. Additionally, I want the ...