Questions tagged [description]
{description} is about the `description` list environment. If you use this tag, add the more general {lists} tag.
403
questions
2
votes
1
answer
41
views
Definition of \descriptionlabel
I just read about the different definitions of the lists in LaTeX. I cannot find the source but it seems to me that the definition of the command \descriptionlabel is something like {\hspace\labelsep\...
0
votes
1
answer
66
views
How can I fully justify spaces inside enumitem description labels?
I will start with a picture that says more than a thousand words:
\documentclass{article}
\usepackage{enumitem}
\usepackage{blindtext}
\begin{document}
What I currently see is this:
\begin{...
2
votes
2
answers
43
views
Indentation problem inside the description environment
I have the following simple code
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amsfonts,amssymb,amsthm}
\usepackage{enumitem}
\begin{document}
\begin{...
3
votes
4
answers
223
views
Is there a LaTeX package that will provide a brief summary description of all the packages that are included within a LaTeX project?
I was wondering if there exists a LaTeX package that will scan all of the packages that exist within a LaTeX project, then download from CTAN a brief summary description of each of the packages that ...
0
votes
1
answer
40
views
Bracket in `description` item throws error [duplicate]
Closing bracket in math mode causes error in description item and leaves a space in text mode. What can I do?
This gives error
\documentclass{article}
\begin{document}
\begin{description}
\item[$[0,...
1
vote
1
answer
40
views
How to place footnotes on the same page as the reference in LaTeX?
I'm encountering an issue while writing a LaTeX document where I have a list with references, each accompanied by a corresponding footnote. However, after compiling the document, I've noticed that the ...
0
votes
1
answer
33
views
Adjust horizontal space for 'inline' description*
I wanted to add an inline description as shown in the MWE. I noticed a bigger horizontal space between the optional argument and argument of \item. I've tried quite a view things like labelsep etc., ...
4
votes
1
answer
111
views
How to format description label with a command (enumitem)
I have to make list environment based on description that should be used to describe C functions.
For example:
% !TeX program = lualatex
\documentclass[11pt]{report}
\usepackage{enumitem}
\usepackage{...
4
votes
2
answers
195
views
Broken description environment
Look at the following MWE:
\documentclass{scrbook}
\usepackage[utf8]{inputenc}
\usepackage{beamerarticle}
\usepackage[framemethod=TikZ]{mdframed}
\surroundwithmdframed{definition}
\begin{document}
...
0
votes
0
answers
25
views
How to add separator between label and body of description's element using enumitem [duplicate]
I want to add dash after label in description elements.
0
votes
0
answers
37
views
longtable, description or glossary
I read that the use of tables from the typesetter’s perspective is unsightly and is only used more frequently because “Word” often does not allow any other option. In addition, there are technical ...
0
votes
1
answer
63
views
Define column selection order in pdf
I am trying to build a CV. Now I've noticed that the following seems to cause problems for automatic processing. Namely, the dates are not read correctly. When I select text in the pdf, I also get a ...
0
votes
0
answers
30
views
Citations in a two-column environment as a description list
Using the example given here (section 3), I'd like the \autocite command to produce a two-column list of partial citations.
The MWE below does not compile. I get the following error:
LaTeX Error: \...
1
vote
1
answer
36
views
Preventing indentation on new line within enumitem's description command
I am using the enumitem package, and I am trying to prevent the indentation on a new line within an item command.
\documentclass{article}
\usepackage[shortlabels]{enumitem}
\usepackage[margin=1.2in]{...
1
vote
1
answer
46
views
Description subitem formatting in Beamer [duplicate]
I'm trying to include a description sublist in one of my Beamer frames, using a certain formatting:
\documentclass[10pt]{beamer}
\mode<presentation>{
\setbeamertemplate{itemize item}{\color{...
1
vote
1
answer
114
views
Enumerated description with bold and underlined labels
I want a kind of description environment but with numbered items.
I need an environment MagicEnv to be used like this:
We define and study a function `f`.
\begin{MagicEnv}
\item[Definition of $f$]...
1
vote
1
answer
43
views
First tag of nested description environment with newline style wont appear on new line
I have the next document:
\documentclass[12pt]{article}
\usepackage[english, ukrainian]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{enumitem}
\setdescription{style=...
2
votes
1
answer
64
views
Error when combining glossaries and label of description item
I want to use the glossaries package and I want to be able to reference descritpion list items by their name.
For the latter problem, I found a solution (Reference name of description list item in ...
1
vote
1
answer
125
views
Align \itemize in description enviroment in beamer class
I have an itemized list in a description enviroment, it looks like this:
But I want, that all items are aligned under the first item with "Bob wählt...".
My code looks like this, I tried to ...
0
votes
1
answer
112
views
How can I styilize a descriptive list with a line between the label and the description?
I want my descriptive lists to look like...
The source for that is (source)...
\documentclass{article}
\usepackage{tcolorbox}
\tcbuselibrary{skins,hooks}
\newcommand\fancybox[3]{%
\tcbset{
mybox/...
3
votes
1
answer
147
views
How do I center a bullet/numbered/description list horizontally?
Say I want the description environment in
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Some text\\
some more
\begin{center}
center
\end{center}
\begin{description}
\item[desc1] ...
0
votes
1
answer
36
views
Add symbol after the lable of every description item
I often use the description environment and I want to separate the label from the text not only by whitespace, but also by a small circle.
I'm using the enumitem package to customize the description ...
4
votes
2
answers
252
views
How to inject code after every description label?
With the format option, I can inject code in the beginning of every description label:
\documentclass{article}
\usepackage{enumitem}
\begin{document}
\begin{description}[format={\ ...\ }]
\item[A] ...
3
votes
0
answers
92
views
Description list - style=nextline not working?
\documentclass{article}
%% \documentclass[12pt, a4paper, UTF8, scheme = plain]{article}
\usepackage{amsmath}
\usepackage{enumitem}
\setlist[description]{style=nextline}
\begin{document}
\begin{...
0
votes
1
answer
42
views
By using the \begin{description} make the labels start on the same line
I want to make list od description by using \begin{description}
and align the long label on the same starting point.
\begin{description}[leftmargin= 1.27cm, labelwidth=6cm]
\item[h_{\mathrm{obs}_i}...
1
vote
0
answers
21
views
Adjusting the Vertical Spacing Between Consecutive Lines with a Scaled Typewriter Font [duplicate]
Consider the code
\documentclass[12pt]{book}
\usepackage{scalefnt}
\begin{document}
\thispagestyle{empty}
\begin{description}
\item {\fontfamily{lmvtt}\selectfont{No one should be ashamed to admit ...
3
votes
1
answer
56
views
No URL line break in description
there are several ways to make a line break in URLs. But does somebody know how to break the URL in this example? Thanks, Harald
\documentclass[
10pt,
twoside,
toc=listofnumbered,
...
2
votes
0
answers
36
views
Typesetting Chiasmus or structured, indented text
I need to typeset a chiastic structure. Here is a simple example:
The important parts are:
Identification of the part of the structure, i.e., A or A'
The text itself
Consistent spacing between ...
1
vote
1
answer
30
views
Incorrect spacing in description environments within (nested) multicols environments
I am trying to put a description environment inside the multicol package's multicols environment. The goal is to create two columns (the second of which is subdivided into two more columns) to display ...
1
vote
1
answer
50
views
Increasing the Vertical Gap Between Certain Description Items
Consider the code
\documentclass[10pt]{book}
\usepackage[showframe,margin=.3in,paperwidth=4in,paperheight=6in]{geometry}
\textheight=5.25in
\usepackage[frame,noinfo,center]{crop}
\usepackage{enumitem,...
0
votes
0
answers
118
views
Automatically sort the entries in a description environment alphabetically
I want to automatically sort the entries in a description environment alphabetically. I see examples of lists being sorted alphabetically, but I am unable to adapt those examples to work for ...
1
vote
1
answer
81
views
Horizontally Shifting Description Items of a Particular Type
The question herein is a modification of that asked in Two Types of Enumerate Items
Consider the code
\documentclass{book}
\usepackage{enumitem}
% % % COMPILE WITH PDFLATEX
\setlist[description,2]{
...
1
vote
0
answers
36
views
Descriptions within Quote Environment with Only Certain Items Indented
Consider the code
\documentclass[10pt]{book}
\usepackage[showframe,margin=.3in,paperwidth=4in,paperheight=6in]{geometry}
\textheight=5.25in
\usepackage[frame,noinfo,center]{crop}
\usepackage{lipsum}
\...
1
vote
1
answer
193
views
How to customize list style?
I am trying to create some lists that are both numbered and lettered. For instance, in one section I would like a list with:
ER-1 description
ER-2 description
ER-3 description
Then in another section ...
1
vote
0
answers
57
views
3 columns enumitem description
As part of an article, I am translating a text from an oriental language to German. I am writing the short introduction and then follows the text. Thus, I wanted to place it in a table with two ...
4
votes
1
answer
415
views
Automatically fill vertical space for a description list in a beamer frame
I would like my description list to automatically fill the vertical space of a beamer slide. I have found solutions for this here, but it only applies to itemize and enumerate.
I tried to modify the ...
2
votes
1
answer
61
views
How to skip the item body in an inline description* list?
I am having a simple doc:
\documentclass[a4paper,12pt]{article}
\usepackage{enumitem}
\newlist{inlinedesc}{description*}{1}
\setlist[inlinedesc]{itemjoin={{ $\odot$ }}, itemjoin*={{ and }}}
\...
2
votes
0
answers
58
views
How to make inline description* list left-aligned and hyphenated?
I am having a simple doc:
\documentclass[a4paper,12pt]{article}
\usepackage{enumitem}
\newlist{inlinedesc}{description*}{1}
\setlist[inlinedesc]{itemjoin={{ $\odot$ }}, itemjoin*={{ and }}}
\...
0
votes
1
answer
161
views
How to define a custom description environment?
I want to define a new "custom-description" environment, say my description that taken in one length argument and produces the result that is achieved by the following code:
\documentclass{...
2
votes
2
answers
293
views
refstepcounter inside description item
My purpose is to create visual steps in proofs.
I cooked this from the environment description:
\documentclass{article}
\newcounter{subproofcount}
\newcommand{\thesubproffcount}{\arabic{subproofcount}...
2
votes
1
answer
115
views
Trying to modify the appearance of a description environment
I have to do something like this but I don't know how to do it. I tried with \newcommand and \newenvironment but it seems that it's the wrong solution
if you have any idea please tell me.
0
votes
1
answer
27
views
Decrease vertical space between empty figure and description environment
I am trying to implement a workaround for adding a caption and label to a description environment.
For that I try to force an empty Figure above the description list, but I cannot reduce the vertical ...
0
votes
0
answers
38
views
description list and macrocode indentation
With l3doc, when using macrocode inside a description list, it is displayed with an extra indentation, how to remove it ?
Here is the dtx for a MWE
% \iffalse meta-comment
%<*driver>
\...
2
votes
0
answers
51
views
automatically justify text within a nested description environment LyX
I am trying to use LyX to generate the following.
I am using LyX, article class and the enumitem package.
I would like to have the text information in the lists to be aligned automatically by ...
1
vote
1
answer
131
views
Indentation with custom labels
I need help please with indentation within a description list where custom labels are being used. The mwe below shows my problem. Thanks!
\documentclass{article}
\usepackage{enumitem}
\setlist[...
1
vote
0
answers
32
views
How to Vertically Justify Items Over the Textheight of the Previous Page After Using \newpage
The following code
\documentclass{book}
\textheight 5.25in
\usepackage{lipsum}
\usepackage{pgfpages}
\pgfpagesuselayout{2 on 1}
\begin{document}
\large
\begin{description}
\item \...
1
vote
1
answer
129
views
How to Selectively Adjust a Label in a SetLabelAlign Description List
The following code
\documentclass{book}
\usepackage{lipsum}
\usepackage[lf]{electrum}
\usepackage{enumitem}
\usepackage{xcolor}
\begin{document}
\thispagestyle{empty}
\large
\SetLabelAlign{chron}{\...
2
votes
0
answers
255
views
Reduce top margin of itemize when inside columns environment (beamer)
I wrote the following example code:
\documentclass{beamer}
\usetheme{Copenhagen}
\begin{document}
\begin{frame}
\begin{block}{Top margin is fine}
\begin{columns}[b,onlytextwidth]
\begin{...
0
votes
1
answer
84
views
How to implement a robust description list with a counter for the item labels that works properly with hyperref?
Hope the title is not too confusing and describes what I meant. Here is the thing: I need to have a list where the items have an incremental counter but also have some customized words attached. I.e., ...
2
votes
2
answers
85
views
How to obtain a description item starting with a capital letter using classicthesis?
Consider following MWE:
\documentclass{report}
\begin{document}
\begin{description}
\item[Apple] apple
\item[\textbf{Apple}] apple
\item[apple] apple
\end{description}
\end{document}
which gives
...