Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [description]

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

2
votes
2answers
26 views

How to align enumerate environment inside description environment

I'd like to know how to align the enumerate list nested inside the description by the vertical black line as shown in the picture. \begin{document} \begin{description}\item[Description] \...
1
vote
1answer
25 views

paracol description list wrap title

I am writing a bilingual glossary using paracol, but I have two questions about it. First, when using the "description" list, items with a long name do not wrap onto lines. Second, when I have two ...
1
vote
1answer
22 views

end description item with a dot

Consider this example: \documentclass{report} \begin{document} \begin{description} \item[it 1] description 1 \item[ittt 2] description 2 \end{description} \end{document} which renders: Is there a ...
1
vote
2answers
30 views

Spacing not working in description environment

I have done this before but for some reason it's not working in my current file. \begin{description}[largest] \item[small] Foo \item[largest] Foobar \end{description} This above code give the ...
0
votes
1answer
75 views

itrans in description environment

I am using the itrans package to obtain IAST Romanized Sanskrit. I want to generate a list of word-meanings using the description environment. My MWE is as follows: \documentclass[11pt,a4paper,...
2
votes
1answer
21 views

How to reduce the spacing between labels and text in an inline description?

I'm using the option inline of the enumitem package to create lists inline. The numbered lists are perfects, however, the descriptions produces a lot of withe space between the label and the text. ...
1
vote
1answer
19 views

How to change the alignment of the label and the description inside the description environment?

I like a particular description alignment: The label aligned to the right The description aligned to the left In LaTeX I have been doing it manually, so I'd like to configure the description ...
0
votes
1answer
54 views

Enumerate indentation without items

In my document I have a number of questions, some with enumerable items and others with no items. I would like the body of each question to have similar margins regardless of contents. My current ...
0
votes
0answers
22 views

TeXstudio or TeXlive gives wrong package description

I just started using LaTeX with these softwares but when i want to read package or tools description it gives me wrong ones for almost every description, only some are right (textheight and textwidth ...
3
votes
1answer
77 views

Add a space between the word and the colon in description

In French, colons are always placed after an unbreakable space. However, babel does not implement this rule. How to correct that? \documentclass{amsart} \usepackage[french]{babel} \begin{document} ...
2
votes
1answer
46 views

Two line labels in the description items

I would like to have two lines for long description names in the description environment. The only help I could find is here. Where they have the following code. \begin{description} % won't work ...
1
vote
1answer
39 views

How to set hanging indent of a description list

Please see the following MWE: \documentclass{beamer} \begin{document} \begin{frame} \frametitle{Postopki sodostopa do prenosnega medija} %---------------------------------------------------------...
7
votes
1answer
111 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 ...
5
votes
2answers
41 views

How do I get this descriptive list aligned nicely?

I have worked out an exercise consisting of multiple parts in LaTeX, as a descriptive list consisting of part a, b and c. However, it aligns in a very weird way and I can't get it to look better. Is ...
1
vote
1answer
21 views

text formatting fails in \item[]

Consider this script: \documentclass{article} \begin{document} \begin{description} \item[\textsc{Point} A] description of \textsc{Point} A. \end{description} \end{document} The output is As can be ...
0
votes
2answers
55 views

\noindent inside a command not working

i looked a lot for a solution to my problem but i don´t seem to be able to find one. Here is the summary: in my document I have a custom command for a description and i would like this description to ...
2
votes
1answer
93 views

Hanging indent on item in description list with enumitem

With enumitem, how can I get the single item in the oneproperty description list to have a hanging indent, just like the items in the propertylist enumerate list? \documentclass{memoir} \usepackage{...
2
votes
1answer
38 views

Description environment within footnote

Using a description within a footnote puts a line break after the footnote number instead of starting in the same line. MWE \documentclass[a4paper, 11pt, oneside, draft]{Report} \begin{document} ...
0
votes
2answers
61 views

How to tab within the description of a description list?

Is there an easy solution to bring all paths after the HTTP method on the same vertical line? \begin{description} \item[\texttt{GET \quad/}] Test \item[\texttt{GET /users/sign\_in}] Test \...
3
votes
2answers
52 views

\qedhere warning in description in proof

When I design my iff-proof as follows, I get this warning: The \qedhere command may not work correctly here Is there any way to fix this warning, since the result looks fine, or accomplish this ...
1
vote
0answers
37 views

Sorting a description [duplicate]

I want to sort a description list in an alphabetical order. \documentclass{article} \begin{document} \begin{description} \item[bb] \hfill \\ something bb \item[aa] \hfill \\ something aa \item[...
4
votes
2answers
72 views

placing \lstinline{} in a desription list

I'm using Overleaf. Placing a \lstinline{mytext} inside a description list gives a garbled output. Here is the code: \begin{description} \item [\lstinline{one}] \item [\lstinline{two}] \...
3
votes
1answer
80 views

Underlined labels in the description environment

How can the description environment be modified so that it uses underlined labels instead of the default bold texts? It would be better if I can do that globally not just for one time.
1
vote
1answer
75 views

Removing additional right hand side margins of lists items

I use xepersian package for my thesis. I have some nested descriptions and enumerates. Is it possible to remove right margins of items? I have used enumitem package, but using ‎\begin{enumerate}[...
2
votes
1answer
68 views

How can I force labels in `description` environment to stay within the margins?

The labels in description exceed the margin by default. I tried using labelwidth=\widthof{Described Item} + 2.5\labelsep and it works well. However, I would like description to handle the alignments ...
0
votes
0answers
62 views

Tikzposter and horizontal spacing issues with itemize and descriptive list

I start with posting the smallest segment of code I was able to create for reproducing this problem: \documentclass[usenames,dvipsnames,a0paper, subcolspace = 3 mm, colspace = 3 mm, landscape, ...
1
vote
1answer
100 views

\protect vs \texorpdfstring in description lists' keys

I'm referring to chapters and sections in a description list. I want the link to include the chapter or section part as well. I found two options to achieve this: use \protect or use \texorpdfstring. ...
0
votes
1answer
39 views

Description list of bullet points with less margin

I am using the following \begin{description}[font=\textendash\enskip\scshape\bfseries] \item [ item1] blabla \item [ item2] bla2bla2 \end{description} but I want less margin between 2 items. I found ...
1
vote
1answer
48 views

Wrong alignment in description

when i use this command: \begin{description} \item[label1] text1 \item[label2] text2 \end{description} If text1 or text2 are longer then one line the second line (for example of text1) is ...
0
votes
1answer
30 views

Description list in beamer tableofcontents

I know that i can turn the table of contents in a beamer presentation from a numbered list to a bullet list by adding \setbeamertemplate{section in toc}[ball unnumbered] to the preamble. But how can ...
2
votes
1answer
55 views

description list (of math) with one item not in bold

I have a list of some math items, and I would like one not be bold, but next nonetheless. I.e. in this list I want FOOD and DOOD to be in regular text, \documentclass{book} \begin{document} \begin{...
4
votes
1answer
93 views

Acronyms list indentation

I'm writing a acronyms list using acro package and \printacronyms to print a list of acronyms, but some of my acronyms are a bit long and their are getting over the description, so I wanted to add a ...
2
votes
0answers
75 views

How do I define and link to a labelled list?

I want to define a labeled list and refer to the items by name, with hyperlinks. My first thought was to use the description environment, put a \label in each item and retrieve the values with \...
1
vote
0answers
33 views

How do I write a labelede list with cross references to the list items?

I would like to write a labeled list and refer to items in it from elsewhere in the document. My first thought was to use the description environment and the \label tag, but that doesn't seem to work. ...
1
vote
1answer
121 views

LaTeX Error: Something's wrong--perhaps a missing \item when using {description}

The following section of my code is producing the following error ! LaTeX Error: Something's wrong--perhaps a missing \item., but is still producing a PDF with the output I desire. The program I am ...
2
votes
1answer
48 views

escaping brackets in description environment

i didn't find a working solution to escape brackets [ ] inside a description. \begin{description} \item[\$ chmod [options] mode \textless filename \textgreater] change filepermissions: chmod -v u+rwx ...
1
vote
1answer
45 views

Description environment in a frame

A beamer document is not compiling, I couldn't find why; here is a MWE \documentclass{beamer} \usetheme{Berlin} %\usecolortheme{whale} \usepackage[spanish]{babel} \usepackage[utf8]{...
4
votes
3answers
75 views

Hot to use empty item in description environment?

I am using the description environment to give some extra reasons for the items. However, some items are obvious and don't need reasons. Leaving them empty puts a large blank line, because I have set ...
0
votes
3answers
87 views

Fix alignment in nested description list without line break

I'm trying to make a nested description list like so: \usepackage{enumitem} \begin{document} \begin{description} \item[Languages:] \begin{description} \item[High:]Python, Java, R, SQL, SAS \...
0
votes
1answer
72 views

problem with description [closed]

I use the description environment to type itemized lists ... there are many code fragments in the form \begin{description} \item [(1)] some text \item [(2)] some text \item [(3)] some text \item [(4)...
2
votes
1answer
152 views

Description Labels When Using Beamer's structuresmallcapsserif

I have developed my own little beamer "template" with the font theme structuresmallcapsserif and use this for a few years now. I recently noted that the content of the slides appears in sans serif as ...
1
vote
0answers
69 views

sub-levels {description} latex

I work latex with the description list but its sub-levels are limited. The most we can get is up to seven levels. After searching the latex documentation, we find the easylist environment, but the ...
2
votes
1answer
303 views

Vertical space between description label and first line

I'd like to create this vertical space globally using enumitem. The key style=nextline pushes the item content to its own line as I want, but I'd like some added vertical space of my choice. Here's ...
2
votes
1answer
52 views

Line break in description environment

My eldest son has made an important report for school based on a six month research (not full time). I could convince him to use LaTeX as it is the best tool available to write it. The final doc has ...
0
votes
1answer
38 views

Adding symbol before some labels in description

I want to do something similar to this question, but with a description environment. That is, I want to add an asterisk (or something) before the label text of some of the items in a description ...
3
votes
0answers
113 views

Using \lstinline inside an \item in beamer class in case of incremental overlay specifications?

The answers of Using \lstinline inside a \item work rather nicely with the beamer class. But, as pointed out by the following MCEs when \beamerdefaultoverlayspecification{<+->} is uncommented, ...
4
votes
1answer
264 views

line break in description label

I have a description label (or title) that is a bit long and I wanted to break it into two lines. I managed to do it in the following, but the second line of the description title does not line up ...
3
votes
2answers
938 views

Table description aligned with table width

I would like to have a table description underneath the title and above the table itself. In addition, I want the description to be as width as the table itself. I know that the description part is ...
0
votes
1answer
62 views

Error when using ] in item title with math mode [duplicate]

I am getting the error ! Extra }, or forgotten $. \sbox ...hbox {\color@setgroup #2\color@endgroup } l.6 \item[$] $] ! LaTeX Error: Something's wrong--perhaps a missing \item. With the MWB ...
1
vote
2answers
590 views

How to set leftmargin of description to width of a particular label in enumitem?

I'd like to make a timeline with a description environment. If I use the following: \documentclass{article} \usepackage{enumitem} \begin{document} \begin{description}[leftmargin=*,label=0000] \...