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

learn more… | top users | synonyms

2
votes
4answers
106 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
130 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
60 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
199 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
147 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
109 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
109 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
93 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} ...
4
votes
1answer
147 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 ...
8
votes
1answer
77 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 ...
2
votes
0answers
28 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} ...
3
votes
1answer
289 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) ...
6
votes
1answer
1k 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
212 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
91 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
108 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
100 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
85 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
111 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. ...
4
votes
2answers
828 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
878 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
129 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 ...
8
votes
1answer
625 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
307 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
863 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 ...
2
votes
3answers
4k 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
130 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
176 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
159 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
77 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
140 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
132 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
81 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
338 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
1k 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
135 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
125 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
117 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
416 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
179 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
49 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 ...
11
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 ...
7
votes
1answer
312 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 ...
10
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 ...
13
votes
2answers
1k 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 ...
2
votes
2answers
190 views

Properly align text in description

I need to illustrate cases, that is why I am using the description environment: \begin{description} \item[Caso 1] Esiste una computazione $s_1, s_2, \ldots, s_k$ di $\mathcal P$ che comincia con ...
5
votes
2answers
305 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), ...
1
vote
2answers
257 views

Minipage for two descriptions

I am attempting to use minipage to put two descriptions side by side. I have successfully used minipages for figures and tables, but for some reason this one won't work. Here is the code. ...
1
vote
2answers
164 views

Macro to format text

Good morning, I have the following problem, I have a file with 8000 questions in the following format: COD: 7 ¿A qué número de revoluciones se alcanza la potencia máxima de un motor? A Al número de ...
6
votes
1answer
233 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 ...