summaryrefslogtreecommitdiffstats
path: root/mathshit.sty
diff options
context:
space:
mode:
authorsyn <isaqtm@gmail.com>2020-04-15 04:35:30 +0300
committersyn <isaqtm@gmail.com>2020-04-15 04:35:30 +0300
commitf642380d55c66e4e5deaaa6c7cef15f6dbfe36c6 (patch)
tree31ed9377de27678b376668131e0cbf8a8639ce16 /mathshit.sty
parent406cd62e6c18587b2859bf77434527f2ac87027d (diff)
downloadtex2-f642380d55c66e4e5deaaa6c7cef15f6dbfe36c6.tar.gz
Reorganize & alg-1
Diffstat (limited to 'mathshit.sty')
-rw-r--r--mathshit.sty12
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)}