-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathslides.tex
75 lines (60 loc) · 1.95 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
\documentclass[aspectratio=1610,t]{beamer}
% Colors
\usepackage{color}
\definecolor{mainorange}{HTML}{EC811B}
\definecolor{lightgrey}{HTML}{888888}
% Syntax highlighting
\usepackage{minted}
\usepackage{alltt}
\newcommand\hi[1]{{\color{mainorange} \textbf{#1}}}
% Theme
\usetheme[%
subsectionpage=progressbar,
numbering=fraction,
progressbar=foot,
]{metropolis}
% Customization
\setbeamertemplate{section in toc}[sections numbered]
\setbeamerfont{title}{size=\fontsize{30}{30}}
\setbeamerfont{block title}{size=\large}
\newcommand\sep{\textcolor{lightgrey}{\rule{\linewidth}{0.05mm}}}
% Meta
\title{Intro To Rust}
\date{\today}
\author{Danilo Bargen (@dbrgn), Raphael Nestler (@rnestler)}
\institute{Coredump Rapperswil}
\begin{document}
\pgfdeclareimage[width=\paperwidth]{bg}{background-dark.pdf}
\usebackgroundtemplate{\pgfuseimage{bg}}
\maketitle
% ----------------------------------------------------------------- %
\begin{frame}[plain,noframenumbering]
\frametitle{Outline}
\setcounter{tocdepth}{1}
\tableofcontents
\end{frame}
% ----------------------------------------------------------------- %
\pgfdeclareimage[width=\paperwidth]{bg}{background-light.pdf}
\usebackgroundtemplate{\pgfuseimage{bg}}
\input{sections/what_is_rust}
\input{sections/getting_started}
\input{sections/reading_rust}
\input{sections/what_is_type_safety}
\input{sections/memory_safety_in_rust}
\input{sections/multithreaded}
\input{sections/community}
% ----------------------------------------------------------------- %
{
\setbeamertemplate{footline}{}
\pgfdeclareimage[width=\paperwidth]{bg}{background-inverted.pdf}
\usebackgroundtemplate{\pgfuseimage{bg}}
\begin{frame}[standout]
\begin{centering}
{\Huge Thank you!}\\
{\normalsize \url{www.coredump.ch}}\\
{\footnotesize Slides: \url{https://github.com/coredump-ch/intro-to-rust}}\\
{\footnotesize Examples: \url{https://github.com/coredump-ch/intro-to-rust/tree/master/examples}}\\
\end{centering}
\end{frame}
}
\end{document}