about summary refs log tree commit diff stats
path: root/common/latex/preamble/core/math.tex
diff options
context:
space:
mode:
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