Skip to main content
123 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$} \...
Joe Corneli's user avatar
  • 4,360
86 votes

What's the difference between the enumerate and enumitem packages?

use enumitem (I wrote enumerate)
David Carlisle's user avatar
34 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 ...
Werner's user avatar
  • 607k
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{...
David Carlisle's user avatar
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., ...
Chill2Macht's user avatar
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[...
egreg's user avatar
  • 1.1m
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 ...
Cragfelt's user avatar
  • 4,015
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 ...
Zarko's user avatar
  • 300k
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. \...
Torbjørn T.'s user avatar
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 ...
Phelype Oleinik's user avatar
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} \...
Sam's user avatar
  • 3,008
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 ...
Mico's user avatar
  • 514k
16 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 ...
Peter Flynn's user avatar
  • 2,910
16 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{...
Bernard's user avatar
  • 273k
15 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}
gernot's user avatar
  • 50k
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*{...
Werner's user avatar
  • 607k
15 votes

Upright letters in enumeration are not set justified

enumitem provides the align key, which you can set to left to have the enumeration left-aligned. However, this may require some adjustment of the other horizontal list measurements as well. The ...
Werner's user avatar
  • 607k
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 ...
Werner's user avatar
  • 607k
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=*}
Bernard's user avatar
  • 273k
13 votes
Accepted

Label of enumerate as a math environment with number "1" in subscript

Use \bgroup and \egroup: \documentclass{article} \usepackage{enumerate} \begin{document} \begin{enumerate}[$f_\bgroup1\egroup:x\mapsto$] \item $x$ \item $x^2$ \item $x^3$ \item $x^4$ \item $x^5$ \...
Hood Chatham's user avatar
  • 5,507
13 votes
Accepted

How to mix itemized and enumerate items in the same list?

No packages needed really (though enumitem is the package to tame lists). Use enumerate, which will do the numbering for you, then use \item[\textbullet] to force a bullet, \item[] to have nothing, ...
Phelype Oleinik's user avatar
13 votes
Accepted

How to set circled enumerate with different colours connected with lines

I propose a solution based on tcolorbox; the enumerate environment is modified into lenumerate which takes two arguments: the color and the distance from the text left margin to the vertical segment ...
Daniel N's user avatar
  • 6,142
12 votes

How do I change the `enumerate` list format to use letters instead of the default Arabic numerals?

I was able to solve the problem with enumitem package. From the documentation of enumitem: \usepackage{enumitem} % if you want to create a new list from scratch \newlist{alphalist}{enumerate}{1} % ...
Doğukan Çağatay's user avatar
12 votes

How do I change the `enumerate` list format to use letters instead of the default Arabic numerals?

A solution with the package tasks by Clemens Niederberger (see also a more complete example at How to make horizontal lists? \documentclass{article} \usepackage{tasks} \begin{document} \bfseries ...
SDrolet's user avatar
  • 4,998
12 votes

How to let enumeration start at (0) automatically?

You can also achieve it locally within the environment by using: \setcounter{enumi}{-1} % arara: pdflatex: {synctex: yes, action: nonstopmode} \documentclass{article} \usepackage{enumerate} \...
J Leon V.'s user avatar
  • 12.8k
12 votes
Accepted

Resuming a list in lyx

First, go to Document --> Settings --> Modules, add the Customisable lists (enumitem) module: For LyX 2.3+ After adding the module, you can use the Enumerate-Resume layout. This will resume ...
Torbjørn T.'s user avatar
12 votes

How do I change the labels of enumerate?

I wanted to point that, while redefining \theenumi is fine in most cases, the situation can be more complex if the counter is prefixed with a longer text, as by default the label of an enumerate ...
Bernard's user avatar
  • 273k

Only top scored, non community-wiki answers of a minimum length are eligible