aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarvin Borner2021-01-27 18:10:29 +0100
committerMarvin Borner2021-01-27 18:10:29 +0100
commite7f36adca04323002d76293a3c1b7d131525ca6b (patch)
tree980004874329219eaa7ac246b595faa46c400396
parent4dcd091a25ccc57739357b3fc88425664740212a (diff)
Awesome
-rw-r--r--zeitung/figures/kordel.pngbin55566 -> 231868 bytes
-rw-r--r--zeitung/figures/rahmen.pngbin0 -> 110424 bytes
-rw-r--r--zeitung/figures/ring.pngbin82815 -> 247425 bytes
-rw-r--r--zeitung/font.ttfbin311636 -> 0 bytes
-rw-r--r--zeitung/main.tex13
-rw-r--r--zeitung/parts/studentprofiles.tex2
-rw-r--r--zeitung/parts/studenttemplate.tex17
7 files changed, 26 insertions, 6 deletions
diff --git a/zeitung/figures/kordel.png b/zeitung/figures/kordel.png
index da6b2c4..29cfcf2 100644
--- a/zeitung/figures/kordel.png
+++ b/zeitung/figures/kordel.png
Binary files differ
diff --git a/zeitung/figures/rahmen.png b/zeitung/figures/rahmen.png
new file mode 100644
index 0000000..ee18ee4
--- /dev/null
+++ b/zeitung/figures/rahmen.png
Binary files differ
diff --git a/zeitung/figures/ring.png b/zeitung/figures/ring.png
index 2fafac1..9ef3aaf 100644
--- a/zeitung/figures/ring.png
+++ b/zeitung/figures/ring.png
Binary files differ
diff --git a/zeitung/font.ttf b/zeitung/font.ttf
deleted file mode 100644
index 886789b..0000000
--- a/zeitung/font.ttf
+++ /dev/null
Binary files 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}
}