-
Notifications
You must be signed in to change notification settings - Fork 9
/
header.tex
38 lines (30 loc) · 1.13 KB
/
header.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
\usepackage{fancyhdr}
\makeatletter
%\@ifpackageloaded{xcolor}{}{\usepackage{xcolor}}
\makeatother
%set up page style
\pagestyle{plain}
\fancypagestyle{plain}{
\fancyhf{}
\fancyhead[R]{ \includegraphics[width=4cm]{mirai.pdf}}
\fancyfoot[L]{\copyright~\the\year~Mirai Solutions GmbH}
\fancyfoot[R]{Generated by SmaRP \SmaRPVersion}
\fancyfoot[C]{\thepage}
\renewcommand*{\headrulewidth}{0pt}
%\renewcommand*{\footrulewidth}{0.4pt}
}
\pagestyle{plain}
% Support for multi-column output
\newcommand{\columnsbegin}{\begin{columns}}
\newcommand{\columnsend}{\end{columns}}
\newcommand{\solutionsbegin}{\begin{solutions}}
\newcommand{\solutionsend}{\end{solutions}}
% Decreasing space between commands and output in knitr chunks
% See http://stackoverflow.com/questions/34866163/decreasing-space-between-commands-and-output-in-knitr-chunks
\makeatletter
\preto{\@verbatim}{\topsep=0pt \partopsep=0pt}
\makeatother
% Define Mirai blue
%\definecolor{mirai}{rgb}{0.243,0.565,0.804}
% Define colors
\hypersetup{colorlinks,citecolor=[rgb]{0.243,0.565,0.804},filecolor=[rgb]{0.243,0.565,0.804},linkcolor=[rgb]{0.243,0.565,0.804},urlcolor=[rgb]{0.243,0.565,0.804}}