<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% Student template

\clearpage

% Returns a default file if not found
\providecommand\dfincludegraphics[2][]{
	\IfFileExists{#2}
	{
		\includegraphics[#1]{#2}
	}
	{
		%\fbox{File not found}
	}
}

\providecommand\studentimages[1]{%
	\checkoddpage

	% Ring
	\def\ringx{50pt}
	\def\ringy{250pt}
	\def\ringwidth{250pt}
	\def\ringimgwidth{180pt}
	\def\ringoffset{(\ringwidth - \ringimgwidth) / 2}
	\ifoddpage\else
		\def\ringx{-\paperwidth - 350pt} % ringwidth + 2 * ringx
	\fi
	\AddToShipoutPictureBG*{
		\AtTextUpperLeft{
			\put(-\ringx + \ringoffset, -\ringy + \ringoffset){
				\dfincludegraphics[keepaspectratio=true, width=\ringimgwidth]{parts/students/figures/bornerma.jpg}
			}
			\put(-\ringx, -\ringy){
				\oddflip[keepaspectratio=true, width=\ringwidth]{ring.png}
			}
		}
	}

	% Frame
	\def\framex{130pt}
	\def\framey{40pt}
	\def\framewidth{180pt}
	\def\frameimgwidth{160pt}
	\def\frameoffset{(\framewidth - \frameimgwidth) / 2}
	\ifoddpage\else
		\def\framex{518pt} % paperwidth - framewidth / 2
	\fi
	\AddToShipoutPictureBG*{
		\AtTextLowerLeft{
			\put(\textwidth - \framex + \frameoffset, \framey + \frameoffset){
				\dfincludegraphics[keepaspectratio=true, width=\frameimgwidth]{parts/students/figures/bornerma_child.jpg}
			}
			\put(\textwidth - \framex, \framey){
				\oddflip[keepaspectratio=true, width=\framewidth]{rahmen.png}
			}
		}
	}
}

\providecommand\studentprofile[8]{%
	\sectionmark{Steckbrief - #1}
	\checkoddpage

	% Steckbrief Tabelle
	\ifoddpage
		\def\tablex{12}
	\else
		\def\tablex{3}
	\fi
	\def\tabley{-5}
	\begin{tikzpicture}[overlay]
		\node[text width=250pt, align=left] at (\tablex, \tabley) {
			\Large{\begin{tabular}{@{}ll@{}}
					\textbf{Name:}           &amp; #1 \\
					\textbf{Geburtstag:}     &amp; #2 \\
					\textbf{Lieblingsfach:}  &amp; #3 \\
					\textbf{Hobbies:}        &amp; #4 \\
					\textbf{Lieblingsgenre:} &amp; #5 \\
				\end{tabular}}\\~\\
			\textbf{Das werde ich am meisten vermissen:}\\#6\\~\\
			\textbf{Ohne das hätte ich die Oberstufe nicht geschafft:}\\#7\\~\\
			\textbf{Lebensmotto:}\\#8\\~\\
		};
	\end{tikzpicture}
}

\providecommand\studenttable[2]{%
	\checkoddpage

	\ifoddpage
		\def\tablex{-1.25cm}
	\else
		\def\tablex{5cm}
	\fi

	\vskip 10cm
	\hspace*{\tablex}
	\Large{\begin{tabular}{@{}ll@{}}
			\textbf{Erkennungsmerkmale:} &amp; #1 \\
			\textbf{Zukunftspläne:}      &amp; #2 \\
		\end{tabular}}
}

\providecommand\studentcomments[1]{%
	\begin{figure}[H]
		\hspace*{-2.5cm}\includegraphics[keepaspectratio=true, width=\paperwidth]{mittelwelle.png}
	\end{figure}
}
</pre></body></html>