diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-05-07 16:59:37 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-05-07 16:59:37 +0200 |
| commit | 2362801d66ffc1e37b90e9c70c5bee849e7a70fb (patch) | |
| tree | c767267a9bfa599ea54c58d2f4ead44ca7b54d1f | |
| parent | b73b6c509905b095e9316996cafa6350675d37c4 (diff) | |
| download | unterricht-2362801d66ffc1e37b90e9c70c5bee849e7a70fb.tar.gz unterricht-2362801d66ffc1e37b90e9c70c5bee849e7a70fb.zip | |
update common latex code
use more tikz libraries and add new helper math command
| -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{ |
