diff options
author | Marvin Borner | 2021-06-27 12:57:36 +0200 |
---|---|---|
committer | Marvin Borner | 2021-06-27 12:57:36 +0200 |
commit | 92163868ae2bfa4691640249df3bd6072e6418bd (patch) | |
tree | 770a7f7420244227763078f5053398c80efd3216 /zeitung/parts/studenttemplate.tex | |
parent | 3e70846a9c6c39faeb4522c17c4bfa1b8c15676e (diff) |
FLIPPIN
Diffstat (limited to 'zeitung/parts/studenttemplate.tex')
-rw-r--r-- | zeitung/parts/studenttemplate.tex | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/zeitung/parts/studenttemplate.tex b/zeitung/parts/studenttemplate.tex index b537b85..9f8f137 100644 --- a/zeitung/parts/studenttemplate.tex +++ b/zeitung/parts/studenttemplate.tex @@ -23,9 +23,9 @@ \def\ringwidth{250pt} \def\ringimgwidth{180pt} \def\ringoffset{(\ringwidth - \ringimgwidth) / 2} - \ifoddpage\else + \ifoddpage \def\ringx{-\paperwidth - 325pt} % ringwidth + 2 * ringx % Nope, idk anymore - \fi + \else\fi % Frame and QR-Code \def\framex{160pt} @@ -34,10 +34,10 @@ \def\frameimgwidth{160pt} \def\frameoffset{(\framewidth - \frameimgwidth) / 2} \def\qrcodex{90pt} - \ifoddpage\else + \ifoddpage \def\framex{540pt} % paperwidth - framewidth / 2 % Nope, idk anymore \def\qrcodex{470pt} - \fi + \else\fi \AddToShipoutPictureBG*{ \AtTextUpperLeft{ @@ -62,7 +62,7 @@ \includegraphics[keepaspectratio=true, width=\frameimgwidth]{\imgpath} } \put(\textwidth - \framex, \framey){ - \oddflip[keepaspectratio=true, width=\framewidth]{rahmen.png} + \evenflip[keepaspectratio=true, width=\framewidth]{rahmen.png} } \put(\textwidth - \qrcodex, \framey - 25pt){ \def\stdqrcode{#2} @@ -71,7 +71,7 @@ } } \put(\textwidth - \qrcodex, 250pt){ - \oddflip[keepaspectratio=true, height=3cm]{captain.png} + \evenflip[keepaspectratio=true, height=3cm]{captain.png} } } } @@ -79,11 +79,11 @@ % Steckbrief Tabelle \ifoddpage - \def\tablex{0.5\linewidth} - \def\tablewidth{0.55\linewidth} % Left side -\else \def\tablex{-0cm} \def\tablewidth{0.55\linewidth} % Right side +\else + \def\tablex{0.5\linewidth} + \def\tablewidth{0.55\linewidth} % Left side \fi \hspace*{\tablex}\vspace*{1.4cm}\begin{minipage}{\tablewidth} @@ -113,9 +113,9 @@ \providecommand\divider{ \begin{figure}[H] \ifoddpage - \hspace*{-1.5cm}\includegraphics[keepaspectratio=true, width=\paperwidth]{mittelwelle.png} - \else \hspace*{-1.5cm}\includegraphics[keepaspectratio=true, width=\paperwidth]{mittelwelle_r.png} + \else + \hspace*{-1.5cm}\includegraphics[keepaspectratio=true, width=\paperwidth]{mittelwelle.png} \fi \end{figure} } @@ -123,7 +123,7 @@ % Comments \def\commentswidth{0.7\linewidth} \ifoddpage - \def\commentsx{-0cm} -\else \def\commentsx{\framewidth} +\else + \def\commentsx{-0cm} \fi |