diff options
| -rw-r--r-- | latex/common.tex | 3 | ||||
| -rw-r--r-- | latex/common_packages.tex | 2 | ||||
| -rw-r--r-- | latex/test.cls | 1 |
3 files changed, 5 insertions, 1 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}% diff --git a/latex/common_packages.tex b/latex/common_packages.tex index 6320df4f..c32f140c 100644 --- a/latex/common_packages.tex +++ b/latex/common_packages.tex @@ -1,10 +1,12 @@ \RequirePackage{geometry} \RequirePackage[utf8]{inputenc} \RequirePackage{amssymb,amsthm,amsmath} +\RequirePackage{mathtools} \RequirePackage{ifthen} \RequirePackage{graphicx} \RequirePackage[table]{xcolor} \RequirePackage{tikz} +\usetikzlibrary{calc,tikzmark,backgrounds,arrows.meta} \RequirePackage{multicol} \RequirePackage[most]{tcolorbox} \RequirePackage{lmodern} diff --git a/latex/test.cls b/latex/test.cls index d58765dc..fa8ea0e1 100644 --- a/latex/test.cls +++ b/latex/test.cls @@ -29,7 +29,6 @@ \RequirePackage{everypage} \RequirePackage{tikzpagenodes} -\usetikzlibrary{backgrounds} \iftoggle{drawborder}{ \AddEverypageHook{ |
