- Replace `generate-personalized` with unified `generate` target in Makefile, supporting event config integration. - Add YAML parsing to `generate_cards.py` for event-level placeholders and back side generation. - Update templates to include `EVENT_*` placeholders and dynamic content rendering. - Simplify `build` and `build-personalized` targets; consolidate redundant logic. - Enhance `make help` documentation for updated workflow. - Adjust LaTeX formatting for back side templates, removing hardcoded spacing.
185 lines
3.2 KiB
TeX
185 lines
3.2 KiB
TeX
\documentclass[a4paper,10pt,landscape]{article}
|
|
\usepackage[utf8]{inputenc}
|
|
\usepackage[T1]{fontenc}
|
|
\usepackage[landscape,top=0.8cm,bottom=0.8cm,left=0.8cm,right=0.8cm]{geometry}
|
|
\usepackage{array}
|
|
\usepackage{helvet}
|
|
|
|
% Set sans-serif font as default
|
|
\renewcommand{\familydefault}{\sfdefault}
|
|
|
|
\setlength{\parindent}{0pt}
|
|
\setlength{\tabcolsep}{3pt}
|
|
\pagestyle{empty}
|
|
|
|
\newcommand{\rowheight}{2.833cm}
|
|
|
|
\begin{document}
|
|
|
|
% Upper card table (rows 1-3)
|
|
\noindent
|
|
\begin{tabular}{|p{6.6cm}|p{6.6cm}|p{6.6cm}|p{6.6cm}|}
|
|
\hline
|
|
% Row 1
|
|
\parbox[c][\rowheight][t]{6.5cm}{%
|
|
\vspace{2mm}
|
|
\textbf{Nr. 1:} Km 0 -- Unisport\\
|
|
Nachtigallenweg 86, Bonn\\
|
|
\\
|
|
\textbf{Kontrollzeit}\\
|
|
von: 7:30\\
|
|
bis: 8:30}
|
|
&
|
|
\parbox[c][\rowheight][t]{6.5cm}{%
|
|
}
|
|
&
|
|
\parbox[c][\rowheight][t]{6.5cm}{%
|
|
\vspace{2mm}
|
|
\textbf{Nr. 4:} Km 165 -- Mahlberg Ecke K50,\\
|
|
Breitestraße\\
|
|
\textbf{Kontrollzeit}\\
|
|
von: 13:21\\
|
|
bis: 19:30}
|
|
&
|
|
\parbox[c][\rowheight][t]{6.5cm}{%
|
|
\vspace{2mm}
|
|
\textbf{Kontrollfrage:}\\
|
|
Wann wurde das Kriegerdenkmal\\
|
|
eingerichtet?}
|
|
\\
|
|
\hline
|
|
|
|
% Row 2
|
|
\parbox[c][\rowheight][t]{6.5cm}{%
|
|
\vspace{2mm}
|
|
\textbf{Nr. 2:} Km 57 -- ,,Nationalpark-Tor`` im\\
|
|
alten Bahnhofsgebäude, Heimbach\\
|
|
\\
|
|
\textbf{Kontrollzeit}\\
|
|
von: 9:11\\
|
|
bis: 12:21}
|
|
&
|
|
\parbox[c][\rowheight][t]{6.5cm}{%
|
|
}
|
|
&
|
|
\parbox[c][\rowheight][t]{6.5cm}{%
|
|
\vspace{2mm}
|
|
\textbf{Nr. 5:} Km 205 -- Unisport\\
|
|
Nachtigallenweg 86, Bonn\\
|
|
\\
|
|
\textbf{Kontrollzeit}\\
|
|
von: 13:23\\
|
|
bis: 21:00}
|
|
&
|
|
\parbox[c][\rowheight][t]{6.5cm}{%
|
|
}
|
|
\\
|
|
\hline
|
|
|
|
% Row 3
|
|
\parbox[c][\rowheight][t]{6.5cm}{%
|
|
\vspace{2mm}
|
|
\textbf{Nr. 3:} Km 100 -- Friterie ,,Au Petit\\
|
|
Creux`` oder Total-Tankstelle, Ecke Rue\\
|
|
de Botrange/Rue de Charmilles, Waimes\\
|
|
\textbf{Kontrollzeit}\\
|
|
von: 11:26\\
|
|
bis: 15:10}
|
|
&
|
|
\parbox[c][\rowheight][t]{6.5cm}{%
|
|
}
|
|
&
|
|
\parbox[c][\rowheight][t]{6.5cm}{%
|
|
}
|
|
&
|
|
\parbox[c][\rowheight][t]{6.5cm}{%
|
|
}
|
|
\\
|
|
\hline
|
|
\end{tabular}
|
|
|
|
\vspace{1.8cm}
|
|
|
|
% Lower card table (rows 1-3, identical)
|
|
\noindent
|
|
\begin{tabular}{|p{6.6cm}|p{6.6cm}|p{6.6cm}|p{6.6cm}|}
|
|
\hline
|
|
% Row 1
|
|
\parbox[c][\rowheight][t]{6.5cm}{%
|
|
\vspace{2mm}
|
|
\textbf{Nr. 1:} Km 0 -- Unisport\\
|
|
Nachtigallenweg 86, Bonn\\
|
|
\\
|
|
\textbf{Kontrollzeit}\\
|
|
von: 7:30\\
|
|
bis: 8:30}
|
|
&
|
|
\parbox[c][\rowheight][t]{6.5cm}{%
|
|
}
|
|
&
|
|
\parbox[c][\rowheight][t]{6.5cm}{%
|
|
\vspace{2mm}
|
|
\textbf{Nr. 4:} Km 165 -- Mahlberg Ecke K50,\\
|
|
Breitestraße\\
|
|
\textbf{Kontrollzeit}\\
|
|
von: 13:21\\
|
|
bis: 19:30}
|
|
&
|
|
\parbox[c][\rowheight][t]{6.5cm}{%
|
|
\vspace{2mm}
|
|
\textbf{Kontrollfrage:}\\
|
|
Wann wurde das Kriegerdenkmal\\
|
|
eingerichtet?}
|
|
\\
|
|
\hline
|
|
|
|
% Row 2
|
|
\parbox[c][\rowheight][t]{6.5cm}{%
|
|
\vspace{2mm}
|
|
\textbf{Nr. 2:} Km 57 -- ,,Nationalpark-Tor`` im\\
|
|
alten Bahnhofsgebäude, Heimbach\\
|
|
\\
|
|
\textbf{Kontrollzeit}\\
|
|
von: 9:11\\
|
|
bis: 12:21}
|
|
&
|
|
\parbox[c][\rowheight][t]{6.5cm}{%
|
|
}
|
|
&
|
|
\parbox[c][\rowheight][t]{6.5cm}{%
|
|
\vspace{2mm}
|
|
\textbf{Nr. 5:} Km 205 -- Unisport\\
|
|
Nachtigallenweg 86, Bonn\\
|
|
\\
|
|
\textbf{Kontrollzeit}\\
|
|
von: 13:23\\
|
|
bis: 21:00}
|
|
&
|
|
\parbox[c][\rowheight][t]{6.5cm}{%
|
|
}
|
|
\\
|
|
\hline
|
|
|
|
% Row 3
|
|
\parbox[c][\rowheight][t]{6.5cm}{%
|
|
\vspace{2mm}
|
|
\textbf{Nr. 3:} Km 100 -- Friterie ,,Au Petit\\
|
|
Creux`` oder Total-Tankstelle, Ecke Rue\\
|
|
de Botrange/Rue de Charmilles, Waimes\\
|
|
\textbf{Kontrollzeit}\\
|
|
von: 11:26\\
|
|
bis: 15:10}
|
|
&
|
|
\parbox[c][\rowheight][t]{6.5cm}{%
|
|
}
|
|
&
|
|
\parbox[c][\rowheight][t]{6.5cm}{%
|
|
}
|
|
&
|
|
\parbox[c][\rowheight][t]{6.5cm}{%
|
|
}
|
|
\\
|
|
\hline
|
|
\end{tabular}
|
|
|
|
\end{document} |