forked from escape2020/school2021
-
Notifications
You must be signed in to change notification settings - Fork 0
/
header_maxnoe.tex
135 lines (119 loc) · 2.68 KB
/
header_maxnoe.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
\PassOptionsToPackage{
unicode,
pdfusetitle,
colorlinks,
linkcolor=vertexDarkRed,
urlcolor=vertexDarkRed,
citecolor=vertexDarkRed,
}{hyperref}
\documentclass[
aspectratio=1610,
]{beamer}
\usetheme{vertex}
\usepackage[american]{babel}
\usepackage[autostyle]{csquotes}
\usepackage{fontspec}
\usepackage{fontawesome5}
\usepackage{graphicx}
\usepackage{tabu}
\usepackage[outputdir=build]{minted}
\usepackage{xcolor}
\usepackage{xparse}
\usepackage{tcolorbox}
\tcbuselibrary{minted}
\tcbuselibrary{skins}
\tcbuselibrary{xparse}
\usepackage{accsupp}
\usepackage{tikz}
\usetikzlibrary{
graphs, arrows, positioning, graphdrawing
}
\usegdlibrary{trees,layered}
\usepackage{bookmark}
\usepackage[shortcuts]{extdash}
\definecolor{positive}{HTML}{15B01A}
\colorlet{negative}{vertexDarkRed}
\setmonofont{Fira Mono}
\newcommand\headline[1]{\textbf{\Large\strut{}#1}\newline}
\newcommand\headlineframe[1]{%
\begin{frame}[c]%
\begin{center}%
\Huge\color{vertexDarkRed}#1%
\end{center}%
\end{frame}%
}%
\renewcommand\theFancyVerbLine{%
\BeginAccSupp{method=escape,ActualText={}}%
{\ttfamily\tiny\arabic{FancyVerbLine}}%
\EndAccSupp{}%
}%
\tcbset{codebox/.style={
listing engine=minted,
colback=black!5!white,
colframe=vertexDarkGrey,
listing only,
left=5mm,
top=2pt,
bottom=0pt,
boxsep=3pt,
enhanced,
overlay={%
\begin{tcbclipinterior}
\fill[black!20!white] (frame.south west) rectangle ([xshift=5mm]frame.north west);
\end{tcbclipinterior}
},
}}
\DeclareTCBInputListing{inputcode} {O{} m m O{}} {
codebox,
listing file=#2,
minted language=#3,
minted options={
fontsize=\footnotesize,
breaklines,
autogobble,
linenos,
numbersep=3mm,
#4
},
#1
}
\DeclareTCBListing{code} {O{} m} {
codebox,
minted language=#2,
minted options={
fontsize=\footnotesize,
breaklines,
autogobble,
linenos,
numbersep=3mm
},
#1
}
\newcommand\copywarning{%
\begin{frame}[c]{Warning}%
\centering%
\Large\color{vertexDarkRed}%
\vspace{3\baselineskip}
\begin{columns}[onlytextwidth, c]%
\begin{column}{0.15\textwidth}%
\fontsize{60}{60}\selectfont%
\faIcon{biohazard}%
\end{column}%
\hfill%
\begin{column}{0.7\textwidth}%
\centering
Copying commands or code from PDF files is\\ \textbf{dangerous}
\end{column}%
\hfill%
\begin{column}{0.15\textwidth}%
\hfill%
\fontsize{60}{60}\selectfont%
\hfill\faIcon{radiation}%
\end{column}%
\end{columns}%
\vspace{2\baselineskip}
Copy from the example files in the repository or type by hand.
\bigskip
Typing by hand is best for learning.
\end{frame}
}