Die Standard-Vorlage in LaTeX ist ein no-nonsense Layout, das von wissenschaftlichen Veröffentlichungen inspiriert ist. Sie ist nicht sonderlich ansprechend für Magazine oder literarischen Inhalt. Ein Aspekt, der hier besonders schnörkellos und fast langweilig ist, ist das Inhaltsverzeichnis.
Wenn man Bilder und eine kurze Zusammenfassung im Inhaltsverzeichnis haben möchte, benötigt man etwas Bastelei. Ich habe nach etwas herumspielen das folgende Beispiel gebaut:
Dazu benötigt man erst mal ein Paket in dem das Inhaltsverzeichnis umdefiniert wird:
\RequirePackage{calc} | |
\RequirePackage{graphicx} | |
\RequirePackage{picinpar} | |
\newcommand{\l@subtitle}[2]{\protect\parbox{0.9\textwidth}{#1}\par} | |
\newcommand{\tocvignette}[2]{ | |
\begin{window}[0, l, \includegraphics[height=8\baselineskip]{#1},{}] | |
#2 | |
\end{window} | |
} | |
\newcommand{\article}[3] | |
{\chapter{#1} | |
\addcontentsline{toc}{subtitle}{\protect\tocvignette{#2}{#3}} | |
} |
Und dann muss man dieses Paket in das Dokument ein binden, siehe Beispiel unten. Ich habe es mit der book Klasse ausprobiert, mit anderen wird es wahrscheinlich auch funktionieren.
\documentclass{book} | |
\usepackage{mytoc} | |
\begin{document} | |
\tableofcontents | |
\article{The Chapter Name}{path/to/image}{A longish abstract which % | |
can go over multiple lines, ideally as long as the height % | |
of the graphics. \textbullet\ The Author} | |
And here goes the Article... | |
... lots of more articles like that... | |
\end{document} |
I have not yet used it outside of some examples, but it might work…