Questions tagged [description]

{description} is about the description list environment. If you use this tag, add the more general {lists} tag.

The environment is used to create "description lists," where each item is marked by a custom label. If you use this tag, add the more general tag. For bulleted lists, one uses the environment, and for numbered lists, one uses the environment.

Typically, description is used like this:

\begin{description}
    \item[Label one] The first item
    \item[Label two] The second item
    \item[Label three] (and so on...)
\end{description}

There are a few packages for customizing the appearance of the description environment.

  1. The package (package documentation) provides an interface to adjust the vertical and horizontal spacing of list items, define custom list environments, and change the format of list items.
  2. The package (package documentation) provides commands for using lists, including descriptions, compactly within paragraphs.

Frequently Asked Questions

399 questions
7
votes
2 answers

Redefining the item command of the description environment

My thesis contains many description environments. After showing it to my supervisor, he complained about the missing separation between the items titles and descriptions. I tried to redefine the \item command, to change all description environments…
5
votes
1 answer

Two line labels in the description items

I would like to have two lines for long description names in the description environment. The only help I could find is here. Where they have the following code. \begin{description} % won't work \item[first line\\second line] % won't work …
3
votes
2 answers

getting colons after every description item (not using listing package)

current output: Desc 1 Bla 1 wanted output: Desc 1: Bla 1 MWEs: current output: \documentclass[oneside,12pt]{scrartcl} \usepackage{polyglossia} \setdefaultlanguage{german} \usepackage{fontspec} \begin{document} \begin{description} \item[Desc 1]…
rapus95
  • 93
3
votes
4 answers

Hiding description part of item in description environment

How can one hide/display all descriptions in a description environment at the same time. \documentclass[]{article} \begin{document} \begin{description} \item[Keep This] Discard This \item[Keep This] Discard This \end{description} \end{document}
Henry
  • 353
3
votes
1 answer

Description environment with customized labels

Objective: Change font style, in this case removing bold; Customize the text into Page <$my_text>.; and Do this for a single description environment, I don't want to change the other ones. To remove the bold I use font=\normalfont which seems to…
2
votes
1 answer

Descriptions is written overtop the text

Its the first time to use description but there the description overlay the text as shown here this is the script I'm…
Tak
  • 2,346
  • 4
  • 20
  • 33
1
vote
2 answers

Re-Defining Description environment to only show label, not content

I'd like to re-define the description environment so that it only shows the label of each item in it. So I'd like the following code \begin{description} \item [Truth] A sentence is true iff it expresses a true proposition. \end{description} To…
Bernhard
  • 1,248
1
vote
2 answers

Spacing not working in description environment

I have done this before but for some reason it's not working in my current file. \begin{description}[largest] \item[small] Foo \item[largest] Foobar \end{description} This above code give the error package enumitem error: largest undefined
Faustus
  • 152
1
vote
1 answer

LaTeX Error: Something's wrong--perhaps a missing \item when using {description}

The following section of my code is producing the following error ! LaTeX Error: Something's wrong--perhaps a missing \item., but is still producing a PDF with the output I desire. The program I am using, Texmaker, will move the cursor to the second…
pudbaj
  • 31
1
vote
1 answer

Control the description environment item

I have a very long description item to break the page boundary. How can I control the item? For example, how to make the "Very long ... Description" becomes two lines? \documentclass[12pt]{article} \begin{document} \begin{description} …
prosseek
  • 6,033
1
vote
2 answers

Description list - How to put the whole paragraph in the same start line?

I have the following LaTeX code: \documentclass{article} \begin{document} \begin{description} \item[a)] Perhaps the single most commonly used application is the measurement of vibration modes in order to compare these with corresponding…
S_25
  • 159
0
votes
1 answer

By using the \begin{description} make the labels start on the same line

I want to make list od description by using \begin{description} and align the long label on the same starting point. \begin{description}[leftmargin= 1.27cm, labelwidth=6cm] \item[h_{\mathrm{obs}_i}] : the cleaned and corrected ISSH measurements…
Jisika
  • 103
0
votes
0 answers

Automatically sort the entries in a description environment alphabetically

I want to automatically sort the entries in a description environment alphabetically. I see examples of lists being sorted alphabetically, but I am unable to adapt those examples to work for descriptions. An example of a description list I want to…
0
votes
1 answer

Using Description Environment Titles

This is related to the question asked in Using Description environment with cleveref. I wonder if there is a clean solution to reuse titles of items in the description. E.g. given the following piece of latex: \begin{description} …
0
votes
2 answers

How to go to the next line in a begin description

How can I make it so that when a line gets too long it goes to the next line?
medihde
  • 79
1
2