diff options
-rw-r--r-- | zeitung/figures/bloed.png | bin | 0 -> 360178 bytes | |||
-rw-r--r-- | zeitung/figures/enkel.png | bin | 0 -> 386772 bytes | |||
-rw-r--r-- | zeitung/parts/studenttemplate.tex | 13 |
3 files changed, 9 insertions, 4 deletions
diff --git a/zeitung/figures/bloed.png b/zeitung/figures/bloed.png Binary files differnew file mode 100644 index 0000000..adfbc84 --- /dev/null +++ b/zeitung/figures/bloed.png diff --git a/zeitung/figures/enkel.png b/zeitung/figures/enkel.png Binary files differnew file mode 100644 index 0000000..5c89747 --- /dev/null +++ b/zeitung/figures/enkel.png diff --git a/zeitung/parts/studenttemplate.tex b/zeitung/parts/studenttemplate.tex index 0428e9b..b537b85 100644 --- a/zeitung/parts/studenttemplate.tex +++ b/zeitung/parts/studenttemplate.tex @@ -43,10 +43,11 @@ \AtTextUpperLeft{ \put(-\ringx + \ringoffset, -\ringy + \ringoffset){ \def\imgpath{parts/generated/students/figures/36_#1.jpg} - \IfFileExists{\imgpath} + \IfFileExists{\imgpath}{} { - \includegraphics[keepaspectratio=true, width=\frameimgwidth]{\imgpath} - }{} + \def\imgpath{bloed.png} + } + \includegraphics[keepaspectratio=true, width=\frameimgwidth]{\imgpath} } \put(-\ringx, -\ringy){ \includegraphics[keepaspectratio=true, width=\ringwidth]{ring.png} @@ -54,7 +55,11 @@ } \AtTextLowerLeft{ \put(\textwidth - \framex + \frameoffset, \framey + \frameoffset + 8pt){ - \dfincludegraphics[keepaspectratio=true, width=\frameimgwidth]{parts/generated/students/figures/11_#1.jpg} + \def\imgpath{parts/generated/students/figures/11_#1.jpg} + \IfFileExists{\imgpath}{}{ + \def\imgpath{enkel.png} + } + \includegraphics[keepaspectratio=true, width=\frameimgwidth]{\imgpath} } \put(\textwidth - \framex, \framey){ \oddflip[keepaspectratio=true, width=\framewidth]{rahmen.png} |