Replace the default LaTeX TOC with a table matching the Carmina Leonis style: song titles with columns for reference books (MO, PfLB) and the current songbook page number. Uses expl3 iow to write song data to a .songtoc file during compilation and reads it back on the second pass. Alternating row colors via rowcolors. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
32 lines
656 B
TeX
32 lines
656 B
TeX
% songbook.tex - Pfadfinder Liederbuch
|
|
\documentclass[a5paper, 10pt, twoside]{article}
|
|
|
|
\usepackage{songbook-style}
|
|
|
|
\begin{document}
|
|
|
|
% --- Title page ---
|
|
\begin{titlepage}
|
|
\centering
|
|
\vspace*{3cm}
|
|
{\Huge\bfseries Pfadfinder Liederbuch\par}
|
|
\vspace{1cm}
|
|
{\Large Beispiel-Ausgabe\par}
|
|
\vspace{2cm}
|
|
{\large 1. Auflage, 2026\par}
|
|
\vfill
|
|
\end{titlepage}
|
|
|
|
% --- Table of Contents ---
|
|
\printsongtoc
|
|
\clearpage
|
|
|
|
% --- Songs (alphabetical) ---
|
|
\input{songs/abend-wird-es-wieder}
|
|
\input{songs/auf-auf-zum-froehlichen-jagen}
|
|
\input{songs/die-gedanken-sind-frei}
|
|
\input{songs/hejo-spann-den-wagen-an}
|
|
\input{songs/kein-schoener-land}
|
|
|
|
\end{document}
|