-
Notifications
You must be signed in to change notification settings - Fork 6
/
BeamerEcon.tex
177 lines (143 loc) · 4.07 KB
/
BeamerEcon.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
% Copyright 2021 by Yannis Galanakis <[email protected]>
% February 2021
% This template is based on the beamerfontNord by Junwei Wang
% !TeX program = xelatex
\documentclass[compress,aspectratio=169, table]{beamer}
% theme
\usetheme[style=light]{Nord}
\usepackage{YGbeamer}
% title slide
\title[ShortTitle]{Long Title}
\subtitle{Subtitle}
\author{Yannis Galanakis}
\institute{University of Kent}
\date{February 2021}
%-------------------------------------------------------------------------
\begin{document}
\begin{frame}[plain,noframenumbering]
\maketitle
\end{frame}
\section{Appearance}
\begin{frame}[fragile]
\frametitle{Usage}
Simply include the following code in your preamble:
\begin{lstlisting}[basicstyle = \ttfamily\small]
\usetheme{Nord}
\end{lstlisting}
\bigskip
By default, the appearance is in dark theme, however you can actively choose a either a light or a
dark theme.
\begin{lstlisting}[basicstyle = \ttfamily\small]
\usetheme[style=light]{Nord}
\usetheme[style=dark]{Nord}
\end{lstlisting}
\end{frame}
\subsection{Colors}
\begin{frame}{Defined Colors}{This is a subtitle}
\begin{description}[Snow Storm]
\item[Polar Night]
\textcolor{NordDarkBlack}{NordDarkBlack} \quad \textcolor{NordBlack}{NordBlack}\\
\textcolor{NordMediumBlack}{NordMediumBlack} \quad \textcolor{NordBrightBlack}{NordBrightBlack}
\item[Snow Storm]
\textcolor{NordWhite}{NordWhite} \quad \textcolor{NordBrighterWhite}{NordBrightestWhite}\\
\textcolor{NordBrightestWhite}{NordBrightestWhite}
\item[Forest]
\textcolor{NordCyan}{NordCyan} \quad \textcolor{NordBrightCyan}{NordBrightCyan}\\
\textcolor{NordBlue}{NordBlue} \quad \textcolor{NordBrightBlue}{NordBrightBlue}
\item[Aurora]
\textcolor{NordRed}{NordRed} \quad \textcolor{NordOrange}{NordOrange} \\
\textcolor{NordYellow}{NordYellow} \quad \textcolor{NordGreen}{NordGreen} \\
\textcolor{NordMagenta}{NordMagenta}
\end{description}
\end{frame}
\subsection{Fonts}
\begin{frame}[fragile]{Recommended Free Fonts}
\begin{description}[Selected Fonts]
\item[Selected Fonts] recommended for this theme\\
\begin{lstlisting}[basicstyle = \ttfamily\small]
\setmainfont{Yanone Kaffeesatz}
\setsansfont{Fira Sans}
\setmonofont{DejaVu Sans Mono}
\end{lstlisting}
\item[Download] {\small \url{https://www.fontsquirrel.com/}}
\item[Install Fonts] {\small \url{https://www.google.com/get/noto/help/install/}}
\item[Compilation] compile with \XeLaTeX~to use system-wide fonts
\end{description}
\end{frame}
\subsection{Blocks}
\begin{frame}
\frametitle{Blocks}
\begin{block}{This is a Block}
\[
a^2 + b^2 = c^2
\]
\end{block}
\begin{exampleblock}{This is an Example Block}
\[
E = m \cdot c^{2}
\]
\end{exampleblock}
\begin{alertblock}{This is an Alert Block}
\[
e^{i\pi} + 1 = 0
\]
\end{alertblock}
\centering
\begin{minipage}{1.0\linewidth}
\begin{block}{Horizontally-Aligned Block}
\[
\log xy = \log x + \log y
\]
\end{block}
\end{minipage}
\end{frame}
\subsection{Items}
\begin{frame}{Items}
Itemize
\begin{itemize}
\item item 1
\item item 2
\end{itemize}
\bigskip
Enumerate
\begin{enumerate}
\item item 1
\item item 2
\end{enumerate}
\end{frame}
\subsection{Figures}
\begin{frame}{UK Economy}
\vspace*{-3em}
\begin{figure}
\centering
\include{figures/UK_economy}
\end{figure}
\end{frame}
%thank you slide
\begin{frame}[plain,noframenumbering]
\centering
{\Huge Thank you!}
\begin{minipage}{0.4\textwidth}\hspace*{2em}
\qrcode[height=1in, level=M]{https://ygalanak.github.io/}%
\end{minipage}%
\hfill
\begin{minipage}{0.4\textwidth}\hspace*{1em}
{ \large
\textcolor{NordBlue}{\faTwitter} @YannisGalanakis \\
\hspace*{1em} \textcolor{NordBlue}{\faEnvelope} [email protected]
}
\end{minipage}%
\end{frame}
%--------------------------------------------------
\appendix
\backupbegin
\begin{frame}{Appendix I}
A backup slide
\end{frame}
\backupend
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% TeX-engine: xetex
%%% End: