From f642380d55c66e4e5deaaa6c7cef15f6dbfe36c6 Mon Sep 17 00:00:00 2001 From: syn Date: Wed, 15 Apr 2020 04:35:30 +0300 Subject: Reorganize & alg-1 --- mathshit.sty | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'mathshit.sty') 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)} -- cgit v1.2.1-18-gbd029