-
Notifications
You must be signed in to change notification settings - Fork 1
/
layout.tex
54 lines (43 loc) · 1.06 KB
/
layout.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
\newcommand{\mydate}{}
\newcommand{\newdate}[1]{\renewcommand{\mydate}{#1}}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyfoot[OC, EC]{}
\fancyfoot[EL, OR]{\textbf\thepage}
\fancyhead[ORH]{\textbf{\nouppercase\rightmark}}
\fancyhead[ELH]{\textbf{\nouppercase\leftmark}}
\fancyhead[ER, OL]{}
\usepackage{titlesec}
\titlespacing*{\chapter}{0pt}{-20pt}{20pt}
\titleformat{\chapter}[display]
{\bfseries\Large}
{\filleft\scshape{\chaptertitlename} \Huge\thechapter}
{4ex}
{\titlerule
\vspace{2ex}%
\filright}
[\vspace{2ex}%
\titlerule]
\makeatletter
\renewcommand{\maketitle}{
\begin{titlepage}
\begin{minipage}{\textwidth}
\begin{center}
\rule{12cm}{1.5pt}
\vspace{0.5cm}
{\Huge\bfseries \@title}
\vspace{.6cm}
{\LARGE \@date
\@author}
\vspace{1cm}
\rule{12cm}{1.5pt}
\includegraphics{images/comic}
\vspace{1cm}
{\LARGE Vorlesungsmitschrieb von \\[0.1\baselineskip] Patrick Arras \\[0.05\baselineskip] Jonas Müller \\[\baselineskip]
Heidelberg, den \today}
\end{center}
\end{minipage}
\end{titlepage}
}
\makeatother
\allowdisplaybreaks