diff options
author | syn <isaqtm@gmail.com> | 2020-04-15 04:35:30 +0300 |
---|---|---|
committer | syn <isaqtm@gmail.com> | 2020-04-15 04:35:30 +0300 |
commit | f642380d55c66e4e5deaaa6c7cef15f6dbfe36c6 (patch) | |
tree | 31ed9377de27678b376668131e0cbf8a8639ce16 /mathshit.sty | |
parent | 406cd62e6c18587b2859bf77434527f2ac87027d (diff) | |
download | tex2-f642380d55c66e4e5deaaa6c7cef15f6dbfe36c6.tar.gz |
Reorganize & alg-1
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)} |