Questions tagged [description]

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

Filter by
Sorted by
Tagged with
14
votes
2answers
16k 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 glossary-...
29
votes
5answers
22k 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 ...
27
votes
5answers
14k 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.
27
votes
2answers
8k 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 ...
34
votes
3answers
28k 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 ...
30
votes
5answers
29k 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 ...
47
votes
2answers
27k 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
1answer
8k 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 | email@...
27
votes
6answers
11k views

How to cross-reference items in 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. ...
19
votes
4answers
44k 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} ...
4
votes
2answers
3k 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 ...
134
votes
7answers
138k 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: ...
18
votes
2answers
17k 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
3k 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: \...
8
votes
2answers
1k 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 ...
14
votes
3answers
12k 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 ...
5
votes
1answer
3k views

beamer: allowframebreaks option and vertical spacing when using lists (itemize, enumerate, ...)

When you use the allowframebreaks option in beamer then you get additional frames if the content is too high for one frame. The vertical spacing gets disturbed when you use a list (itemize, enumerate, ...
17
votes
3answers
32k views

enumitem package and description lists [duplicate]

Why does the following generate an error? \documentclass{article} \usepackage{enumitem} \begin{document} \begin{description}[label=\emph{\alph*})] \item [aaa] bbbb \item [eee] əəəə \end{...
39
votes
3answers
6k 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: \...
30
votes
1answer
8k 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 ...
21
votes
2answers
6k 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 \end{...
16
votes
2answers
3k 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 ...
7
votes
3answers
1k 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
3k 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 ...
2
votes
3answers
2k views

Line break after description label

How can I ger a line break after the label of a description environment item? I'd like to keep the indentation and the bold face for the item label, but I'd like to have the body of the item in a ...
14
votes
3answers
3k 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 ...
7
votes
2answers
2k 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 ...
5
votes
1answer
704 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 ...
36
votes
4answers
67k views

Indenting description lists

Is there a way to change how 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
10
votes
1answer
8k 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} \item[1. ...
10
votes
3answers
21k 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 search ...
21
votes
2answers
3k 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 ...
7
votes
1answer
9k 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 ...
5
votes
1answer
987 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 Code: ...
13
votes
1answer
5k 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 ...
10
votes
3answers
2k 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. \...
9
votes
1answer
521 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 ...
2
votes
1answer
443 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 ...
5
votes
1answer
1k 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 ...
0
votes
1answer
627 views

How to create a enumerate list adding a custom prefix before each item number?

I found this question Adding some common text to enumerated description lists to be the closest: \documentclass{scrbook} \usepackage{enumitem} \newcounter{descriptcount} \newlist{enumdescript}{...
16
votes
2answers
9k 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 ...
10
votes
1answer
4k 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 ...
4
votes
4answers
4k 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?
4
votes
1answer
4k views

Disable automatic indenting on description items

Here's the default functionality for description items: With this code \begin{description} \item Lorem ipsum... \end{description} Is there any way to make this flush all along the left side ...
21
votes
1answer
17k 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 \...
14
votes
1answer
2k 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 ...
13
votes
1answer
6k 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?
8
votes
2answers
3k views

Force itemize inside description onto a new line

I have an itemize inside a description, like this: \documentclass[]{article} \usepackage[vmargin=1in,hmargin=1in]{geometry} \usepackage{enumitem} \setlist[description]{style=nextline} \begin{...
8
votes
1answer
197 views

Why conflict between mathtools and Gonzalo's solution for auto-adjusting description environment?

Gonzalo Medina provided a nifty solution to "Automatically set description list labelwidth based on widest label?." (The goal was to define a description environment where the item text is ...
7
votes
1answer
2k 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 \vskip-\...