Fix TOC: embed title in longtable to prevent blank first page
Move "Inhaltsverzeichnis" title into the longtable as a multicolumn first row so it stays with the table content. Remove duplicate header on continuation pages. Reduce header rotation to 60 degrees with scriptsize font. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -170,14 +170,12 @@
|
|||||||
|
|
||||||
% --- Rotated column header ---
|
% --- Rotated column header ---
|
||||||
\newcommand{\rotheader}[1]{%
|
\newcommand{\rotheader}[1]{%
|
||||||
\begin{turn}{70}\footnotesize\textbf{#1}\end{turn}%
|
\begin{turn}{60}\scriptsize\textbf{#1}\end{turn}%
|
||||||
}
|
}
|
||||||
|
|
||||||
% --- Print the song TOC table ---
|
% --- Print the song TOC table ---
|
||||||
\newcommand{\printsongtoc}{%
|
\newcommand{\printsongtoc}{%
|
||||||
\thispagestyle{fancy}%
|
\thispagestyle{fancy}%
|
||||||
{\Large\bfseries Inhaltsverzeichnis\par}%
|
|
||||||
\vspace{5mm}%
|
|
||||||
\footnotesize
|
\footnotesize
|
||||||
\rowcolors{2}{tocrowgray}{white}%
|
\rowcolors{2}{tocrowgray}{white}%
|
||||||
\begin{longtable}{%
|
\begin{longtable}{%
|
||||||
@@ -189,21 +187,15 @@
|
|||||||
>{\centering\arraybackslash}p{0.07\textwidth}|%
|
>{\centering\arraybackslash}p{0.07\textwidth}|%
|
||||||
>{\centering\arraybackslash\columncolor{tocheadgray}}p{0.09\textwidth}%
|
>{\centering\arraybackslash\columncolor{tocheadgray}}p{0.09\textwidth}%
|
||||||
}
|
}
|
||||||
|
\multicolumn{7}{l}{\Large\bfseries Inhaltsverzeichnis} \\[2mm]
|
||||||
& \rotheader{BuLiBu}
|
& \rotheader{BuLiBu}
|
||||||
& \rotheader{CL (gr.)}
|
& \rotheader{CL (gr.)}
|
||||||
& \rotheader{SwA}
|
& \rotheader{SwA}
|
||||||
& \rotheader{Barde}
|
& \rotheader{Barde}
|
||||||
& \rotheader{LiBock}
|
& \rotheader{LiBock}
|
||||||
& \rotheader{\normalsize Carmina\newline\normalsize Leonis} \\
|
& \rotheader{Carmina\newline Leonis} \\
|
||||||
\hline
|
\hline
|
||||||
\endfirsthead
|
\endfirsthead
|
||||||
& \rotheader{BuLiBu}
|
|
||||||
& \rotheader{CL (gr.)}
|
|
||||||
& \rotheader{SwA}
|
|
||||||
& \rotheader{Barde}
|
|
||||||
& \rotheader{LiBock}
|
|
||||||
& \rotheader{\normalsize Carmina\newline\normalsize Leonis} \\
|
|
||||||
\hline
|
|
||||||
\endhead
|
\endhead
|
||||||
\InputIfFileExists{\jobname.songtoc}{}{}%
|
\InputIfFileExists{\jobname.songtoc}{}{}%
|
||||||
\end{longtable}%
|
\end{longtable}%
|
||||||
|
|||||||
Reference in New Issue
Block a user