forked from ranea/Simple-Latex-Templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathslides.tex
138 lines (113 loc) · 3.17 KB
/
slides.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
% aspectratio = {43, 169}
% optional beamer argument: spanish
\documentclass[aspectratio=169,11pt]{beamer}
% - Compilation
% latexmk -lualatex slides.tex
% - Fonts
\usepackage{polyglossia} % hyphenation
\setdefaultlanguage{uk} % spanish
% \usepackage{fontspec} % to load fonts
\usepackage{microtype} % typographical improvements
% - Beamer specific
\usetheme[progressbar=frametitle, numbering=none]{metropolis}
% Maximizizing readibility
% \setsansfont[BoldFont={Fira Sans SemiBold}, ItalicFont={Fira Sans Italic}]{Fira Sans Book}
% \setsansfont[BoldFont={Fira Sans}, ItalicFont={Fira Sans Light Italic}]{Fira Sans Light}
% Beamer notes
\usepackage{pgfpages}
\setbeameroption{show notes on second screen} % or =bottom
\setbeamertemplate{note page}[plain]
\setbeamerfont{note page}{size=\footnotesize}
\addtobeamertemplate{note page}{\setlength{\parskip}{12pt}} % space between paragraphs
% - Math related
\usepackage{amsmath} % equation, align, matricies...
% \usepackage[standard]{ntheorem} % Theorem, Definition, Proof....
% \usepackage{amssymb} % extended symbol collection
% \usepackage{centernot} % centred \not command
% - Floats
\usepackage{graphicx} % \includegraphics[width=\textwidth]{filename}
\graphicspath{ {images/} }
\usepackage{booktabs} % prettier tables
% \usepackage{minted} % \begin{minted}[fontsize=...]{python}
% \usepackage{tikz}
% \usepackage{algorithm2e}
% - Others
% \usepackage{url} % \url
% \usepackage[margin=1in]{geometry} % standardized smaller margins
% \usepackage{enumitem} % \begin{enumerate}[label=\alph*)]
% \usepackage{caption} % \caption*
% \usepackage{xspace} % automatic space after newcommand
% \usepackage{todonotes}
% \usepackage[backend=biber]{biblatex}
% \addbibresource{references.bib}
% - New commands
% \newenvironment{tightcenter}{%
% \setlength\topsep{0pt}
% \setlength\parskip{0pt}
% \begin{center}
% }{%
% \end{center}
% }
% \DeclareMathOperator{\foo}{foo} % $ \foo(bar)
% \newcommand{\mycommand}[1]{\existingcommand{#1}}
% - Useful pieces of latex code
%%
% \begin{listing}[h]
% \begin{minted}{python}
% ...
% \end{minted}
% \caption{...}
% \label{...}
% \end{listing}
%%
% \begin{figure}[h]
% \centering
% \includegraphics[width=0.5\textwidth]{...}
% \caption{...}
% \label{...}
% \end{figure}
%%
% \begin{table*}[h]
% \centering
% \renewcommand*{\arraystretch}{1.2} % 1.3\end{table*}
% \begin{tabular}{@{}lrr@{}}
% \toprule
% \multicolumn{2}{c}{Item} \\ \cmidrule(r){2-3}
% Dimension & Metric1 & Metric2 \\
% \midrule
% A & X & 0 \\
% B & Y & 1 \\
% \bottomrule
% \end{tabular}
% \caption{...}
% \label{...}
% \end{table*}
%%%%%%%%%%%%%%%%%%%% DOCUMENT %%%%%%%%%%%%%%%%%%%%
% Title
\author{Name}
\title{Title
\note{
Note on the first slide
}}
\subtitle{}
% \date{\today}
% \institute{}
\begin{document}
\maketitle
\begin{frame}{Contents}
\setbeamertemplate{section in toc}[sections numbered]
\tableofcontents[hideallsubsections]
\note{
...
}
\end{frame}
\section{Section 1}
\begin{frame}{Body 1}
\note{\footnotesize{
...
}}
\end{frame}
\begin{frame}[standout]
Questions?
\end{frame}
\end{document}