-
Notifications
You must be signed in to change notification settings - Fork 4
/
example.tex
206 lines (162 loc) · 4.54 KB
/
example.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
\documentclass[10pt,aspectratio=169,dvipsnames]{beamer}
\usetheme[]{Karlsruhe}
\setbeamertemplate{footline}{
\usebeamercolor[fg]{framesource}%
\usebeamerfont{page number in head}%
\hspace{0.2cm}
\small \insertframenumber
\vspace{0.2cm}
\doclicenseIcon
\hfill
\includegraphics[height=0.6cm]{graphics/kitlogo-eps-converted-to.pdf}
\hspace{0.2cm}
}
\setbeamercovered{transparent}
\setbeamertemplate{footline}[
myframe number]
% PACKAGES
\usepackage[absolute,overlay]{textpos}
\usepackage[utf8]{inputenc}
\usepackage[official]{eurosym}
\usepackage{booktabs}
\usepackage{parskip}
\usepackage{bm}
\usepackage{tikz}
\usepackage{adjustbox}
\usepackage[
type={CC},
modifier={by},
version={4.0},
]{doclicense}
% HYPERREFERENCES
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
citecolor=kit-blue100,
linkcolor=kit-blue100,
urlcolor=kit-blue100
}
% GRAPHICS
\graphicspath{{graphics/}}
\DeclareGraphicsExtensions{.pdf,.jpeg,.png,.jpg}
% FORMATTING
\setlength{\parskip}{6pt}
\linespread{1.1}
\newcommand{\seprule}{\par\noindent\textcolor{black!25}{\rule{\textwidth}{0.4pt}}}
% SOURCES
\setbeamercolor{framesource}{fg=gray}
\setbeamerfont{framesource}{size=\tiny}
\newcommand{\source}[1]{\begin{textblock*}{5cm}(8.6cm,8.25cm)
\begin{beamercolorbox}[ht=0.5cm,right]{framesource}
\usebeamerfont{framesource}\usebeamercolor[fg]{framesource} Source: {#1}
\end{beamercolorbox}
\end{textblock*}}
% COLOR TEXT
\newcommand{\bl}[1]{\textcolor{kit-blue100}{#1}}
\newcommand{\gr}[1]{\textcolor{kit-green100}{#1}}
\newcommand{\rd}[1]{\textcolor{kit-red100}{#1}}
\newcommand{\yl}[1]{\textcolor{kit-yellow100}{#1}}
\newcommand{\org}[1]{\textcolor{kit-orange100}{#1}}
\usepackage{array}% http://ctan.org/pkg/array
\makeatletter
\g@addto@macro{\endtabular}{\rowfont{}}% Clear row font
\makeatother
\newcommand{\rowfonttype}{}% Current row font
\newcommand{\rowfont}[1]{% Set current row font
\gdef\rowfonttype{#1}#1%
}
\newcolumntype{L}{>{\rowfonttype}l}
\newcolumntype{R}{>{\rowfonttype}r}
% FONT
%\usepackage{utopia}
% REFERENCES
%\usepackage[backend=biber,style=authoryear-comp]{biblatex}
%\bibliography{references.bib}
% TITLE PAGE
\title{Title of the Presentation}
\author{\bf Max Mustermann}
\institute[The University of Tatooine] % (optional, but mostly needed)
{
\normalsize
\href{mailto:max.mustermann@tatooine.edu}{max.mustermann@tatooine.edu}\\
The University of Tatooine\\
Institute for Themes and Templates
}
\date{\today}
\subject{Modelling the European Energy System}
\titlegraphic{%
\vspace{-1cm}
\hspace{-1cm}
\includegraphics[trim=4cm 2cm 2cm 2cm,height=1.3cm,clip=true]{graphics/helmholtz.eps}
\hspace{4cm}
\includegraphics[trim=0 0cm 0 0cm,height=1.3cm,clip=true]{graphics/kitlogo.eps}
}
\begin{document}
{
\setbeamertemplate{footline}{}
\maketitle
}
\addtocounter{framenumber}{-1}
\begin{frame}
\frametitle{Outline}
\setbeamertemplate{section in toc}[sections numbered]
\tableofcontents[hideallsubsections]
\end{frame}
\section{Bullet Point Section}
\begin{frame}{Enumerations}
\begin{enumerate}
\item Bullet point 1
\begin{itemize}
\item Bullet point 1
\item Bullet point 2
\item Bullet point 3
\end{itemize}
\item Bullet point 2
\begin{itemize}
\item Bullet point 1
\item Bullet point 2
\item Bullet point 3
\end{itemize}
\item Bullet point 3
\end{enumerate}
\source{\href{https://scholar.google.de/}{Google Scholar}}
\end{frame}
\section{Block Section}
\begin{frame}{Blocks}
\begin{block}{Regular Block}
\begin{itemize}
\item Bullet point 1
\item Bullet point 2
\end{itemize}
~\\
\end{block}
\begin{exampleblock}{Example Block}
\begin{itemize}
\item Bullet point 1
\item Bullet point 2
\end{itemize}
~\\
\end{exampleblock}
\begin{alertblock}{Alert Block}
\begin{itemize}
\item Bullet point 1
\item Bullet point 2
\end{itemize}
~\\
\end{alertblock}
\end{frame}
\section{Formula Section}
\begin{frame}{Mathematical Slides}
We have an \alert{objective function} $f: \mathbb{R}^k \to \mathbb{R}$
\begin{equation*}
\max_{x} f(x)
\end{equation*}
[$x = (x_1, \dots x_k)$] subject to some \alert{constraints} within $\mathbb{R}^k$:
\begin{align*}
g_i(x) & = c_i \hspace{1cm}\leftrightarrow\hspace{1cm} \lambda_i \hspace{1cm} i = 1,\dots n \\
h_j(x) & \leq d_j \hspace{1cm}\leftrightarrow\hspace{1cm} \mu_j \hspace{1cm} j = 1,\dots m
\end{align*}
$\lambda_i$ and $\mu_j$ are the \alert{KKT multipliers} (basically Lagrange multipliers) we introduce for
each constraint equation; it measures the change in the objective value of the optimal solution obtained by relaxing the constraint (shadow price).
\end{frame}
\end{document}