aboutsummaryrefslogtreecommitdiff
path: root/latex/common.tex
diff options
context:
space:
mode:
Diffstat (limited to 'latex/common.tex')
-rw-r--r--latex/common.tex34
1 files changed, 34 insertions, 0 deletions
diff --git a/latex/common.tex b/latex/common.tex
index 2111f6d7..5ccc9686 100644
--- a/latex/common.tex
+++ b/latex/common.tex
@@ -207,4 +207,38 @@
\newtcolorbox{defbox}[1]{breakable, enhanced, colback=orange!5!white,colframe=orange!75!black,title=#1}
+\newtcolorbox{merke}{
+ coltitle=white,
+ colbacktitle=orange!80!black,
+ colframe=orange!80!black,
+ 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,
+ 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);
+ },
+}
+
+
\newcommand{\boldred}[1]{\textcolor{red}{\textbf{#1}}}
+\newcommand{\boldgreen}[1]{\textcolor{green!70!black}{\textbf{#1}}}