summaryrefslogtreecommitdiffstats
path: root/mathshit.sty
diff options
context:
space:
mode:
authorsyn <isaqtm@gmail.com>2020-04-15 04:40:51 +0300
committersyn <isaqtm@gmail.com>2020-04-15 04:40:51 +0300
commit55b8806da4c2ca14827c37183d1c2edf4f7f2f49 (patch)
tree0adb8531968bd08347b5cda9fff89cabe8078172 /mathshit.sty
parentf642380d55c66e4e5deaaa6c7cef15f6dbfe36c6 (diff)
downloadtex2-55b8806da4c2ca14827c37183d1c2edf4f7f2f49.tar.gz
Cleaner main file
Diffstat (limited to 'mathshit.sty')
-rw-r--r--mathshit.sty3
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} } }