Add foreword page and image placement commands
- Introductory page with quote, horizontal rule, and foreword text
- \fillerpage{path} for full-page centered filler images
- \songimage{path} for inline images within song pages
- \fullpageimage{path} for borderless full-page images
- Added graphicx and csquotes packages
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -18,6 +18,8 @@
|
|||||||
\RequirePackage{array}
|
\RequirePackage{array}
|
||||||
\RequirePackage{colortbl}
|
\RequirePackage{colortbl}
|
||||||
\RequirePackage{rotating}
|
\RequirePackage{rotating}
|
||||||
|
\RequirePackage{graphicx}
|
||||||
|
\RequirePackage{csquotes}
|
||||||
\RequirePackage[minimal]{leadsheets}
|
\RequirePackage[minimal]{leadsheets}
|
||||||
\ExplSyntaxOn
|
\ExplSyntaxOn
|
||||||
\cs_new:cpn {leadsheets-library-musicsymbols-loaded} {}
|
\cs_new:cpn {leadsheets-library-musicsymbols-loaded} {}
|
||||||
@@ -202,3 +204,39 @@
|
|||||||
\writesongtoc
|
\writesongtoc
|
||||||
\vspace{4mm}%
|
\vspace{4mm}%
|
||||||
}
|
}
|
||||||
|
|
||||||
|
% ==========================================================================
|
||||||
|
% Image placement
|
||||||
|
% ==========================================================================
|
||||||
|
|
||||||
|
% Full-page filler image (centered, scaled to fit, own page)
|
||||||
|
% Usage: \fillerpage{images/drawing.png}
|
||||||
|
\newcommand{\fillerpage}[1]{%
|
||||||
|
\clearpage
|
||||||
|
\thispagestyle{empty}%
|
||||||
|
\vspace*{\fill}%
|
||||||
|
\begin{center}%
|
||||||
|
\includegraphics[width=0.85\textwidth,height=0.85\textheight,keepaspectratio]{#1}%
|
||||||
|
\end{center}%
|
||||||
|
\vspace*{\fill}%
|
||||||
|
\clearpage
|
||||||
|
}
|
||||||
|
|
||||||
|
% Inline image within a page (e.g., at end of a song with remaining space)
|
||||||
|
% Usage: \songimage{images/landscape.png}
|
||||||
|
\newcommand{\songimage}[1]{%
|
||||||
|
\begin{center}%
|
||||||
|
\includegraphics[width=0.8\textwidth,keepaspectratio]{#1}%
|
||||||
|
\end{center}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Full-page image with no margins (bleeds to edges)
|
||||||
|
% Usage: \fullpageimage{images/cover.png}
|
||||||
|
\newcommand{\fullpageimage}[1]{%
|
||||||
|
\clearpage
|
||||||
|
\thispagestyle{empty}%
|
||||||
|
\newgeometry{margin=0pt}%
|
||||||
|
\noindent\includegraphics[width=\paperwidth,height=\paperheight]{#1}%
|
||||||
|
\restoregeometry
|
||||||
|
\clearpage
|
||||||
|
}
|
||||||
|
|||||||
30
songbook.tex
30
songbook.tex
@@ -17,10 +17,40 @@
|
|||||||
\vfill
|
\vfill
|
||||||
\end{titlepage}
|
\end{titlepage}
|
||||||
|
|
||||||
|
% --- Foreword / Introductory page ---
|
||||||
|
\thispagestyle{empty}
|
||||||
|
{\large\bfseries\itshape
|
||||||
|
\enquote{Das Volkslied ist nun einmal da --, daran k\"onnen wir nicht
|
||||||
|
vorbei -- es ergreift uns stark und tief, und die Antwort auf
|
||||||
|
das Warum? bleiben wir schuldig.}
|
||||||
|
\par}
|
||||||
|
\vspace{2mm}
|
||||||
|
\noindent\rule{\textwidth}{0.4pt}
|
||||||
|
\vspace{4mm}
|
||||||
|
|
||||||
|
\small
|
||||||
|
So hei\ss t es im Vorwort des wohl bekanntesten Liederbuchs
|
||||||
|
in der Jugendbewegung, dem \textit{Zupfgeigenhansl}, aus dem Jahr 1913.
|
||||||
|
|
||||||
|
Und auch wir erleben auf Fahrt und Lager immer wieder die Kraft des
|
||||||
|
gemeinsamen Singens. Mit diesem Liederbuch haben wir eine Auswahl
|
||||||
|
an Liedern aus unterschiedlichen Quellen zusammengetragen.
|
||||||
|
|
||||||
|
Singen verbindet uns, macht Freude und ist ein entscheidendes Element
|
||||||
|
unserer Lager und Fahrt.
|
||||||
|
|
||||||
|
\vspace{5mm}
|
||||||
|
Herzlichst Gut Pfad
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
|
||||||
% --- Table of Contents ---
|
% --- Table of Contents ---
|
||||||
\printsongtoc
|
\printsongtoc
|
||||||
\clearpage
|
\clearpage
|
||||||
|
|
||||||
|
% --- Filler images can be placed between songs ---
|
||||||
|
% Example: \fillerpage{images/drawing.png}
|
||||||
|
|
||||||
% --- Songs (alphabetical) ---
|
% --- Songs (alphabetical) ---
|
||||||
\input{songs/abend-wird-es-wieder}
|
\input{songs/abend-wird-es-wieder}
|
||||||
\input{songs/auf-auf-zum-froehlichen-jagen}
|
\input{songs/auf-auf-zum-froehlichen-jagen}
|
||||||
|
|||||||
Reference in New Issue
Block a user