diff options
Diffstat (limited to 'zeitung')
-rw-r--r-- | zeitung/.gitignore | 3 | ||||
-rw-r--r-- | zeitung/parts/studentprofiles.tex | 6 | ||||
-rw-r--r-- | zeitung/parts/students/TGI13.1/.gitkeep (renamed from zeitung/parts/students/.gitkeep) | 0 | ||||
-rw-r--r-- | zeitung/parts/students/TGI13.2/.gitkeep | 0 | ||||
-rw-r--r-- | zeitung/parts/students/TGM13.1/.gitkeep | 0 | ||||
-rw-r--r-- | zeitung/parts/students/TGM13.2/.gitkeep | 0 | ||||
-rw-r--r-- | zeitung/parts/students/TGTM13.1/.gitkeep | 0 | ||||
-rw-r--r-- | zeitung/parts/studenttemplate.tex | 15 |
8 files changed, 20 insertions, 4 deletions
diff --git a/zeitung/.gitignore b/zeitung/.gitignore index 7f25e83..de1a9bd 100644 --- a/zeitung/.gitignore +++ b/zeitung/.gitignore @@ -1,5 +1,6 @@ build/ *.log svg-inkscape/ -parts/students/*.tex +parts/students/*/*.tex parts/students/figures/ +parts/test/ diff --git a/zeitung/parts/studentprofiles.tex b/zeitung/parts/studentprofiles.tex index dcb3cb6..67d69d0 100644 --- a/zeitung/parts/studentprofiles.tex +++ b/zeitung/parts/studentprofiles.tex @@ -2,4 +2,8 @@ \kant[1-3] \newpage -\inputall{parts/students/} +\inputall{parts/students/TGI13.1} +\inputall{parts/students/TGI13.2} +\inputall{parts/students/TGM13.1} +\inputall{parts/students/TGM13.2} +\inputall{parts/students/TGTM13.1} diff --git a/zeitung/parts/students/.gitkeep b/zeitung/parts/students/TGI13.1/.gitkeep index e69de29..e69de29 100644 --- a/zeitung/parts/students/.gitkeep +++ b/zeitung/parts/students/TGI13.1/.gitkeep diff --git a/zeitung/parts/students/TGI13.2/.gitkeep b/zeitung/parts/students/TGI13.2/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/zeitung/parts/students/TGI13.2/.gitkeep diff --git a/zeitung/parts/students/TGM13.1/.gitkeep b/zeitung/parts/students/TGM13.1/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/zeitung/parts/students/TGM13.1/.gitkeep diff --git a/zeitung/parts/students/TGM13.2/.gitkeep b/zeitung/parts/students/TGM13.2/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/zeitung/parts/students/TGM13.2/.gitkeep diff --git a/zeitung/parts/students/TGTM13.1/.gitkeep b/zeitung/parts/students/TGTM13.1/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/zeitung/parts/students/TGTM13.1/.gitkeep diff --git a/zeitung/parts/studenttemplate.tex b/zeitung/parts/studenttemplate.tex index 72e7763..2f3e3b0 100644 --- a/zeitung/parts/studenttemplate.tex +++ b/zeitung/parts/studenttemplate.tex @@ -2,6 +2,17 @@ \clearpage +% Returns a default file if not found +\providecommand\dfincludegraphics[2][]{ + \IfFileExists{#2} + { + \includegraphics[#1]{#2} + } + { + %\fbox{File not found} + } +} + \providecommand\studentimages[1]{% % Ring \def\ringx{50pt} @@ -12,7 +23,7 @@ \AddToShipoutPictureBG*{ \AtTextUpperLeft{ \put(-\ringx + \ringoffset, -\ringy + \ringoffset){ - \includegraphics[keepaspectratio=true, width=\ringimgwidth]{parts/students/figures/#1.jpg} + \dfincludegraphics[keepaspectratio=true, width=\ringimgwidth]{parts/students/figures/#1.jpg} } \put(-\ringx, -\ringy){ \includegraphics[keepaspectratio=true, width=\ringwidth]{ring.png} @@ -29,7 +40,7 @@ \AddToShipoutPictureBG*{ \AtTextLowerLeft{ \put(\textwidth - \framex + \frameoffset, \framey + \frameoffset){ - \includegraphics[keepaspectratio=true, width=\frameimgwidth]{parts/students/figures/#1_child.jpg} + \dfincludegraphics[keepaspectratio=true, width=\frameimgwidth]{parts/students/figures/#1_child.jpg} } \put(\textwidth - \framex, \framey){ \includegraphics[keepaspectratio=true, width=\framewidth]{rahmen.png} |