-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathheader.tex
91 lines (80 loc) · 3.81 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
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
% Colors
\definecolor{DarkBrown}{RGB}{80,70,60}
\setbeamercolor{description item}{fg=Orange}
\setbeamercolor{block title alerted}{fg=white,bg=DarkBrown}
\setbeamercolor{block title}{fg=white,bg=DarkBrown}
\setbeamercolor{frametitle}{bg=DarkBrown,fg=white}
% Packages
\usepackage{amsmath, bm, amssymb, amsthm, mathrsfs,pifont}
%\usepackage{enumitem,calc}
\usepackage[bb=boondox]{mathalfa}
\usepackage{url}
\usepackage{multirow, booktabs, float, textcmds, siunitx}
\usepackage{bm,booktabs,animate,ragged2e,multicol,microtype,hyperref}
\DeclareUnicodeCharacter{03BC}{$\mu$}
\usepackage{tikz}
% Figures
\graphicspath{{figs/}{tourism/}{energy/}}
\def\full#1{\vspace*{0.05cm}\centerline{\includegraphics[width=15cm,height=7.5cm,keepaspectratio=true]{#1}}}
% Fonts
\fontsize{13}{15}\sf
\usepackage[scale=0.85]{sourcecodepro}
\DisableLigatures{encoding = T1, family = tt*}
\usepackage{fontawesome}
% Monash title page
\setbeamertemplate{title page}
{\placefig{-0.01}{-0.01}{width=1.01\paperwidth,height=1.01\paperheight}{titlepage.png}
\placefig{0.2}{8}{width=4cm}{monash_bw}
\begin{textblock}{10.5}(.5,0.3)
{\fontsize{28}{40}\selectfont\bfseries\sffamily\color[RGB]{204,89,0}\raggedright
\inserttitle}
\end{textblock}
\begin{textblock}{7.5}(.5,2.5)
{\color[RGB]{130,92,68}\raggedright{\insertauthor}\quad\insertdate}
\end{textblock}
\begin{textblock}{4.2}(11.6,8.3)\pgfsetfillopacity{0.65}
\begin{beamercolorbox}[wd=4.3cm,ht=0.35cm,dp=0.2cm]{block body}
\fontsize{10}{10}\sf\color[RGB]{72,45,34}~\texttt{\href{https://robjhyndman.com/isf2020}{robjhyndman.com/isf2020}}
\end{beamercolorbox}
%\begin{beamerboxesrounded}[lower=block body, upper=block body]{}
%\fontsize{10}{10}\sf\color[RGB]{72,45,34}~\texttt{robjhyndman.com/isf2020}
%\end{beamerboxesrounded}
\end{textblock}
\begin{textblock}{6.2}(0,8.8)\pgfsetfillopacity{0.65}
\begin{beamercolorbox}[wd=4.2cm]{block body}
\fontsize{6}{6}\sf\color[RGB]{72,45,34}~Photo by \href{https://unsplash.com/@edvardr?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText}{Edvard Alexander Rølvaag} on \href{https://unsplash.com/s/photos/hierarchy?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText}{Unsplash}
\end{beamercolorbox}
\end{textblock}}
%\renewenvironment{Shaded}{\color{black}\begin{snugshade}\color{black}}{\end{snugshade}\columnbreak}
% Tikz plots
\usetikzlibrary{trees,shapes,arrows,matrix,shadows,positioning}
\tikzstyle{decision} = [diamond, draw, fill=blue!20,
text width=4.5em, text badly centered, node distance=4cm, inner sep=0pt]
\tikzstyle{block} = [rectangle, draw, fill=blue!20,
text width=5cm, text centered, rounded corners, minimum height=4em]
\tikzstyle{line} = [draw, thick, -latex']
\tikzstyle{cloud} = [draw, ellipse,fill=red!20, node distance=3cm,
minimum height=2em, text centered]
\tikzstyle{connector} = [->,thick]
\tikzset{
basic/.style = {draw, text width=2cm, font=\sffamily, rectangle},
root/.style = {basic, text width=3cm, rounded corners=2pt, thin, align=center, fill=red!30},
level 2a/.style = {basic, rounded corners=2pt, thin,align=center, fill=blue!50, text width=7em},
level 2b/.style = {basic, rounded corners=2pt, thin,align=center, fill=green!50, text width=7em},
level 3a/.style = {basic, rounded corners=2pt, thin, align=center, fill=blue!30, text width=4em},
level 3b/.style = {basic, rounded corners=2pt, thin, align=center, fill=green!30, text width=4em},
level 4a/.style = {basic, rounded corners=2pt, thin, align=left, fill=blue!10, text width=3.5em},
level 4b/.style = {basic, rounded corners=2pt, thin, align=left, fill=green!10, text width=3.5em}
}
% My definitions
\def\E{\text{E}}
\def\V{\text{Var}}
\def\bY{\bm{y}}
\def\by{\bm{y}}
\def\bS{\bm{S}}
\def\bG{\bm{G}}
\def\bSigma{\bm{\Sigma}}
\def\Var{\text{Var}}
\def\var{\text{Var}}
\newcommand{\btwocol}{\begin{multicols}{2}}
\newcommand{\etwocol}{\end{multicols}}