[kde-doc-english] Question for the (La)TeXperts

Matthias Pospiech matthias.pospiech at gmx.de
Wed Sep 21 22:57:49 CEST 2005


Am Donnerstag, 15. September 2005 20:01 schrieb Matthias Pospiech:
> Am Donnerstag, 15. September 2005 19:18 schrieb Ludovic Grossard:
> > On Thursday 15 September 2005 18:56, Philip Rodrigues wrote:
> > > \begin{description}
> > > \item[foo]
> > > \begin{itemize}
> > > \item Bar
> > > \item Baz
> > > \end{itemize}
> > > \end{description}
> > >
> > > I can get this by adding some text after "\item[foo]" but that's not
> > > ideal. Any ideas?
>
> It seems that LaTeX expects content after the [foo]. It does not matter
> what it is, even \hspace{0pt} or \mbox{} work.
>
> I have asked in de.comp.text.tex whether this is a bug or a feature. From
> my point of few a bug.
One LaTeX Expert said that this way of using description would simple be a 
'misuse' of description.
\item[foo] insists on having some text afterwards.

The best solution to get to the next line would be
\item[foo] \leavevmode

One the other hand - is [foo] just a heading ? In this case \minisec{foo} 
would be a solution, but without the whole description environment.

Matthias

---------------------------------------------------------------
Matthias Pospiech
Schneiderberg 28, 30167 Hannover
email: mail at matthiaspospiech.de
Web: www.matthiaspospiech.de
ICQ: 60941314
Tel: +49 (0)511-3534318
Mobil: +49 (0)170-5586781
---------------------------------------------------------------



More information about the kde-doc-english mailing list