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

learn more… | top users | synonyms

1
vote
1answer
35 views

How to avoid page breaks between the paragraphs of a description item?

Is there a way of preventing LaTeX from putting page breaks between two paragraphs of a multi-paragraph \item in a description environment? Preferably without having to put in explicit \nopagebreak ...
13
votes
2answers
159 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: ...
1
vote
1answer
18 views

Append something to the label item using enumitem?

Is there some easy way to append some code (or text) to appear directly after the label item, but before the text, in a description list using the enumitem package? Here's an example below to show ...
2
votes
2answers
51 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 ...
1
vote
2answers
29 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 ...
1
vote
1answer
21 views

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

Shared counter (between description environments) results in “undefined control sequence” [closed]

The objective is to share the counter SharedCTR1 across the description environments. The following code works with only one description environment, but not with both. \documentclass{report} ...
2
votes
4answers
59 views

Aligned \description

Code \documentclass[a4paper,twoside,12pt]{book} \usepackage[utf8]{inputenc} \begin{document} \noindent Let us define: \begin{description} \item[$C_{DEP}$] (\euro) depreciation of the machine. ...
3
votes
2answers
65 views

Indent description

I'm having problems with indenting the label of a description. Tried to define a new environment, and set leftmargin to whatever, but the label stays put. How can I achieve what I want? This is what ...
2
votes
1answer
22 views

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 using: \documentclass[conference]{IEEEtran} \usepackage{cite} ...
2
votes
2answers
77 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 ...
5
votes
1answer
59 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} ...
2
votes
1answer
61 views

Description items inside table?

I'm new to LaTeX and trying to create a resumé. I know there are alternatives like moderncv but I'd like to try creating it from scratch. I would like to have dates displayed on the left, sort of ...
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 ...
4
votes
2answers
66 views

Table inside description list

I'm trying to put a table inside a list environment but without success. I'd like to have the table inside the item (matching \linewidth) and not floating in the next page. \begin{description} ...
2
votes
1answer
74 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 ...
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 ...
1
vote
0answers
24 views

How can I make the item label in the description environment wrap? [duplicate]

\documentclass{article} \begin{document} \begin{description} \item[This is a very very very very very very very very very very very very very very long header line:] blah blah \end{description} ...
2
votes
1answer
83 views

Itemize item on new line when nested in a description

I have a itemize list within a description list. Each description defines a item and the content is an itemize list. (As per the code example below and the output at the end of this question) ...
5
votes
1answer
109 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 ...
7
votes
2answers
121 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 ...
3
votes
1answer
72 views

Prevent display math from creating a new line at the start of an item?

\begin{description} \item[xyz] \[x=y\] \end{description} x=y appears on the line below xyz, if I changed \[x=y\] to some normal text it wouldn't create the new line. How can I stop it?
3
votes
2answers
69 views

Multi-line indentation using description [duplicate]

I'm having trouble using description. I would like the separation between my label and my description to be the same distance for each item, and have each additional line also be properly indented to ...
3
votes
2answers
62 views

Description item label as part of a sentence

Are description lists appropriate for definitions where the item label is part of a sentence? \begin{description} \item[Apples] are members of the Rosaceae family. \item[Pineapples] are the only ...
2
votes
1answer
70 views

Table of Descriptions

I'd like to display a list of descriptions, similar to a TOC, LOF or LOT. How would I do this? Maybe using the tocloft-package?
1
vote
2answers
85 views

Indenting the items in description environment

I have Q & A command that indents the start of the sentence, however using description environment breaks the indentation. How can I indent the description environment? This is the source code. ...
3
votes
2answers
394 views

description begins on a new line without indent

I am using this method to write description in a new line in beamer, But how can I remove the indent at the new line so it aligns with the \item[]? This is what I have right now. ...
5
votes
1answer
470 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 ...
3
votes
1answer
103 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 ...
6
votes
1answer
254 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 ...
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 ...
5
votes
1answer
138 views

Spacing between item and description using description list

How can I get the same result as the code below without having to use \quad spacing? Is there any parameter in enumitem to adjust the horizontal spacing? \begin{description} \item{Item 1} \quad ...
1
vote
2answers
1k 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 ...
5
votes
1answer
81 views

Empty List Environment

I created commands for resume fields. This is a simplified example of the desired outcome: Currently, I have to create two separate commands to do this, one with \begin{itemize} and the other ...
3
votes
2answers
96 views

Using before as a Global setting in enumitem

I am working on a small project and am using the enumitem package reasons for beyond this example. I read the docs and managed to produce this example. Currently, I am using the before argument on the ...
2
votes
1answer
126 views

Description list looking like a glossaries list

Is there a package or something that allows me to create a list (like description) that looks like a glossaries list, where the descriptions are indented the same length? Like it is if the ...
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 ...
2
votes
1answer
113 views

How can I stop my description text from going beyond the margin

The text is going over my page. How can i fix that? \documentclass[DIV=15, paper=a4, paper=portrait, pagesize=auto]{scrartcl} \usepackage[inline]{enumitem} \usepackage[table]{xcolor} ...
3
votes
3answers
88 views

How to align all description labels with section

I am using this code \documentclass[paper=a4, paper=portrait, pagesize=auto]{scrartcl} \usepackage[inline]{enumitem} \usepackage[table]{xcolor} \definecolor{orange}{HTML}{FFC296} \begin{document} ...
2
votes
1answer
70 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} ...
3
votes
1answer
179 views

Footnote inside description

I had a very very similar problem with footnote inside mbox. My original problem started using the glossaries package, using a glossary entry inside the description environment, a minimal example is ...
4
votes
2answers
640 views

Description environment, indent first line

Is there a neat way to push the first line of an item in a description environment over to the right so that it is flush with the second line of the item? I'm trying to define a LaTeX list ...
3
votes
2answers
113 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} ...
2
votes
1answer
99 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}} % ...
1
vote
0answers
93 views

Acronyms with description environment

I have an editorial template to write a book's chapter. The publisher wants the authors to use the description environment to display acronyms. However, due to acronym's package facilities I am trying ...
4
votes
0answers
237 views

Overlapping label and text in description environment [closed]

I'm relatively new to LaTeX, and I am having this problem with the description environment: \documentclass{article} \usepackage{amsmath} \usepackage{bm} \usepackage{IEEEtrantools} \usepackage{amsthm} ...
4
votes
1answer
152 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 ...
0
votes
0answers
48 views

enumitem: newlist with description and bullet [duplicate]

I've seen quite a few questions here on how to use enumitem with descriptions and bullets. I couldn't however find a solution where they created a newlist and that's where I have my problem: I ...
10
votes
3answers
572 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
1answer
227 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 ...