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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
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