114
votes
How to create checkbox todo list?
Here is a variant of Werner's answer with checkmarks for recording progress.
\documentclass{article}
\usepackage{enumitem,amssymb}
\newlist{todolist}{itemize}{2}
\setlist[todolist]{label=$\square$}
\...
76
votes
What's the difference between the enumerate and enumitem packages?
use enumitem (I wrote enumerate)
46
votes
How do I change the `enumerate` list format to use letters instead of the default Arabic numerals?
Working example (documentation):
\documentclass[letterpaper,12pt]{article}
\usepackage{enumitem}
\begin{document}
\begin{enumerate}[label=(\alph*)]
\item one
\item two
\end{enumerate}
\...
33
votes
What's the difference between the enumerate and enumitem packages?
The enumitem package is far more flexible when compared with enumerate. The latter provides an optional argument where you can specify the item number format using a generic representation while the ...
31
votes
Can LaTeX automatically itemize a list?
You can use \read to read a text file line by line
wordlist.txt
red
orange
yellow
green
blue
indigo
violet
file.tex
\documentclass{article}
\newread\wordlist
\openin\wordlist=wordlist.txt
\begin{...
29
votes
Add bold enumerate items
This is in response to this comment by Raffi Khatchadourian on the accepted answer: "I see a problem here: this answer is redefining the numbering style completely instead of enhancing it, i.e., ...
24
votes
Accepted
How do we create a "continuous" list enumeration in LaTeX?
I suggest defining your own environment, so you can tailor it to your needs. Adding the resume option is the key.
\documentclass{article}
\usepackage{enumitem}
\newlist{points}{enumerate}{1}
\setlist[...
23
votes
A five level deep list
I realize this answer doesn't satisfy the requirement of not using itemize, but I am adding it for completeness.
Since the 5-level depth constraint also applies to itemize environments, here is an ...
22
votes
Accepted
How can I sort a list numerically?
This approach automatically orders the items by year or any other number, by using an external list on an .csv file.
\documentclass{article}
\usepackage{filecontents} % To create an external .csv file
...
21
votes
Enumerate with prime numbers
I took a different approach, not using a list of primes but, rather, using pgfmath to find the primes instead. This was fun.
\documentclass{article}
\usepackage{pgfmath}
\usepackage{enumitem}
\...
21
votes
Accepted
How to enumerate 1; 2.1; 2.2; 3?
\documentclass{article}
\renewcommand{\labelenumii}{\theenumii}
\renewcommand{\theenumii}{\theenumi.\arabic{enumii}.}
\setlength{\leftmarginii}{1.8ex}
\begin{document}
\begin{enumerate}
\item ...
20
votes
Accepted
Enumeration in powers of 2
Examples with xfp or pgfmath are shown below. Note that the enumi counter is for the outermost level, if this is a nested list you need enumii/enumiii/enumiv, depending on the level of nesting.
\...
18
votes
Accepted
How can I stop this useless empty line popping up in the middle of my lists?
The blank line you see is a misfeature of your code and hyperref making a PDF destination (when you use \refstepcounter) at that exact point.
The workaround of adding a \par after the text works ...
18
votes
Accepted
Can LaTeX automatically itemize a list?
I propose a solution using the csvsimple package.
\documentclass{article}
\usepackage{csvsimple}
\begin{filecontents}{list.csv}
religion
religious
rely
remain
\end{filecontents}
\begin{document}
\...
17
votes
Accepted
Unnecessary white space between words in latex table
The tabular environment in your document uses 3 columns of type p ("paragraph"), and the columns only 35mm wide. Lines of text in a p-type column are fully justified. As you've discovered, this can ...
15
votes
How to remove the whitespace BEFORE itemize/enumerate?
The enumitem package now provides [nosep] to suppress the space above and below lists as well as the space between items. However, this option does not suppress the space above and below the list if ...
15
votes
Enumerate with prime numbers
This answer takes Christian's excellent answer (and who deserves the credit for developing the basic structure) and tweaks it to make the input of new primes more streamlined. It uses the \getargsC ...
15
votes
Accepted
Custom enumeration list Step 1, Step 2 etc
A code with enumitem: I define a steps environment:
\documentclass{article}
\usepackage{enumitem}
\newlist{steps}{enumerate}{1}
\setlist[steps, 1]{label = Step \arabic*:}
\begin{document}
\begin{...
15
votes
Accepted
Beamer: text that looks like enumerate bullet
Here is the definition of the beamer template for an enumerated item under Rochester (taken from beamerbaseauxtemplates.sty:
\defbeamertemplate{enumerate item}{square}
{
\hbox{%
\usebeamerfont*{...
14
votes
How to create a list with numbering greek letters?
A variation of @Christian's answer which uses the fact that the chemgreek package already provides a mapping from integers to Greek letters, both for lowercase and uppercase letters. This also adds a ...
14
votes
Custom enumeration list Step 1, Step 2 etc
\documentclass{article}
\usepackage{enumerate}
\begin{document}
\begin{enumerate}[Step 1:]
\item First thing to do
\item Second thing to do
\item Third thing to do
\end{enumerate}
\end{document}
14
votes
Accepted
Is Enumerate default?
The enumerate environment is defined by the LaTeX kernel - the set of macros loaded on top of (or in addition to) the base TeX. This kernel is collected as within latex.ltx, and here's the definition ...
13
votes
Accepted
Theorem environment with a line break after label and before an enumerate environment
Why don't you simply go for something like that?
\documentclass{article}
\usepackage{amsthm}
\theoremstyle{plain}
\newtheorem{theo}{Theorem}% Regular theorem env.
\begin{document}
\begin{theo}[...
13
votes
How to left align enumerate labels at the left margin?
Use the wide= option: it automatically sets align=left and the value of labelindent
\setlist[enumerate]{wide=0pt, widest=99,leftmargin=\parindent, labelsep=*}
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
enumerate × 2345lists × 740
enumitem × 405
itemize × 248
beamer × 145
cross-referencing × 143
spacing × 117
numbering × 116
horizontal-alignment × 115
indentation × 113
tables × 103
align × 77
environments × 73
vertical-alignment × 68
multicol × 60
equations × 58
labels × 56
formatting × 53
counters × 47
theorems × 46
hyperref × 45
macros × 42
tikz-pgf × 40
math-mode × 33
margins × 32