-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmaerskslides.cls
More file actions
168 lines (136 loc) · 5.72 KB
/
maerskslides.cls
File metadata and controls
168 lines (136 loc) · 5.72 KB
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
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{maerskslides}[2014/08/16 Example LaTeX class]
\LoadClass[table,onlymath,10pt, aspectratio=1610]{beamer}
\RequirePackage{xcolor}
\usepackage{etex}
\usepackage{dirtytalk}
\usepackage{tabularx}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{mathtools}
\usepackage[strict=true]{csquotes}
\usepackage{xcolor}
\usepackage{natbib}
\usepackage{amsmath,amssymb,textcomp}
\usepackage{bm}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage{capt-of}
\usepackage{listings}
\usepackage{booktabs}
\usepackage{multicol}
\usepackage{longtable}
\usepackage{zlmtt}
\usepackage{float}
\usepackage{fancyvrb}
\usepackage{verbatim}
\usepackage[english]{babel}
\usepackage{xspace}
\usepackage{url}
\usepackage{changepage}
\usepackage{amsthm}
\usepackage{mleftright}
\newtheorem{thm}{Theorem.}
\newtheorem{prop}{Proposition.}
\theoremstyle{definition}
\newtheorem{defn}[thm]{Definition.}
\newtheorem{exa}[thm]{Example}
\newcommand{\R}{\ensuremath{\mathbb{R}}}
\newcommand{\Real}{\ensuremath{\mathbb{R}}}
\newcommand{\Complex}{\ensuremath{\mathbb{C}}}
\newcommand{\Z}{\ensuremath{\mathbb{Z}}}
\newcommand{\N}{\ensuremath{\mathbb{N}}}
\newcommand{\norm}[1]{\ensuremath{\left\Vert#1\right\Vert}}
\newcommand{\var}{\text{Var}}
\newcommand{\cov}{\text{Cov}}
%\newcommand{\log}{\text{log }}
\newcommand{\cor}{\ensuremath{\mathbb{C}\text{or}}}
% \newcommand{\E}{\text{E}}
\newcommand{\pr}{\ensuremath{\mathbb{P}}}
\newcommand{\from}{\leftarrow}
\newcommand{\To}[2]{\ensuremath{#1\!\to\!#2}}
\newcommand{\From}[2]{\ensuremath{#1\!\from\!#2}}
\newcommand{\chain}[3]{\ensuremath{#1\!\to\!#2\to\!#3}}
\newcommand{\ichain}[3]{\ensuremath{#1\!\from\!#2\from\!#3}}
\newcommand{\fork}[3]{\ensuremath{#1\!\from\!#2\to\!#3}}
\newcommand{\ifork}[3]{\ensuremath{#1\!\to\!#2\from\!#3}}
\newcommand{\pa}{\text{pa}}
\newcommand{\abs}[1]{\ensuremath{\left\vert#1\right\vert}}
\newcommand{\ipr}[1]{\langle#1\rangle}
\newcommand{\set}[1]{\left{#1\right}}
\newcommand{\seq}[1]{\left<#1\right>}
\renewcommand{\subset}{\subseteq}
\renewcommand{\supset}{\supseteq}
\DeclareMathOperator*{\argmin}{arg\,min}
\DeclareMathOperator*{\argmax}{arg\,max}
\newcommand{\sgn}{\operatorname{sgn}}
\newcommand{\mvec}{\operatorname{vec}}
\newcommand{\logit}{\operatorname{logit}}
\newcommand{\tr}{\operatorname{tr}}
\newcommand{\im}{\operatorname{im}}
\newcommand{\diag}{\operatorname{diag}}
\newcommand{\bias}{\operatorname{bias}}
\newcommand{\rank}{\operatorname{rank}}
\newcommand{\Cov}[1]{\text{Cov} \mleft[#1 \mright]}
\newcommand{\Var}[1]{\text{Var} \mleft[#1 \mright]}
\newcommand{\E}[1]{\mathbb{E} \mleft[#1 \mright]}
\newcommand{\Question}{\textcolor{red}{Question: }}
\newcommand{\Assumptions}{\textbf{Assumptions: }}
\newcommand{\Objective}{\textbf{Objective: }}
\renewcommand{\newline}{\vspace{1em}}
\makeatletter
\def\mathcolor#1#{\@mathcolor{#1}}
\def\@mathcolor#1#2#3{%
\protect\leavevmode
\begingroup
\color#1{#2}#3%
\endgroup
}
\newcommand{\Dto}{\overset{\mathcal{D}}{\longrightarrow}}
\newcommand{\Pto}{\overset{P}{\longrightarrow}}
\newcommand{\Wto}{\overset{W}{\longrightarrow}}
\newcommand{\VV}{\bm{\Omega}_\theta}
\newcommand{\independenT}[2]{\mathrel{\setbox0\hbox{$#1#2$}\copy0\kern-\wd0\mkern4mu\box0}}
\newcommand{\indep}{\protect\mathpalette{\protect\independenT}{\perp}}
\DefineVerbatimEnvironment{verbatim}{Verbatim}{xleftmargin=0.5em,xrightmargin=0em,numbers=none,frame=none,fontsize=\footnotesize,formatcom={\color[rgb]{0.2,0.2,0.2}}}
\setlength{\parindent}{0pt} % Kills annoying indents.
\let\iint\relax
\let\iiint\relax
\lstset{basicstyle=\ttfamily\small,keywordstyle=\color{black},commentstyle=\color{gray}\ttfamily\itshape,stringstyle=\color[rgb]{0,0,0.5},columns=fullflexible,alsoletter=.,texcl=true,escapeinside={*@}{@*)},escapebegin=\lst@commentstyle\,,breaklines=true,breakatwhitespace=false,numbers=left,numberstyle=\ttfamily\tiny\color{gray},stepnumber=1,numbersep=10pt,backgroundcolor=\color{white},tabsize=4,showspaces=false,showstringspaces=false,xleftmargin=.23in,frame=lines
,rulesepcolor=\color[rgb]{0.85,0.85,0.85},basewidth={0.5em,0.42em},language=r,label=
,caption= ,captionpos=b}
\lstset{basicstyle=\ttfamily\small,keywordstyle=\color{black},commentstyle=\color{gray}\ttfamily\itshape,stringstyle=\color[rgb]{0,0,0.5},columns=fullflexible,alsoletter=.,texcl=true,escapeinside={*@}{@*)},escapebegin=\lst@commentstyle\,,breaklines=true,breakatwhitespace=false,numbers=left,numberstyle=\ttfamily\tiny\color{gray},stepnumber=1,numbersep=10pt,backgroundcolor=\color{white},tabsize=4,showspaces=false,showstringspaces=false,xleftmargin=.23in,frame=lines
,rulesepcolor=\color[rgb]{0.85,0.85,0.85},basewidth={0.5em,0.42em},language=python,label=
,caption= ,captionpos=b}
% macro to repeat frametile on consecutive slides
% \def\beamer@checkframetitle{%
% \begingroup
% \edef\temp{%
% \endgroup
% \noexpand\frametitle
% [\unexpanded\expandafter{\beamer@savedshortframetitle}]%
% {\unexpanded\expandafter{\beamer@savedframetitle}}%
% }
% \temp
% \@ifnextchar\bgroup\beamer@inlineframetitle{}}
% \long\def\beamer@@frametitle[#1]#2{%
% \beamer@ifempty{#2}{}{%
% \gdef\insertframetitle{{#2\ifnum\beamer@autobreakcount>0\relax{}\space\usebeamertemplate*{frametitle
% continuation}\fi}}%
% \gdef\beamer@frametitle{#2}%
% \gdef\beamer@shortframetitle{#1}%
% \global\let\beamer@savedshortframetitle\beamer@shortframetitle
% \global\let\beamer@savedframetitle\beamer@frametitle
% }%
% }
% \global\let\beamer@savedshortframetitle\@empty
% \global\let\beamer@savedframetitle\@empty
\newcommand{\noframetitle}{\frametitle{\\}}
%\usepackage{tikz}
\author{An author}
\date{\today}
\title{Some title}
\usepackage[nofooter]{beamerthememaersk}
\usepackage{beamercolorthememaersk}
\usefonttheme{serif}