[texhax] [listing.sty] \item[lstinline{foo}] howto?

Goebel, Juergen, OPE26 juergen.goebel at eads.com
Wed Nov 17 10:17:00 CET 2004


Hi,

Can anyone guide me to the solution of the following problem?

The example doesn't show the required result (the argument 
of the \item is hidden).

\documentclass{scrartcl}
\usepackage{listings}
\begin{document}
 \begin{itemize}
  \item[\lstinline{ze_def.h}] ZE-spezifische Definitionen
 \end{itemize}
\end{document}

What do I have to do to get the correct result?  I tried already
\item[\protect\lstinline{bar}] and something like this without
getting any improvement.
 
Section 5.1 in the well written manual doesn't help me, too.

TIA,

Jürgen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texhax/attachments/20041117/203fdf5c/attachment.htm


More information about the texhax mailing list