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$} \...
Joe Corneli's user avatar
  • 4,260
76 votes

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

use enumitem (I wrote enumerate)
David Carlisle's user avatar
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} \...
auraham's user avatar
  • 561
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 ...
Werner's user avatar
  • 595k
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
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 ...
Mark's user avatar
  • 1,825
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,005
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} \...
sgmoye's user avatar
  • 8,202
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
  • 290k
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
  • 2,908
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
  • 491k
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 ...
Peter Flynn's user avatar
  • 2,821
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 ...
Steven B. Segletes's user avatar
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{...
Bernard's user avatar
  • 270k
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
  • 595k
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 ...
cgnieder's user avatar
  • 66.2k
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}
gernot's user avatar
  • 48.3k
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
  • 595k
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}[...
Clément's user avatar
  • 5,213
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
  • 270k

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