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
|
% Options for packages loaded elsewhere
\PassOptionsToPackage{unicode}{hyperref}
\PassOptionsToPackage{hyphens}{url}
%
\documentclass[
ignorenonframetext,
aspectratio=169,
table]{beamer}
\usepackage{pgfpages}
\usepackage{amsmath,amssymb}
\usepackage{iftex}
% My default packages
\usepackage{tikz}
\usetikzlibrary{calc, positioning, tikzmark, shapes.arrows, arrows.meta}
\usepackage[school]{pgf-umlcd}
\usepackage{fontawesome5}
\usepackage{tabularx}
\usepackage{ulem}
\usepackage[most]{tcolorbox}
\usetikzlibrary{decorations.pathmorphing} % For my tcolorboxes
\newtcolorbox{merke}{
coltitle=white,
colbacktitle=orange!80!black,
colframe=orange!80!black,
colback=bg,
enhanced,
title=\bfseries {\large M}ERKE,
attach boxed title to top right={yshift=-0.28cm, xshift=-5mm},
frame code={
\draw[
decorate,
decoration={random steps, segment length=5mm, amplitude=0.6pt},
draw=orange!80!black
] (frame.north east) rectangle (frame.south west);
},
}
\newtcolorbox{pseudocode}{
coltitle=white,
colbacktitle=gray!30!black,
colframe=gray!30!black,
colback=bg,
enhanced,
title=\bfseries {\large P}SEUDOCODE,
attach boxed title to top right={yshift=-0.28cm, xshift=-5mm},
frame code={
\draw[
decorate,
decoration={random steps, segment length=5mm, amplitude=0.6pt},
draw=gray!30!black
] (frame.north east) rectangle (frame.south west);
},
}
% My commands
\newcommand{\boldred}[1]{\textcolor{red}{\textbf{#1}}}
\definecolor{ao(english)}{rgb}{0.0, 0.5, 0.0}
\newcommand{\boldgreen}[1]{\textcolor{ao(english)}{\textbf{#1}}}
\newcommand{\link}[1]{\textcolor{blue}{\underline{\url{#1}}}}
\newcommand{\beamersolution}[2]{%
\only<-\fpeval{#1-1}>{\textcolor{white}{#2}}%
\only<#1->{#2}%
}
\newcommand{\beamerpsolution}[2]{%
\only<-\fpeval{#1-1}>{\phantom{#2}}%
\only<#1->{#2}%
}
\ifluatex
\newcommand{\beamergap}[2]{\underLine{\beamersolution{#1}{#2}}}
\newcommand{\beamerpgap}[2]{\underLine{\beamerpsolution{#1}{#2}}}
\else
\newcommand{\beamergap}[2]{\uline{\beamersolution{#1}{#2}}}
\newcommand{\beamerpgap}[2]{\uline{\beamerpsolution{#1}{#2}}}
\fi
% Define the none counter to fix issues generating markdown tables:
% https://github.com/jgm/pandoc/issues/11201
\newcounter{none}
\begin{document}
\end{document}
|