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

learn more… | top users | synonyms

20
votes
4answers
6k views

Description-like environment with fixed labels width

Which is the right way to do something like 'description' list but with customizable and fixed-width labels? I.e. something like this: Label: Text text text text text text text ...
18
votes
4answers
6k views

Enumerated description list

How can a list be created, whose items are both enumerated (a,b,c,d,...) and allow for setting a description via \item[texthere] ? Im am using MikTex on Windows.
25
votes
1answer
9k views

Description list with aligned descriptions

This forum thread is exactly what I'm looking for. I want my description environment to produce this: Label is long text lab2 blalballalaa label3 possible second rule label ...
20
votes
5answers
20k views

Change hanging indent in description list

I'm trying to get a description's list hanging indent to lie flush with the first line of text. I have a description list such as the following: \begin{description} \item[Label the first] Lorem ...
21
votes
3answers
18k views

Reference name of description list item in LaTeX

(Repost from Stack Overflow) I'd like to refer to a description list item by name instead of number. To that effect, I've added labels to each item, but when referencing them I only get the name of ...
18
votes
2answers
841 views

How to align `tcolorbox` at the top?

I want to align Some text with Lead Programmer like this: But the leftrulebox (a tcolorbox) inside the description environment doesn't align properly. The following code gives this: The code: ...
12
votes
4answers
22k views

Add bullet points to description lists

I'd like to add a bullet point to description lists. \begin{description} \item[Term] Description \end{description} Basically what I want looks like the following, when rendered: \begin{itemize} ...
7
votes
1answer
322 views

Make the lines of a description item line up

I am trying to line up the lines of a single description item. When I introduce a line-break or when the line becomes to long, the new line isn't lined up with the first one. I'm aware of the fact ...
24
votes
5answers
8k views

How does one set custom labels for description lists?

Every now and then I use the description list environment \begin{description} \item[foo] foo is good \item[bar] bar is bad \end{description} to create lists with non-numerical labels. ...
16
votes
1answer
5k views

Description list with right alignment of labels

I want a description list that looks like the following: Name | Joel Spolsky Address | Some address Some zipcode Telephone | +31 123 456 E-Mail | ...
4
votes
2answers
194 views

Small Caps in Description Label?

The description environment allows an optional heading, like \item [<heading>] text, to be used. By default this makes the text <heading> bold. I'm having the issue that this style of ...
79
votes
5answers
47k views

Description list - How to put the definition on a new line?

I have the following LaTeX code: \documentclass{article} \begin{document} \begin{description} \item[foo] bar \item[baz] bang \end{description} \end{document} and it produces the following PDF: ...
11
votes
2answers
6k views

Dealing with long description environment items

I have quite a lot of description environments in Beamer that are having both long and short items, leading to an output like veryverylongitem description 1 shortitem description 2 which is not ...
18
votes
2answers
2k views

Wrong line break in description environment after a long label

I encountered an issue with my description environments: If I use a label that almost is as long as the text width, the explanatory text afterwards is not wrapped correctly. I am using the mdwlist ...
18
votes
2answers
3k views

Verbatim description list item

How do I make an item in a description list verbatim? \verb in \item[] seems to be not allowed: \begin{description} \item[\verb+list comprehension [f a | a <- M a]+] bla bla bla ...
14
votes
1answer
699 views

How to change symbol separating description item definitions with enumitem

I'm trying to alter the description environment with enumitem so that an item will be separated from its description by a dash rather than a colon. Having searched the documentation and this forum, I ...
10
votes
1answer
2k views

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

How do I create a description list where the item text is automatically indented to the width of the widest label? This is the same question as Description list with aligned descriptions but I would ...
6
votes
1answer
2k views

How to prevent pagebreak in description environment

I have a simple List in the description Environment. \begin{description} \item [item] number one \item [item] number two \end{description} there is a new new page between the first item and the ...
30
votes
3answers
2k views

Footnote to an item in a description environment

It seems like it's not possible to put footnote inside a description list item. For example in the following code first footnote appears at the bottom of the page, but the second - doesn't: ...
9
votes
1answer
4k views

Automatically number a description list [duplicate]

Possible Duplicate: Enumerated description list I would basically like to produce some kind of combination of an enumerate and a description environment. Manually \begin{description} ...
5
votes
1answer
451 views

Numbered description list with dot leaders?

The problem: I would like to create checklists for an aircraft. What I'm looking for is a way to create numbered descriptive lists with dot leaders. Essentially, I want this, with numbers. The ...
11
votes
3answers
5k views

linebreak in description title

In my document I have a description environment. One of the titles in the description is too long to fit in one line and I want to break it. I know this is a bad styling but I can't think of any way ...
14
votes
3answers
1k views

force long text inside \item[{\texttt{}] to wrap

I have a LaTeX document that is automatically generated and then inserted as part of my own larger document with \input. This other document has a description environment for examples, one item for ...
11
votes
3answers
7k views

enumitem package and description lists

Why does the following generate an error? \documentclass{article} \usepackage{enumitem} \begin{document} \begin{description}[label=\emph{\alph*})] \item [aaa] bbbb \item [eee] əəəə ...
9
votes
1answer
2k views

How can I have a smaller indentation in description with IEEEtran?

I'd like to use a description environment together with the IEEEtran document class. One of the labels is actually quite long (three words) so I need to use \IEEEsetlabelwidth to avoid having the ...
8
votes
2answers
352 views

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 ...
7
votes
1answer
1k views

