aboutsummaryrefslogtreecommitdiff
path: root/latex/common.tex
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-05-07 16:59:37 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-05-07 16:59:37 +0200
commit2362801d66ffc1e37b90e9c70c5bee849e7a70fb (patch)
treec767267a9bfa599ea54c58d2f4ead44ca7b54d1f /latex/common.tex
parentb73b6c509905b095e9316996cafa6350675d37c4 (diff)
downloadunterricht-2362801d66ffc1e37b90e9c70c5bee849e7a70fb.tar.gz
unterricht-2362801d66ffc1e37b90e9c70c5bee849e7a70fb.zip
update common latex code
use more tikz libraries and add new helper math command
Diffstat (limited to 'latex/common.tex')
-rw-r--r--latex/common.tex3
1 files changed, 3 insertions, 0 deletions
diff --git a/latex/common.tex b/latex/common.tex
index aa910764..d71a2492 100644
--- a/latex/common.tex
+++ b/latex/common.tex
@@ -23,3 +23,6 @@
\newcommand{\solution}[1]{\iftoggle{lehrerversion}{#1}{\phantom{#1}}}
\newcommand{\gap}[1]{\underline{\solution{#1}}}
+
+% Add new paired delimiter 'abs' using mathtools
+\DeclarePairedDelimiter\abs{\lvert}{\rvert}%