diff options
Diffstat (limited to 'mathshit.sty')
-rw-r--r-- | mathshit.sty | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mathshit.sty b/mathshit.sty index b4ca786..2e892aa 100644 --- a/mathshit.sty +++ b/mathshit.sty @@ -1,6 +1,8 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{mathshit}[2020/04/04 Math Shit] +\RequirePackage{cancel} + \DeclareMathOperator{\dif}{d \!} \DeclareMathOperator{\ord}{ord} \DeclareMathOperator{\lcm}{lcm} @@ -26,6 +28,7 @@ \DeclareRobustCommand{\divby}{% \mathrel{\vbox{\baselineskip.5ex\lineskiplimit0pt\hbox{$.$}\hbox{$.$}\hbox{$.$}}}% } +\newcommand{\nodivby}{\cancel{\divby}} \newcommand{\br}[1]{\left( #1 \right)} \newcommand{\brac}[2]{ \br{ \frac{#1}{#2} } } |