How do I align enumerate items inside empty description?

I have an enumerate list inside an empty description item. The minimal file is, \documentclass[11pt]{article} \begin{document} \begin{description} \item [A Label:] \begin{enumerate} \item A1. ...
5
votes
2answers
521 views

beamer definition-list overlay: uncover definition later than entry

For educational purposes, I would like to uncover the definitions of my description items only after all the items themselves have been uncovered, like so: \documentclass{beamer} \begin{document} ...
5
votes
1answer
749 views

Beamer and description environment text size

Is it possible to define a the description environment size like it its possible with itemize and enumerate? \setbeamerfont{itemize/enumerate body}{size=\small} \setbeamerfont{itemize/enumerate ...
2
votes
1answer
127 views

How can I label / reference description items that contain macros by name?

This question is related to Reference name of description list item in LaTeX, because that is the same as what I am doing. The answer provided there works in most cases, but I found a case where it ...
2
votes
1answer
258 views

How to set the width of the label of a description to the width of a string of text in ConTeXt?

I am using \startdesc{} to create a label and description environment, e.g.: \startdesc{(label)} This is some text in a sentence. \stopdesc \startdesc{(another label)} This is some more text ...
16
votes
1answer
3k views

right description list LaTeX beamer

How to do right align a description list using beamer? Name | Joel Spolsky Address | Some address Using the enumitem package as suggested in Description list with right alignment of ...
10
votes
1answer
3k views

Defining my own description environment

I need help writing my own description environment. The only thing I want to change is the appearance of description label. I can achieve what I want universally just fine with the following bit in ...
2
votes
2answers
423 views

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

I want to add an additional column to the list of symbols for inserting the belonging units to the preceding variables. In my case, it is necessary to use three different and independent ...
3
votes
3answers
2k views

Labels of list items CAPITALIZED + bold style

Is there a possibility to make the labels of description list items always appear CAPITALIZED and bold?
2
votes
1answer
171 views

Correct indenting in a description environment [duplicate]

I would like to create a description enumeration which looks like the following: keyword 1: Short Description of the keyword A characterization of the keyword keyword 2: Short Description ...
9
votes
1answer
222 views

show “continued” for nested description list item on page break

I'm using enumitem to create a description list. These lists can sometimes be nested and can get very long. When a list item with a lot of description text breaks over a page it is difficult to ...
9
votes
1answer
2k views

How to escape “]” in a description's item tag?

In a description like \begin{description} \item[\texttt{DoSomething(items[])}:] ... \end{description} , how do I escape the "]" character?
7
votes
3answers
433 views

How can I prevent the next paragraph from overwriting the image of a description label?

LaTeX code generated from MarkDown by Pandoc: \documentclass{article} \usepackage{mwe} \makeatletter \def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth \else\Gin@nat@width\fi} \makeatother ...
5
votes
1answer
427 views

Description environment redefined

I use the Latex templates from Springer for a project, and to my surprise, the description environment doesn't work correctly - the item labels are not bold. I don't know where this is customized in ...
4
votes
1answer
223 views

Creating an enumerate-description style environment

I've been trying to create a list environment to produce something that does the following: It has a counter (like the enumerate environment). The first line of each item is an overview of the item ...
4
votes
1answer
5k views

How to align description item labels on the right?

I have seen description-list-with-right-alignment-of-labels that explains, how to align description labels on the right. However the presented solution sets the lengths globally whereas I look for a ...
3
votes
1answer
151 views

How can I redefine a list item to normal text in order to enable proper wrapping?

Consider the following LaTeX code, the bottom half of which was generated from MarkDown by Pandoc. \documentclass{article} \usepackage{mwe} \makeatletter ...
3
votes
3answers
7k views

No indent in description list

I have the following text in LaTeX: I want that the second sentence of item A starts below the first word of the first sentence (So 'It is raw...' is outlined with 'Data are facts...'). I have ...
3
votes
2answers
3k views

Wrapfigure not wrapping a description list

I want to write my CV in LaTeX. I would like to wrap the figure of my photo with the text that describe my personal information. I would like to wrapfigure with a description text. I'm using the ...
2
votes
1answer
86 views

How can I make the items aligned in section?

I have this code \documentclass[paper=a4, paper=portrait, pagesize=auto]{scrartcl} \usepackage[inline]{enumitem} \setlist[enumerate,1]{label=\textit{\alph*)}} \usepackage[table]{xcolor} ...
8
votes
1answer
128 views

Beamer: displaying all labels in description environment, then descriptions sequentially

In beamer, I'd like to display all the labels in a description environment at once, then fill in the descriptions sequentially. I want the labels to be positioned correctly on the first slide, with ...
6
votes
1answer
334 views

description environment missing in bioinfo class

Usually in my articles for the \documentclass[journal]{IEEEtran}, I use the description environment without getting any error, i.e. \begin{description} … \end{description}. However, when I used the ...
4
votes
1answer
85 views

ConTeXt: How do I get multi-level descriptions? The contextgarden example does not work

The following contextgarden example from http://wiki.contextgarden.net/Description to produce a two-level description using ConTeXt doesn't work for me. The resulting pdf is as if all four items form ...
4
votes
1answer
160 views

More on dealing with long description environment items in beamer

This is a follow-up question to Dealing with long description environment items Gonzalo Medina was very helpfully resolving an issue I had with his solution to Dealing with long description ...