diff options
Diffstat (limited to 'mathshit.sty')
-rw-r--r-- | mathshit.sty | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/mathshit.sty b/mathshit.sty index 5a9cd02..b4ca786 100644 --- a/mathshit.sty +++ b/mathshit.sty @@ -1,11 +1,13 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{mathshit}[2020/04/04 Math Shit] -\RequirePackage{framed} - \DeclareMathOperator{\dif}{d \!} +\DeclareMathOperator{\ord}{ord} +\DeclareMathOperator{\lcm}{lcm} + \newcommand{\norm}[1]{\left\lVert#1\right\rVert} \newcommand{\dist}[2]{\norm{#1 - #2}} +\newcommand{\cycle}[1]{\langle #1 \rangle} \makeatletter \newenvironment{sqcases}{% @@ -22,11 +24,7 @@ \makeatother \DeclareRobustCommand{\divby}{% - \mathrel{\vbox{\baselineskip.65ex\lineskiplimit0pt\hbox{.}\hbox{.}\hbox{.}}}% -} - -\newcommand{\dmquestion}[1]{ - \begin{center} \textbf{#1} \end{center} + \mathrel{\vbox{\baselineskip.5ex\lineskiplimit0pt\hbox{$.$}\hbox{$.$}\hbox{$.$}}}% } \newcommand{\br}[1]{\left( #1 \right)} |