-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhead.tex
60 lines (43 loc) · 1.5 KB
/
head.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
55
56
57
58
59
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[iso,german]{isodate}
\usepackage{geometry}
\usepackage{enumitem}
\usepackage{hyperref}
\usepackage[inkscapeformat=png]{svg}
\usepackage{fancyhdr}
\usepackage{longtable}
\usepackage{inter}
\renewcommand\familydefault{\sfdefault}
\usepackage[onehalfspacing]{setspace}
\usepackage{xcolor}
\geometry{a4paper, left=20mm, right=20mm, top=30mm, bottom=30mm}
\usepackage{lastpage}
\fancyhead{}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0pt}
\fancyfoot{\textcolor{gray}{\small\version}}
\fancyfoot[L]{\textcolor{gray}{\thepage\space/\space\pageref{LastPage}}}
\fancyfoot[R]{\textcolor{gray}{\href{https://helpwave.de}{helpwave.de}}}
\setcounter{tocdepth}{1}
\setlength\parindent{0pt}
\usepackage{titlesec}
\titleformat{\subsection}[runin]{\normalfont\bfseries}{\thesubsection}{0.5em}{}[]
\titleformat{\subsubsection}[runin]{\normalfont\bfseries}{\thesubsubsection}{0.5em}{}[]
\def\Year{\expandafter\YEAR\the\year}
\def\YEAR#1#2#3#4{#1#2#3#4}
\newcommand{\documenttitle}[1]{\def\titlecontent{#1}}
\newcommand{\documentsubtitle}[1]{\def\subtitlecontent{#1}}
\newcommand{\documentsubsubtitle}[1]{\def\subsubtitlecontent{#1}}
\documenttitle{\ }
\documentsubtitle{\ }
\documentsubsubtitle{\ }
\usepackage{etoolbox}
\newbool{includeTOC}
\setbool{includeTOC}{true}
\newcommand{\disabletoc}{\setbool{includeTOC}{false}}
\newbool{includeTitle}
\setbool{includeTitle}{true}
\newcommand{\disabletitle}{\setbool{includeTitle}{false}}
\input{version}
\input{imprint}