about summary refs log tree commit diff stats
path: root/common/latex/preamble/core/math.tex
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-03 13:20:43 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-03 13:20:43 +0200
commit55d71819679b20c2d26557d94eae6b505becaf6e (patch)
treefdc496aca7997b917668e5787514e2d157b67597 /common/latex/preamble/core/math.tex
parentchore(build): Re-generate (diff)
downloadflake-templates-55d71819679b20c2d26557d94eae6b505becaf6e.tar.gz
flake-templates-55d71819679b20c2d26557d94eae6b505becaf6e.zip
fix(common/latex/preamble): Fix compilation errors
Diffstat (limited to 'common/latex/preamble/core/math.tex')
-rw-r--r--common/latex/preamble/core/math.tex14
1 files changed, 8 insertions, 6 deletions
diff --git a/common/latex/preamble/core/math.tex b/common/latex/preamble/core/math.tex
index 35144df..170f57a 100644
--- a/common/latex/preamble/core/math.tex
+++ b/common/latex/preamble/core/math.tex
@@ -12,14 +12,16 @@
 \NewDocumentCommand\Z{}{\ensuremath{\mathbb{Z}}}
 \NewDocumentCommand\Q{}{\ensuremath{\mathbb{Q}}}
 \NewDocumentCommand\C{}{\ensuremath{\mathbb{C}}}
-\NewDocumentCommand\O{}{\ensuremath{\emptyset}} % replaces the Ø
+\let\originalO\O
+\RenewDocumentCommand\O{}{\ensuremath{\emptyset}} % replaces the Ø
 
 % readable limits
-\let\svlim\lim{}
-\renewcommand\lim{\svlim\limits}
+\let\originalLim\lim
+\RenewDocumentCommand\lim{}{\originalLim\limits}
 
 % aliases
-\let\implies\Rightarrow{}
-\let\impliedby\Leftarrow{}
+\let\implies\Rightarrow
+\let\impliedby\Leftarrow
 
-\let\epsilon{\varepsilon} % I like the textual epsilon more
+\let\originalEpsilon\epsilon
+\RenewDocumentCommand\epsilon{}{\varepsilon} % I like the textual epsilon more