To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

header.tex 2.17 KB
Newer Older
Horea Christian's avatar
Horea Christian committed
1
\documentclass[aspectratio=169]{beamer}
2
\usepackage[T1]{fontenc} % the pipe character doesn't display properly without this
Horea Christian's avatar
Horea Christian committed
3
4
5
6
\usepackage[utf8]{inputenc}
\usepackage{listings}
\usepackage{color}
\usepackage{datapie}
7
\usepackage{minted} % COMPILE WITH `pdflatex -shell-escape`!
Horea Christian's avatar
Horea Christian committed
8
9
\usepackage{multicol}
\usepackage{upgreek}
10
11
\usepackage{siunitx} % pretty measurement unit rendering
\usepackage{hyperref} % enable hyperlink for URLs
Horea Christian's avatar
Horea Christian committed
12
13
\usepackage{lmodern}
\usepackage{setspace}
14
\usepackage[os=win]{menukeys} % by default keys are given for MacOS
Horea Christian's avatar
Horea Christian committed
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

\usefonttheme[onlymath]{serif}
\setcounter{MaxMatrixCols}{20}

\DeclareSIUnit\pixel{px}

\usecolortheme[RGB={37,68,113}]{structure}
\usetheme{Dresden}

\newenvironment{figurehere}
{\def\@captype{figure}}
{}
\makeatother

%Define generic colors
\definecolor{slg}{gray}{0.25}
31
\definecolor{lg}{gray}{0.53}
Horea Christian's avatar
Horea Christian committed
32
\definecolor{vlg}{gray}{0.73}
33
\definecolor{tlg}{gray}{0.91}
Horea Christian's avatar
Horea Christian committed
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79

%Define data colors
\definecolor{mygreen}{rgb}{0,0.6,0}
\definecolor{mygray}{rgb}{0.5,0.5,0.5}
\definecolor{mymauve}{rgb}{0.58,0,0.82}

%Define TheAlt colors
\definecolor{ldorange}{HTML}{F18A20}
\definecolor{ldblue}{HTML}{254471}

%Apply TheAlt colors to theme
\setbeamercolor{section in head/foot}{fg=ldorange}
\setbeamercolor{author in head/foot}{fg=white}
\setbeamercolor{subsection in head/foot}{fg=white}
\setbeamercolor{caption name}{fg=vlg}
\setbeamercolor{caption}{fg=vlg}
\setbeamercolor{frametitle}{fg=ldblue}
\setbeamercolor{title}{fg=ldorange}
\setbeamercolor{institute}{fg=ldblue}

\setbeamerfont{title}{series=\bfseries}

\setbeamertemplate{caption}{\raggedright\insertcaption\par}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{bibliography item}[text]

\lstdefinestyle{customc}{
	belowcaptionskip=1\baselineskip,
	captionpos=,
	breaklines=true,
	frame=L,
	xleftmargin=\parindent,
	language=C,
	showstringspaces=false,
	basicstyle=\scriptsize\ttfamily,
	rulecolor=\color{tlg},
	backgroundcolor=\color{tlg},
	fillcolor=\color{tlg},
	rulesepcolor=\color{tlg},
	keywordstyle=\bfseries\color{green!40!black},
	commentstyle=\itshape\color{purple!40!black},
	identifierstyle=\color{blue},
	stringstyle=\color{orange},
}

\lstset{language=C,caption={Descriptive Caption Text},label=DescriptiveLabel}