skript-rtg-lectures-ws1617.tex 2.08 KB
Newer Older
1
\documentclass[a4paper, 12pt, twoside]{report}
Jan-Bernhard Kordaß's avatar
Jan-Bernhard Kordaß committed
2
3
4

\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
5
\usepackage{lmodern}
Jan-Bernhard Kordaß's avatar
Jan-Bernhard Kordaß committed
6
7
8
9
10
11
12
13
14
15
16
17
18
19

\usepackage{fixltx2e}
\usepackage{ellipsis}
\usepackage{ragged2e}
\usepackage[tracking=true]{microtype}

\usepackage[english]{babel}
\usepackage[left=3cm,right=3cm,top=3cm,bottom=3cm]{geometry}

\usepackage{marginnote}
\usepackage{graphicx}
\usepackage{xcolor}

\usepackage{tikz}
20
21
\usepackage{tikz-cd}

Jan-Bernhard Kordaß's avatar
Jan-Bernhard Kordaß committed
22
23
24
25

\usepackage{setspace}
\renewcommand{\baselinestretch}{1.1} 

26
27
28
29
30
31
32
33
34
35
36
37
38
39
\usepackage{todonotes}
% get rid of rounded corners in todonotes
\makeatletter
\tikzstyle{notestyleraw}=[
draw=\@todonotes@currentbordercolor,
fill=\@todonotes@currentbackgroundcolor,
line width=0.6pt,
text width=\@todonotes@textwidth-1.6ex-1pt,
inner sep=0.8ex
]
\makeatother
% todonotes setup
\colorlet{draftnotesbgcolor}{orange}
\presetkeys{todonotes}{linecolor=draftnotesbgcolor, backgroundcolor=draftnotesbgcolor, bordercolor=draftnotesbgcolor, figcolor=white}{}
Jan-Bernhard Kordaß's avatar
Jan-Bernhard Kordaß committed
40
41
42
43
44
45
46
47
48
49

\usepackage{lecture-notes}


% boolean value to indicate if WorkingOn, EditorNote and AdditionalInfo produce visible output
\newboolean{showAdditionalContent}
% \setboolean{showAdditionalContent}{false}
\setboolean{showAdditionalContent}{true}


50
51
% \titleformat{\chapter}{\normalfont\Large\filcenter}{\thechapter.\hspace*{0.2cm}}{0cm}{#1}

Jan-Bernhard Kordaß's avatar
Jan-Bernhard Kordaß committed
52
53
% Setup headlines
\usepackage[explicit]{titlesec}
54
55
\titleformat{\section}{\normalfont\Large\filcenter}{\thesection.\hspace*{0.2cm}}{0cm}{#1}
%\titleformat{name=\section,numberless}{\normalfont\Large\filcenter}{}{0cm}{#1}w
Jan-Bernhard Kordaß's avatar
Jan-Bernhard Kordaß committed
56
57
\titlespacing{\section}{0cm}{0.6cm}{0.4cm}

58
59
60
\titleformat{\subsection}{\normalfont\large\filcenter}{\thesubsection.\hspace*{0.2cm}}{0cm}{#1}
\titlespacing{\subsection}{0cm}{0.6cm}{0.4cm}

Jan-Bernhard Kordaß's avatar
Jan-Bernhard Kordaß committed
61
62
% Setup table of contents
\usepackage[titles]{tocloft}
63
64
65
66
67
68
%\cftsetindents{section}{0cm}{2cm}
%\renewcommand\cftsecpresnum{Lecture }
%\crefname{section}{Lecture}{Lectures}

\renewcommand\thesection{\arabic{section}} 
\renewcommand\thechapter{\Roman{chapter}} 
Jan-Bernhard Kordaß's avatar
Jan-Bernhard Kordaß committed
69
70
71
72


\begin{document}

Jan-Bernhard Kordaß's avatar
Jan-Bernhard Kordaß committed
73
74
75
76
77
78
79
80
% cover page
\input{frontmatter}

\input{contents}

\nocite{*}
\bibliographystyle{amsalpha}
\bibliography{literature}
Jan-Bernhard Kordaß's avatar
Jan-Bernhard Kordaß committed
81

Jan-Bernhard Kordaß's avatar
Jan-Bernhard Kordaß committed
82
\printindex
Jan-Bernhard Kordaß's avatar
Jan-Bernhard Kordaß committed
83
84

\end{document}