From 55b8806da4c2ca14827c37183d1c2edf4f7f2f49 Mon Sep 17 00:00:00 2001 From: syn Date: Wed, 15 Apr 2020 04:40:51 +0300 Subject: Cleaner main file --- mathshit.sty | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mathshit.sty') 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} } } -- cgit v1.2.1-18-gbd029