Tagged Questions

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

learn more… | top users | synonyms

3
votes
2answers
92 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
79 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
105 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
702 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
804 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
121 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
511 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
282 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
530 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
3k 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
113 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
150 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
147 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
72 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
133 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
121 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
79 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
291 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
958 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
130 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
115 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
108 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
361 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
171 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
867 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
294 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
1k 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
180 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
286 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
225 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
163 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
217 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 ...
4
votes
1answer
190 views

Beamer: problem showing description item

I'm trying to put a description environment with some data in my presentation. But pdflatex compiles it without showing the part in [] of \item. Minimal reproducing example: \documentclass{beamer} ...
6
votes
2answers
312 views

renewcommand for description

I have a document with many \description environments. All of them are defined like this: \begin{description}[leftmargin=2.5cm,style=sameline] \item[\texttt{foo}] bar ...
4
votes
2answers
143 views

Description numbering

I have an article document. In this document I have sections and subsections. In a subsection there are nested 'description' lists. I want that items of this description have numbers which use the ...
6
votes
1answer
628 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. ...
5
votes
2answers
1k 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 ...
4
votes
1answer
118 views

More on dealing with long description environment items in beamer

This is a follow-up question to Dealing with long description environment items Gonzalo Medina was very helpfully resolving an issue I had with his solution to Dealing with long description ...
5
votes
2answers
382 views

beamer definition-list overlay: uncover definition later than entry

For educational purposes, I would like to uncover the definitions of my description items only after all the items themselves have been uncovered, like so: \documentclass{beamer} \begin{document} ...
0
votes
0answers
122 views

Beamer: change gray out on itemize environment [duplicate]

Possible Duplicate: Beamer: double uncover hides instead of watermarks This is a following up question to the solution for this question: Beamer: double uncover hides instead of watermarks ...
5
votes
1answer
548 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 ...
17
votes
1answer
4k 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 ...
5
votes
1answer
317 views

Description environment redefined

I use the Latex templates from Springer for a project, and to my surprise, the description environment doesn't work correctly - the item labels are not bold. I don't know where this is customized in ...
2
votes
1answer
168 views

Centered, left-aligned list

I'm attempting to left-align a centered list of elements. \begin{center} \begin{align} \begin{description} \item[] lorem \item[] ipsum \item[] lorem \item[] ipsum \end{description} \end{align} ...
2
votes
1answer
199 views

description: paragraph as definition - get straight left margin for multi-line definition

With \item[keyword]explanation-that-goes-on-for-several-lines I get: keyword this is the first line this is the second line But I'd like it like this keyword this is the first line ...
1
vote
1answer
480 views

Modify default description style

I need to modify description style. I want the description entry to be on the next line, with a different color and \newenvironment{mydescription}{% \let\olditem\item% \begin{list}{}{ ...
5
votes
1answer
116 views

Description list with item and body in separate columns

I try to achieve the following layout with a description list Item1 Description of the item where wrapping aligns like this. Should also handle itemize environment in the description ...
2
votes
2answers
574 views

enumitem nextline style: nested item shouldn't start on description label's line

I use enumitem description style nextline to emulate a sort of TOC entry with the following code: \documentclass{article} \usepackage{enumitem} \newenvironment{DLdescription}[1][*]{% ...