%%
%% Der LaTeX-Begleiter, zweite Auflage (September 2005)
%%
%% Beispiel 2-3-7 von Seite 58.
%%
%% Copyright (C) 2005 Frank Mittelbach, Michel Goossens,
%% Johannes Braams, David Carlisle, and Chris Rowley
%%
%% Uebersetzung: Copyright (C) 2005 Claudia Krysztofiak,
%% Rebecca Stiels und Frank Mittelbach
%%
%% It may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%%
%% See
http://www.latex-project.org/lppl.txt for details.
%%
\documentclass{lb2exa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{149.4372pt}
% Beispielseiten beginnen normalerweise auf Seite 6,%
% aber nicht hier:
\setcounter{page}{1}
% kurze Titel f�r das Beispiel
\makeatletter
\renewcommand\section{\@startsection{section}{1}{\z@}%
{-1.25ex \@plus-1ex \@minus-.2ex}%
{.5ex}%
{\normalfont\large\bfseries}}
\makeatother
\StartShownPreambleCommands
\newcommand\ecaption[1]
{\addcontentsline{xmp}{example}{#1}}
\makeatletter \newcommand\listofexamples
{\section*{Kommentare}\@starttoc{xmp}}
\newcommand\l@example[2]
{\par\noindent#1,~\textit{#2}\par} \makeatother
\StopShownPreambleCommands
\begin{document}
\section{Ausgew�hlte Aufnahmen}
Ravels Bol\'ero von Jacques Loussier
Trio.\ecaption{Loussier: Ein seltsames Erlebnis}
Davis' Blue in Green von Cassandra
Wilson.\ecaption{Wilson: Eine wunderbare Version}
\listofexamples
\end{document}