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
3
votes
1answer
54 views

Custom labels in description - sum up

I am using an article class. I am using a description list to have a itemized list with custom labels instead of bullets. In my case the values of the labels are in dollars (see example below). Here ...
0
votes
2answers
40 views

How to go to the next line in a begin description

How can I make it so that when a line gets too long it goes to the next line?
0
votes
1answer
33 views

Macro for Description List

I'm writing a 'book' for the development of a project and want to put the relevant variables within a chapter at the beginning of that chapter. So, I'm trying to modify the \description list as ...
1
vote
0answers
26 views

How do I cause a long label in a description environmnt to wrap? [duplicate]

I am using a description environment, and one of my labels is very long \begin{description} \item[A very long label that I would like to wrap rather than overrunning the right margin as it currently ...
0
votes
1answer
34 views

\leavevmode cause overlay of labels in description list

I have a description list at the beginning of a proof environment and want the first label to begin in the same column as the remaining labels. When I put a \leavevmode before the first \item, the ...
0
votes
1answer
26 views

Customize the space in description and add hyperref to the link

I want to make the the space (shown by a red line) equal to 1 cm. And I want to make the link shown in green color as hyperref. This is MWE \documentclass[a4paper]{book} \begin{document} \...
0
votes
1answer
28 views

\cite not working for \item in description

In a somewhat odd combination of using a bibliography inside a letter (dinbrief), a found something odd that I cannot explain: I had several longer citations in one paragraph that didn't look good, ...
0
votes
0answers
39 views

Typesetting code dictionary

I am using LyX and I want to make dictionary where entries are formated like C code. For example void srand( int seed ) - srand seeds RNG. I want "void srand( int seed )" to be label and the rest ...
1
vote
2answers
30 views

Re-Defining Description environment to only show label, not content

I'd like to re-define the description environment so that it only shows the label of each item in it. So I'd like the following code \begin{description} \item [Truth] A sentence is true iff it ...
0
votes
0answers
24 views

What is the difference between using \NewDocumentEnvironment and \newlist when creating a new enumitem list?

On the question How to create a enumerate list adding a custom prefix before each item number? I managed to the a new list type using \NewDocumentEnvironment \documentclass{scrbook} \usepackage{...
0
votes
1answer
93 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}{...
0
votes
1answer
27 views

Description Item Spacing

I've following latex code: \documentclass{article} \begin{document} \begin{description} \item[days] {\footnotesize sunday, monday} \item[months] {\footnotesize january, february} \end{description}...
1
vote
1answer
36 views

Description with Vbox Seems to Ignore Margins

I have searched a few times, and have not found anything on here which fixes my issue. Essentially, I am using the geometry package with a margin of 0.75in; however, when I use the vbox with a ...
0
votes
2answers
36 views

Horizontal alignment issues with enumerate/description and sub-levels

I am struggling to obtain a proper horizontal alignment with either enumerate or description. I have simple bold arabic numbers followed by a dot as labels. These are references to exercises, and so ...
2
votes
2answers
66 views

How to add a table description to a longtable?

I am very new to Latex and really need help. I am trying to format a longtable such that under the caption I can insert a description of the table. I tried with \multicolumn, but then the first column ...
1
vote
1answer
57 views

How to make a space between the item at description?

Here is a MWE: % Preview source code %% LyX 2.3.2-2 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[a4paper,...
4
votes
1answer
179 views

Should I write \begin{quote} … \end{quote} or \quote … \endquote?

I find it much easier to type \quote ... \endquote than \begin{quote} ... \end{quote} The same goes for other environments. I wanted to know if it is "safe" and "sensible" to proceed with the ...
0
votes
2answers
48 views

How to create horizontal dashline length of page inside description environment

I want to create a horizontal dashline with the length of page margin using the arydshln package. I've read this but when using \hdashline[1pt/2pt] I get an error. How should I implement \hdashline ...
0
votes
0answers
55 views

Automatic clickable links directly to the description labels

For the university I am composing a document of only definitions, containing all the definitions of difficult terms that I encounter while studying. The document actually is a large set of description ...
2
votes
2answers
59 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
48 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 ...
2
votes
1answer
39 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
45 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 ...
2
votes
1answer
123 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
37 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
40 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
76 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
28 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
119 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
170 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
74 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
159 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
59 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
47 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
159 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
197 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
49 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
115 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
92 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
53 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
140 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
202 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
167 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
105 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
151 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
187 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
62 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
58 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
40 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 ...
3
votes
1answer
168 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{...

1 2 3 4 5 7