From e7f36adca04323002d76293a3c1b7d131525ca6b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 27 Jan 2021 18:10:29 +0100 Subject: Awesome --- zeitung/figures/kordel.png | Bin 55566 -> 231868 bytes zeitung/figures/rahmen.png | Bin 0 -> 110424 bytes zeitung/figures/ring.png | Bin 82815 -> 247425 bytes zeitung/font.ttf | Bin 311636 -> 0 bytes zeitung/main.tex | 13 ++++++++----- zeitung/parts/studentprofiles.tex | 2 +- zeitung/parts/studenttemplate.tex | 17 +++++++++++++++++ 7 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 zeitung/figures/rahmen.png delete mode 100644 zeitung/font.ttf diff --git a/zeitung/figures/kordel.png b/zeitung/figures/kordel.png index da6b2c4..29cfcf2 100644 Binary files a/zeitung/figures/kordel.png and b/zeitung/figures/kordel.png differ diff --git a/zeitung/figures/rahmen.png b/zeitung/figures/rahmen.png new file mode 100644 index 0000000..ee18ee4 Binary files /dev/null and b/zeitung/figures/rahmen.png differ diff --git a/zeitung/figures/ring.png b/zeitung/figures/ring.png index 2fafac1..9ef3aaf 100644 Binary files a/zeitung/figures/ring.png and b/zeitung/figures/ring.png differ diff --git a/zeitung/font.ttf b/zeitung/font.ttf deleted file mode 100644 index 886789b..0000000 Binary files a/zeitung/font.ttf and /dev/null differ diff --git a/zeitung/main.tex b/zeitung/main.tex index 6a1c025..49a7496 100644 --- a/zeitung/main.tex +++ b/zeitung/main.tex @@ -9,9 +9,10 @@ \usepackage{afterpage} \usepackage{sectsty} \usepackage{tikz,float} -\usepackage{svg,lipsum} +\usepackage{svg,kantlipsum,lipsum} \usepackage{eso-pic} \usepackage{fancyhdr} +\usepackage{background} % Font \setmainfont{"[tierra-nueva.otf]"}[BoldFont="[tierra-nueva-bold.otf]"] @@ -25,15 +26,15 @@ \graphicspath{{figures/}} % Header & footer +\renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} -\setlength{\headheight}{30pt} -\addtolength{\topmargin}{-18pt} +\setlength{\headheight}{60pt} +\addtolength{\topmargin}{-35pt} \pagestyle{fancy} \fancyheadoffset{2.5cm} \fancyfootoffset{2.5cm} \fancyhf{} -\fancyhead[L]{\hspace*{1cm}\Huge{\rightmark}} -%\fancyhead[R]{Abitur 2021} +\fancyhead[L]{\hspace*{1cm}\vspace*{0.3cm}\Huge{\rightmark}} \fancyfoot[R]{\vspace*{-50pt}\includegraphics[keepaspectratio=true, width=\paperwidth]{welle.png}} \fancyfoot[L]{\vspace*{-1.3cm}\hspace*{3cm}\Huge{\thepage}} @@ -63,7 +64,9 @@ %\maketitle +\backgroundsetup{contents={}} \part{titlepage} +\backgroundsetup{contents={\includegraphics[keepaspectratio=true, width=\paperwidth]{kordel.png}},scale=1,placement=top,opacity=1,position=current page.north} \part{tableofcontents} \part{introduction} \part{classphoto} diff --git a/zeitung/parts/studentprofiles.tex b/zeitung/parts/studentprofiles.tex index f48e498..dcb3cb6 100644 --- a/zeitung/parts/studentprofiles.tex +++ b/zeitung/parts/studentprofiles.tex @@ -1,5 +1,5 @@ \title{Schülersteckbriefe} -Blabla irgendwas über Schüler und so +\kant[1-3] \newpage \inputall{parts/students/} diff --git a/zeitung/parts/studenttemplate.tex b/zeitung/parts/studenttemplate.tex index 21d4fd8..e7243e7 100644 --- a/zeitung/parts/studenttemplate.tex +++ b/zeitung/parts/studenttemplate.tex @@ -7,18 +7,21 @@ \clearpage \def\studentinformation#1#2#3#4#5#6{ + % Bild in Ring \begin{tikzpicture}[remember picture, overlay] \node[inner sep=0pt] at (2, -4) { \includegraphics[keepaspectratio=true, width=200pt]{parts/students/figures/#1.jpg} }; \end{tikzpicture} + % Ring \begin{tikzpicture}[remember picture, overlay] \node[inner sep=0pt] at (2, -4) { \includegraphics[keepaspectratio=true, width=250pt]{ring.png} }; \end{tikzpicture} + % Steckbrief Tabelle \sectionmark{Steckbrief - #2} \begin{tikzpicture}[overlay] \node[] at (11, -1) { @@ -31,4 +34,18 @@ \end{tabular}} }; \end{tikzpicture} + + % Bild in Rahmen + \begin{tikzpicture}[remember picture, overlay] + \node[inner sep=0pt] at (14, -17.5) { + \includegraphics[keepaspectratio=true, width=160pt]{parts/students/figures/#1_child.jpg} + }; + \end{tikzpicture} + + % Rahmen + \begin{tikzpicture}[remember picture, overlay] + \node[inner sep=0pt] at (14, -17) { + \includegraphics[keepaspectratio=true, width=180pt]{rahmen.png} + }; + \end{tikzpicture} } -- cgit v1.2.3