aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarvin Borner2021-01-27 15:16:03 +0100
committerMarvin Borner2021-01-27 15:16:03 +0100
commit183741dc09d7b50ff49f001703ae1f4be8553aa2 (patch)
treebf88d92f36d1a5d554b15ce3b9365d19d3e75414
parent833a7316fce5dd2be52255da3d9bc0809ef74413 (diff)
ok
-rw-r--r--zeitung/main.tex9
-rw-r--r--zeitung/parts/studenttemplate.tex14
2 files changed, 14 insertions, 9 deletions
diff --git a/zeitung/main.tex b/zeitung/main.tex
index d52be97..b4d561e 100644
--- a/zeitung/main.tex
+++ b/zeitung/main.tex
@@ -14,7 +14,7 @@
\usepackage{fancyhdr}
% Font
-\setmainfont{"[font.ttf]"}
+\setmainfont{"[tierra-nueva.otf]"}[BoldFont="[tierra-nueva-bold.otf]"]
\sectionfont{\fontsize{20}{15}\selectfont}
% GERMAN
@@ -30,11 +30,12 @@
\fancyheadoffset{2.5cm}
\fancyfootoffset{2.5cm}
\fancyhf{}
-\fancyhead[L]{\hspace*{1cm}\huge{\leftmark}}
+\fancyhead[L]{\hspace*{0.5cm}\Huge{\rightmark}}
%\fancyhead[R]{Abitur 2021}
-\lfoot{\hspace*{1cm}\huge{\thepage}}
+\lfoot{\hspace*{0.5cm}\huge{\thepage}}
% Custom title command for header
+\renewcommand{\sectionmark}[1]{\markright{#1}}
\renewcommand{\title}[1]{
\par\refstepcounter{section}
\sectionmark{#1}
@@ -44,7 +45,7 @@
\begin{document}
\title{ABI Zeitung 2021}
-\author{des RBS Ulm}
+\author{RBS Ulm TG13}
% Updated: https://tex.stackexchange.com/a/7657
% Import all tex files from a directory
diff --git a/zeitung/parts/studenttemplate.tex b/zeitung/parts/studenttemplate.tex
index a0cbf45..fb55848 100644
--- a/zeitung/parts/studenttemplate.tex
+++ b/zeitung/parts/studenttemplate.tex
@@ -12,9 +12,13 @@
};
\def\studentinformation#1#2#3{
- \begin{tikzpicture}[overlay]
- \node[] at (11, -1) {\huge{Name: #1}};
- \node[] at (11, -2) {\huge{Wohnort: #2}};
- \node[] at (11, -3) {\huge{Geburtsdatum: #3}};
- \end{tikzpicture}
+ \begin{tikzpicture}[overlay]
+ \node[] at (11, -1) {
+ \Large{\begin{tabular}{ l l }
+ \textbf{Name:} & #1 \\
+ \textbf{Wohnort:} & #2 \\
+ \textbf{Geburtsdatum:} & #3
+ \end{tabular}}
+ };
+ \end{tikzpicture}
}