27 votes

How to add bullets to description lists?

You can use the itemization function (https://www.sharelatex.com/learn/Lists) \begin{itemize} \item one. \item two. \item three. \end{itemize} And the output:
  • 531
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 ...
  • 3,975
14 votes
Accepted

Reduce indent in description in beamer

You can modify the indention with \setbeamersize{description width=0.57cm}, just play around to whatever value you need. \documentclass[14pt,handout]{beamer} \setbeamersize{description width=0.57cm} ...
13 votes
Accepted

How to change colon into dot in description list?

You have to redefine \descriptionlabel, nothing that enumitem is supposed to be able to do. This is the standard definition \newcommand{\descriptionlabel}[1]{% \hspace\labelsep \upshape\bfseries #1:...
  • 1.1m
12 votes

How can I sort a list numerically?

You could make use of the glossaries package as shown in the following example: \documentclass{article} \usepackage[automake, nonumberlist]{glossaries} \newglossaryentry{1912}{name={1912}, ...
  • 61.6k
10 votes
Accepted

Underlining an item

I propose this, with the help of the framed package, slightly tweaking the leftbar environment. If you don't want grey lines, it's easy to remove the colour. Using xparse, I define a \course command, ...
  • 268k
10 votes

How can I sort a list numerically?

If you prefer the solution to be as close to your syntax as possible: \documentclass{article} \usepackage{expl3} \usepackage{xparse} \usepackage{enumitem} \usepackage{xcolor} \begin{document} \...
  • 4,852
9 votes
Accepted

Redefining the item command of the description environment

In his answer, egreg has explained the problems with your current definition and a way to ammend it. However, I'd suggest you to use the nextline style for desciption offered by the enumitem package: ...
9 votes

glossaries: How to customize list of symbols with additional column for units?

Just adding to Christian's answer: to use the unit macros inside the \si{unit} command defined by siunitx such as \metre and \kilo\watt used in his MWE, one should add the command \glssetnoexpandfield{...
9 votes
Accepted

How to set leftmargin of description to width of a particular label in enumitem?

Here are two ways: \documentclass{article} \usepackage{enumitem} \usepackage{calc} \begin{document} \begin{description}[labelwidth =\widthof{\bfseries9999}, leftmargin = !] \item[1987]Something ...
  • 268k
8 votes
Accepted

Left aligned labels in descripton

As beamer does not like the package enumitem, you will have to define your own "description item". % arara: pdflatex \documentclass[handout]{beamer} \defbeamertemplate{description item}{align left}{\...
  • 43.1k
7 votes
Accepted

Automatically set description list `labelwidth` based on widest label?

Solution Here is a solution that uses the eqparbox package to measure item label widths. It avoids some of the limitations of the solution described in Gonzalo Medina's answer (see the bottom of this ...
  • 10.6k
7 votes
Accepted

line break in description label

Hide the depth of the parbox: \documentclass{beamer} \usetheme{Madrid} \mode<handout>{ \usecolortheme{seahorse} \usecolortheme{rose} } \useinnertheme{circles} \usefonttheme[mathonly]{serif} \...
7 votes
Accepted

Should I write \begin{quote} ... \end{quote} or \quote ... \endquote?

Always use the \begin \end syntax, some environments might work using the underlying commands but most will not. It also helps editors to offer syntax highlighting and context sensitive file ...
6 votes

How do I align enumerate items inside empty description?

You could also just do \begin{enumerate} \item[] \item A1. \item A2. \item A3. \end{enumerate} instead of the above. Works equally well (and looks better in my opinion).
6 votes
Accepted

Reduce the space between label and item in a description list

\documentclass[12pt]{article} \usepackage{enumitem} \begin{document} \begin{description}[labelsep=\fontdimen2\font] \item[Video recordings] arguably produced the richest part of the data set. ...
  • 45.7k
6 votes
Accepted

How to make enumerate indent like description

Just use [leftmargin=*, align=left] as your enumerate parameters. The output is identical but the values printed of the lengths are different because of the way the default description values are ...
  • 208k
6 votes

Underlining an item

Here's a way of drawing the left bar suggested by Bernard when a star is appended to the command. It requires defining new courses with \newcourse rather than \newcommand, but it involves less typing ...
  • 186k
6 votes

Why is escaped # breaking my command?

You can't generally use \# in a label, because it doesn't expand to a character. However, in this particular situation a workaround is possible: \documentclass{article} \usepackage{hyperref} \...
  • 1.1m
6 votes
Accepted

Perfect Equation Parameters Description (incl. units!)

This is basically just a tabular, so you could add another column, by inserting at the line >{$}l<{$} @{${}:\enspace{}$} X@{}. Here, I've changed the two columns into l-columns, change this to ...
  • 5,992
6 votes
Accepted

"Nestable" description environment that automatically finds the widest label width at each level?

\documentclass{article} \usepackage{enumitem} \usepackage{environ} \newlength\widest \let\saveditem\item \makeatletter \NewEnviron{ldescription}{% \dimen0=\widest \let\item\saveditem \vbox{% ...
6 votes
Accepted

A enumerate-like environment with description

Here's a solution defining a new list environment descenum with enumitem. The descenum environment is basically the same as an enumerate environment, but in this environment (and only there) the \item ...
  • 18.9k
6 votes

Translating a description environment style into a reference-able enumerate environment

Here's another approach that creates a bespoke enumerate-like environment. \documentclass[oneside,11pt]{book} \usepackage[semibold,tt=false]{libertine} \usepackage{libertinust1math} \usepackage[...
  • 469k
5 votes

How to add bullets to description lists?

You can globally redefine the \descriptionlabel[1] to whatever you want. In the case of this question, something like : \renewcommand\descriptionlabel[1]{$\bullet$ \textbf{#1}} The output The ...
  • 6,311
5 votes

Fixing wrong indentation in nested lists

You can use enumitem features, as in the following example \documentclass[a4paper]{article} \usepackage[english]{babel} \usepackage{enumitem} \title{} \date{} \begin{document} \maketitle \begin{...
5 votes

How to change colon into dot in description list?

Set the way the label is formatted using the before key (mentioned in the enumitem documentation (p 4)): \documentclass{amsart} \usepackage{enumitem} \begin{document} \begin{description} \item[abc]...
  • 584k
5 votes

Problem in using \lstinline as description item

You should not absorb the text for \lstinline as an argument too early, because this disrupts the working of the macro that needs to change category codes. A way out is to patch an internal macro ...
  • 1.1m

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