Generaldescription : label too long

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
hiddeun
Posts: 1
Joined: Tue Jul 17, 2007 7:11 pm

description : label too long

Post by hiddeun »

Hi!
I have a problem a problem using the description environment: when the label is long, I would like it to be written on two lines.
I tried to show what I would like to get in the following example.

\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\begin{document}
\begin{description}
\item[This is a really long label, and I would like it to be written on two lines, and appear in bold, as the described item]but it won't! :(
\item on the next one:
\item[]\textbf{This is a really long label, and I would like it to be written on two lines, and appear in bold, as the described item} (that's what I would like to get, without cheating, and without and indent)!
\end{description}
\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

description : label too long

Post by localghost »

You may take a look at the expdlist package. Its documentation is not available on CTAN, but you can get it from your system by using a shell command.

Code: Select all

texdoc expdlist
Post Reply