Files
brevetcard/brevetkarte-template.tex
T
Peter Adam b22f1f74a8 Increase card height to 9.5cm, add printer margins, and fix second card placement
- Extend card bottom from y=-7.2 to y=-8.2 (8.5cm → 9.5cm per card) so the
  second card naturally lands in the lower half of the page
- Increase all margins from 0.4cm to 0.6cm for printer compatibility; scale
  front tikzpicture x-axis to 0.990cm to compensate for narrower printable width
- Increase back side row height from 2.833cm to 3.167cm (matching new card height)
  and reduce column width from 7.0cm to 6.9cm to fit within new margins
- Reduce inter-card vspace from 0.8cm to 0.6cm to prevent second card page break

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 14:32:43 +02:00

127 lines
4.0 KiB
TeX

\documentclass[a4paper,10pt,landscape]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[landscape,top=0.6cm,bottom=0.6cm,left=0.6cm,right=0.6cm]{geometry}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{helvet}
\usepackage{hyperref}
% Set sans-serif font as default
\renewcommand{\familydefault}{\sfdefault}
% Define colors
\definecolor{headerblack}{RGB}{0,0,0}
% Configure hyperlinks to be black
\hypersetup{
colorlinks=true,
linkcolor=black,
urlcolor=black,
citecolor=black
}
\setlength{\parindent}{0pt}
\pagestyle{empty}
\begin{document}
% Brevet card for {{NAME}} (Start #{{STARTNR}})
\noindent
\begin{tikzpicture}[x=0.990cm,y=1cm]
% Black vertical separator lines (drawn first, extend through headers)
\draw[black,line width=0.5pt] (7.2,-8.2) -- (7.2,1.3);
\draw[black,line width=0.5pt] (14.4,-8.2) -- (14.4,1.3);
\draw[black,line width=0.5pt] (21.6,-8.2) -- (21.6,1.3);
% Black header boxes (drawn on top)
\fill[headerblack] (0,0) rectangle (7.2,1.3);
\node[white,align=center,font=\tiny,text width=6.9cm] at (3.6,0.65) {
Jeder Teilnehmer muss diese Brevetkarte zu jeder Zeit\\
mit sich führen und an den Kontrollen abstempeln lassen\\
bzw. Fotos erstellen.\\
\textbf{Ohne Kontrollzeiten und Zielzeit keine Wertung!}
};
\fill[headerblack] (7.2,0) rectangle (14.4,1.3);
\node[white,font=\Large] at (10.8,0.65) {HOMOLOGATION};
\fill[headerblack] (14.4,0) rectangle (21.6,1.3);
\node[white,font=\Large] at (18.0,0.65) {TEILNEHMER/-IN};
\fill[headerblack] (21.6,0) rectangle (28.8,1.3);
\node[white,align=center,font=\normalsize] at (25.2,0.75) {BREVET DES RANDONNEURS};
\node[white,font=\Large] at (25.2,0.35) {MONDIAUX};
% Column 1 - Rules (left section)
\node[anchor=north west,text width=6.9cm,font=\small,align=left] at (0.2,-0.3) {
\textbf{Es gelten die Regeln von}\\
\textbf{Randonneur Mondiaux}\\
\textbf{insbesondere:}
{\setlength{\leftmargini}{0.4cm}%
\begin{itemize}%
\setlength{\itemsep}{1pt}\setlength{\topsep}{2pt}\setlength{\parsep}{0pt}
\item Einhaltung der StVO
\item Beleuchtung und Sicherheitsweste/-Gurt
\item keine Abkürzungen
\item keine Begleitfahrzeuge
\item Rücksicht auf Teilnehmer und Umwelt
\item Rücksicht in den Kontrollen
\end{itemize}}
\hspace{0.3cm}$\Rightarrow$ \textbf{\underline{Bei Verstoß keine Wertung!}}\\[0.3cm]
};
\node[anchor=south west,text width=6.9cm,font=\small,align=left] at (0.2,-8.0) {
\textbf{AUDAX RANDONNEURS ALLEMAGNE E.V.}\\
\href{http://www.audax-randonneure.de}{www.audax-randonneure.de}\\
- gegründet 1992 in Hamburg -
};
% Column 2 - Homologation (middle-left section)
\node[anchor=north,text width=6.9cm,font=\small,align=center] at (10.8,-0.5) {
Der Randonnée wurde beendet in:\\[0.6cm]
\makebox[2cm]{\dotfill}h\makebox[2cm]{\dotfill}min
};
\node[anchor=center,font=\Large] at (10.8,-4.0) {
HOMOLOGATION
};
\node[anchor=south,text width=6.9cm,font=\small,align=center] at (10.8,-7.8) {
Brevet N° \makebox[5cm]{\dotfill}
};
% Column 3 - Participant Info (middle-right section)
\node[anchor=north west,text width=6.9cm,font=\small,align=left] at (14.6,-0.5) {
Name: {{NAME}}\\[0.4cm]
Straße: {{STREET}}\\[0.4cm]
PLZ/Ort: {{PLZ_ORT}}\\[0.4cm]
Land: {{LAND}}\\[0.4cm]
Medaille: {{MEDAILLE}}\\[0.6cm]
Startzeit: {{EVENT_STARTZEIT}}
};
% Column 4 - Event Info (right section)
\node[anchor=north,text width=6.9cm,align=center] at (25.2,-0.4) {
\includegraphics[width=5.5cm]{cyclist-logo.png}
};
\node[anchor=north,text width=6.9cm,font=\small,align=center] at (25.2,-2.2) {
\textbf{{{EVENT_TITLE}}}\\
Randonnée über \textbf{{{EVENT_KM}}} km\\
am \textbf{{{EVENT_DATE}}}\\
mit Start in \textbf{{{EVENT_START}}}\\
von \textbf{{{EVENT_CLUB}}}\\
N° ACP du Club \textbf{{{EVENT_CLUB_NR}}}
};
\node[anchor=south,text width=6.9cm,font=\scriptsize,align=center] at (25.2,-8.0) {
CONTRÔLÉE ET HOMOLOGUÉE EXCLUSIVEMENT PAR\\
\href{http://www.audax-club-parisien.com}{www.audax-club-parisien.com}\\
- Société fondée en 1904 -
};
\end{tikzpicture}