1
vote
2answers
54 views

Line break after description label

How can I ger a line break after the label of a description environment item? I'd like to keep the indentation and the bold face for the item label, but I'd like to have the body of the item in a ...
2
votes
1answer
95 views

Make the lines of a description item line up

I am trying to line up the lines of a single description item. When I introduce a line-break or when the line becomes to long, the new line isn't lined up with the first one. I'm aware of the fact ...
4
votes
1answer
166 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 ...
11
votes
3answers
727 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 ...
2
votes
2answers
517 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][*]{% ...
12
votes
2answers
988 views

Wrong line break in description environment after a long label

I encountered an issue with my description environments: If I use a label that almost is as long as the text width, the explanatory text afterwards is not wrapped correctly. I am using the mdwlist ...
6
votes
2answers
979 views

How can I fix verbatim causing an extra newline inside a description list environment?

I'm trying to create a documentation listing similar to that used by MSDN. Here was my first attempt at that: \subsubsection{User Default Page URL} \begin{description} \item[Rationale] This is the ...
7
votes
3answers
3k views

linebreak in description title

In my document I have a description environment. One of the titles in the description is too long to fit in one line and I want to break it. I know this is a bad styling but I can't think of any way ...
2
votes
3answers
136 views

How to avoid a line-exceeding statement in a description's item tag?

Having a description like this: \begin{description} \item[One or several threads are operating concurrently on some data structure, which is bad because and also blablabla.] \end{description} How ...
62
votes
5answers
32k views

Description list - How to put the definition on a new line?

I have the following LaTeX code: \documentclass{article} \begin{document} \begin{description} \item[foo] bar \item[baz] bang \end{description} \end{document} and it produces the following PDF: ...