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

learn more… | top users | synonyms

55
votes
5answers
29k 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: ...
23
votes
3answers
818 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: ...
18
votes
5answers
6k 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
5answers
14k 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 ...
15
votes
3answers
2k 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 ...
15
votes
2answers
2k 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 ...
15
votes
1answer
3k 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 | ...
14
votes
3answers
10k 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 ...
14
votes
1answer
2k 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 ...
13
votes
4answers
3k 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.
13
votes
2answers
147 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: ...
11
votes
1answer
363 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
3answers
571 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 ...
10
votes
2answers
840 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
1answer
764 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
70 views

Automatically number a word in description if used at least twice

I defined an environment with description which automatically numbers the bold words if they appear twice or more often in an \item[]. So far it works fine, but I cannot add a 1 to the first word, if ...
9
votes
3answers
3k 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
2answers
2k 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 ...
9
votes
3answers
8k 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} ...
8
votes
2answers
21k views

How to add bullets to description lists?

I would like to add a bullet in front of every \item[], i.e. Hello, \begin{description} \item[bla] blubb \end{description} becomes Hello, bla blubb I quickly found how to remove them ...
8
votes
1answer
707 views

Using \lstinline inside a \item

I know about the fragility of verbatim-like commands, and that they should not be used as an argument of another macro, but a need to write a description environment in which the terms to be defined ...
8
votes
1answer
2k 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 ...
8
votes
1answer
2k 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} ...
7
votes
4answers
12k views

Indenting description lists

Is there a way to chenge how the description lists are indented? I have something like: Normal text List item List Item I would like something like: Normal text List item List Item
7
votes
3answers
2k 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 ...
7
votes
1answer
1k 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 ...
7
votes
1answer
818 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
2answers
119 views

Blank line occurring between description term and itemize list when using style=nextline

In my Sphinx project, I have description lists that start with either a paragraph or a list. Since I want the description term to be on its own line, I use enumitem with {style=nextline}. The problem ...
7
votes
1answer
52 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 ...
7
votes
3answers
240 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 ...
7
votes
1answer
373 views

Aligining item descriptions

I am trying to make my description list with same margin as my formulas (made with fleqn option - \usepackage[fleqn]{mathtools}). I was able to make it with labelindent option of the description ...
7
votes
1answer
226 views

labelsep in enumitem: stretch ignored

As the title says: labelsep setting in the enumitem package ignores the stretch part. I would be happy to have a stretch there (in the end actually the current font's interword stretch achieved by ...
6
votes
2answers
215 views

renewcommand for description

I have a document with many \description environments. All of them are defined like this: \begin{description}[leftmargin=2.5cm,style=sameline] \item[\texttt{foo}] bar ...
6
votes
1answer
585 views

Indenting multiple paragraphs in description

I am trying to put multiple paragraphs in a description, where the body text is indented by one \parindent, and I want to indent the second paragraph by one \parindent relative to the body text ...
6
votes
1answer
251 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
176 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 ...
6
votes
1answer
52 views

Math accents and Greek letters in glossary name (equation description)

I have many equations, where I need to use special characters \dot \bar and Greek letters like \tau. In the equation everything works nice but when I try to write the description \mathgloss I receive ...
5
votes
2answers
679 views

Redefine environment to be a synonym for another

I have a document with many description environments. I would like to change all these description environments to LaTeXdescription environments, without manually changing all the occurrences of ...
5
votes
2answers
167 views

Table align in description environment

Why table doesn't align as a text in description environment? I want it has same left indent and width as text. Is that possible? \documentclass[a4paper,oneside]{book} \usepackage[paper=a4paper, ...
5
votes
3answers
756 views

item formatting in description list

How can I get this to work: \begin{description} \item[\texttt{foo :: a \rightarrow b}] bla \end{description} without having to write: \begin{description} ...
5
votes
2answers
1k views

Beamer-like description environment

Where can I find the definition of the description environment available in beamer? I'd like to replicate it for my own needs in an article-oriented document. I'm interested in its right-left ...
5
votes
2answers
235 views

uniform indent on description

I have a description like below. The main issue is if the text is to long it runs underneath the beginning. \begin{description} \item[Languages:] C, C++,Python, Ruby, Shell Scripting (Bash), ...
5
votes
1answer
636 views

Lower case of the small caps in description

I would to use the normal small caps with the item in description in order to distinguish lower from upper case (e.g. LaTeX). In particular: \begin{description} \item[I cAn't DiStiNguISH upPeR fROm ...
5
votes
1answer
58 views

Having item labels in a description environment start with a paragraph indent

How can I make the item labels of a description environment start with a paragraph indent? I mean that they should be indented like this: \documentclass{article} \begin{document} ...
5
votes
1answer
354 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 ...
5
votes
1answer
110 views

Description list with item and body in separate columns

I try to achieve the following layout with a description list Item1 Description of the item where wrapping aligns like this. Should also handle itemize environment in the description ...
5
votes
1answer
103 views

description environment with italic, non bold labels, bullets and normal font in the description

I think I am lost in something very easy with the enumitem package. I would like a description environment where the label is in italics and the description in normal text. I tried this ...
5
votes
1answer
246 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 ...
5
votes
1answer
467 views

Remove the space above/below itemizes and descriptions

In the document below an itemize is nested in a description and I want to have no vertical space between the entries. I removed the space above and below of itemizes and descriptions using ...
5
votes
2answers
895 views

How can I fix verbatim causing an extra newline inside a description list environment?

I'm trying to create a documentation listing similar to that used by MSDN. Here was my first attempt at that: \subsubsection{User Default Page URL} \begin{description} \item[Rationale] This is the ...