Questions tagged [description]
{description} is about the `description` list environment. If you use this tag, add the more general {lists} tag.
378
questions
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
24
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
21
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
26
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
46
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
32
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
36
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
31
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
82
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 ...
0
votes
0
answers
36
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
120
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
48
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
41
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
54
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
108
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
47
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
24
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
22
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
46
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
67
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
29
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
73
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
193
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
37
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
54
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
...
2
votes
1
answer
507
views
Creating nomenclature with Symbol, Description Unit and different seperations
Hi fellows from the StackExchange Community,
I am currently writing my bachelor thesis in Latex (Overleaf) and got into some trouble while creating my nomenclature.
Since I found that one of my ...
2
votes
1
answer
37
views
Aligning linebreaks in long `\item{}` inside description environment
Here is MWE.
\documentclass[a4paper,10pt]{article}
\begin{document}
\begin{description}
\item{Foo\\ Bar \\ Baz }
: Foo, Bar and Baz are friends.
\item a, b, c
\end{description}
\end{...
0
votes
0
answers
104
views
space after proof environment name not right in ConTeXt
I defined a general environment using setupenumerations. Then I defined an example and proof environments that inherited from it. The proof isn't supposed to be a numbered and setting number=no in the ...
0
votes
1
answer
47
views
In-line math affecting space after head text of enumeration environment in ConTexT
Sorry if it seems basic but I just switched over from LaTeX. It seems the in-line math affects the spacing after the enumeration environment head named 'Example'. How do I offset this?
\...
0
votes
1
answer
34
views
Text alignment in a \sortedlist environment
I'm using the following command :
\documentclass[10pt]{report}
\usepackage{datatool}
\usepackage{enumerate}
\newcommand{\sortitem}[2]{%
\DTLnewrow{list}%
\DTLnewdbentry{list}{label}{#1}%
\...
1
vote
1
answer
64
views
vertical alignment of tabular environment inside description environment
I am using tabular environment inside a description environment like:
\item[This is some description]
\begin{tabular}{ll}
apple: & 200g \\
pear: & 206g \\
banana: ...
1
vote
2
answers
453
views
Align multiple lines of text in itemize
I'm relatively new to LaTeX and I'm currently trying to create my CV using the software. I'm trying to write down different coding languages that I can use. I'm currently looks like the following but ...
0
votes
0
answers
185
views
Activating Figure and Table Description in acmart package
The acmart LaTeX template from https://www.acm.org/publications/taps/word-template-workflow does not seem to show the content of the \Description command.
As a reproduction-example, consider the ...
0
votes
0
answers
32
views
How to Simply Customize \Itemize to Display More Like \Description [duplicate]
Is there a simple way to customize \itemize so that the output indents beginning with the second line similar to that of \descripton?
Consider
\documentclass[12pt]{article}
\usepackage{lipsum}
\begin{...
7
votes
1
answer
84
views
Translating a description environment style into a reference-able enumerate environment
In the description environment, I like the [style=newline] provided by the enumitem package. Is there a way I can use a similar style in an enumerate environment, so that I can label the items using \...
2
votes
1
answer
75
views
Description indented too much inside framed (in Hebrew)
I'm writing lecture notes in Hebrew using lyx. I use the framed package to have my theorems inside a nice gray box. It all seemed to work fine, until I noticed a strange behavior when I try to put a ...
3
votes
1
answer
30
views
Starting a description on a new line following its heading
I like the indentation style of a description environment; I'd like to use it to summarize each of my thesis chapters. But, I'd like the actual paragraph to start on the next line. How can I do this?
...
1
vote
1
answer
118
views
LaTex nested description list - item label placement error - is it required to follow \end{description} with blank line, \par, \mbox{} or \item[]?
Is it a requirement to follow a nested \end{description} with a blank line, \par, \mbox{} or \item[] in a LaTex nested description list? None of the documentation or samples I have reviewed suggests ...
0
votes
2
answers
28
views
Adding emdash after list items in description environments throughout the document
How can I add an emdash (---) after every item label in every description environment in my document? Is there a global way to override the layout of each item?
This produces the desired effect, but ...
1
vote
0
answers
16
views
TikZ-Picture in Description Item Label [duplicate]
I would like to explain a diagram created in TikZ by creating a description environment with small parts of the diagram as item labels.
\documentclass{beamer}
\usepackage{tikz}
\usetikzlibrary{...
3
votes
1
answer
223
views
How can I remove the horizontal space after a single item in a description list?
In a description list, I would like to keep the normal spacing after the item for one item, but eliminate it for others. The enumitem package lets you eliminate the space for all items:
\begin{...
0
votes
2
answers
274
views
Description environment and textrm in math
In the description environment if the item includes a math formula with \textrm{} these parts are set bold (just like regular description items) which looks odd if the rest of the formula is not bold. ...
0
votes
1
answer
162
views
Using Description Environment Titles
This is related to the question asked in Using Description environment with cleveref.
I wonder if there is a clean solution to reuse titles of items in the description. E.g. given the following piece ...
0
votes
1
answer
142
views
Table with a description section
Am having some problems with xltabular package when trying to draw this table, the problem when I try to make other tables the result will be like the first one, but when I delete the package from my ...
2
votes
3
answers
255
views
Create a merged cell table with multiple lines
I would like to create "description cards" like these in latex with tables. But I haven't found a good way to create them.
The basic idea is to create a variable column header (more than 2, ...
2
votes
2
answers
297
views
How can I make like this table in latex
How can I make this table below in LaTeX, in the document class memoir.
\begin{xltabular}{\linewidth}{ l | X }
\caption{Data description of dependent and independent variables.}
\label{table: ...
1
vote
1
answer
74
views
Acronym package: custom list of acronyms which maintains backreferencing
I'm using the acronym package for my thesis, and I'd like to create the list of acronyms manually to allow for a more sophisticated formatting, namely upper case in list, lower case in document. I've ...
14
votes
3
answers
1k
views
How can I sort a list numerically?
Basically, I want to create a summary for a history class. Therefore a lot of years occur throughout the lectures.
Does LaTeX allow to sort a list if I set it up like in the following example?
\begin{...
0
votes
0
answers
34
views
Set labelindent for basedescript (mdwlist)
I would like to integrate a multiline label for a description environment. Therefor, I already found out that the package mdwlist could do the job for me.
I almost got the result I want, except for ...
1
vote
2
answers
93
views
Description list items: selective misbehaviour with Ligatures=TeX, fonts, xeLaTeX, and luaLaTeX
I've just come across this curiosity. Can anyone tell me what's going on? Here's the mwe:
\documentclass[12pt]{article}
\usepackage{fontspec}
\setmonofont{Consolas}
\begin{document}
\texttt{
\begin{...