From 7c9b1bf8632a373e97e2440e9d5340cd490912ae Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Tue, 16 Nov 2021 16:02:08 +0100 Subject: [PATCH] Add command for absolute value --- commands.tex | 3 +++ report.tex | 1 + 2 files changed, 4 insertions(+) diff --git a/commands.tex b/commands.tex index 30fb30e3..3b529ca3 100644 --- a/commands.tex +++ b/commands.tex @@ -1 +1,4 @@ \newcommand{\eg}{\textit{e}.\textit{g}.} + +% absolute value +\DeclarePairedDelimiter\abs{\lvert}{\rvert}% diff --git a/report.tex b/report.tex index 54df6a91..8f9ea6d5 100644 --- a/report.tex +++ b/report.tex @@ -26,6 +26,7 @@ headsepline, \usepackage[english]{babel} % math stuff \usepackage{amsmath} +\usepackage{mathtools} % UTF-8 encoding \usepackage[utf8]{inputenc}