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

learn more… | top users | synonyms

17
votes
4answers
5k 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.
18
votes
3answers
4k 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 ...
17
votes
5answers
17k 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 ...
20
votes
1answer
6k 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 ...
10
votes
3answers
17k 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} ...
21
votes
5answers
7k 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. ...
15
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 | ...
69
votes
5answers
39k 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
4k 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 ...
17
votes
3answers
15k 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 ...
7
votes
1answer
204 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 ...
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 ...
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 ...
9
votes
1answer
3k 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
274 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 ...
13
votes
1answer
582 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 ...
8
votes
1answer
935 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 ...
13
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 ...
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 ...
5
votes
2answers
445 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
656 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 ...
3
votes
2answers
73 views

description environment overrides font style

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 ...
2
votes
1answer
242 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 ...
27
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: ...
13
votes
1answer
2k 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 ...
15
votes
2answers
563 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: ...
2
votes
1answer
111 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
176 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
372 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 ...
4
votes
1answer
196 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
4k 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
139 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
5k 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
2k 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
84 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} ...
2
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?
14
votes
2answers
1k 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 ...
10
votes
3answers
5k 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] əəəə ...
8
votes
2answers
188 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 ...
8
votes
1answer
95 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
264 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
137 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 ...
3
votes
2answers
152 views

Optional argument to \item to appear in brackets after the counter

Usually, when you have the following document: \documentclass{article} \usepackage{enumitem} \begin{document} \begin{enumerate} \item Mary \item[had] a little \item lamb \end{enumerate} ...
3
votes
2answers
1k views

Description list using package enumitem: how to force lowercase small caps and align body text?

I'm trying to format a description list with small caps for the labels and have the body text a standard distance from the left margin. When I use capitals in the labels (in the real list they are ...
2
votes
2answers
152 views

Description list for equation's terms

I'm trying to create a custom description environment (using enumitem) so I can describe the terms of an equation. What I want is to define item labels that are defaulted to inline math mode, and also ...
2
votes
2answers
273 views

Description Environment options in LyX

The code given here can be used to adjust the items and text in description environment. I wonder how to use these options [leftmargin=!,labelwidth=\widthof{\bfseries The longest label}] with beamer ...
2
votes
1answer
143 views

hide a certain item and remove the left empty line

Is there a way to define a new command \noitem where its contents are hidden, in the same way I put in MWE? \documentclass{article} \newcommand[2]{\noitem}{\item[]{}\vspace*{-\baselineskip}} % ...