From 10e210d0b75e984bea766b2ae9bbd60737c3f9c6 Mon Sep 17 00:00:00 2001 From: Thelie Date: Sun, 7 Aug 2022 16:20:57 +0200 Subject: [PATCH] Some small changes --- tex/latex/dmart.cls | 3 ++- tex/latex/dmowitz.sty | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/tex/latex/dmart.cls b/tex/latex/dmart.cls index 641df8f..eb722df 100644 --- a/tex/latex/dmart.cls +++ b/tex/latex/dmart.cls @@ -7,7 +7,7 @@ \RequirePackage{siunitx} \RequirePackage{lmodern} \RequirePackage{amsfonts} -\RequirePackage{amsmath} +\RequirePackage[tbtags]{amsmath} \RequirePackage{bbold} \RequirePackage{dsfont} \RequirePackage{graphicx} @@ -21,6 +21,7 @@ \RequirePackage{fancyhdr} \pagestyle{fancy} \RequirePackage{hyperref} +\RequirePackage{slashed} \fancyhead[L]{Daniel Mowitz} diff --git a/tex/latex/dmowitz.sty b/tex/latex/dmowitz.sty index ae4215f..96ef9b0 100644 --- a/tex/latex/dmowitz.sty +++ b/tex/latex/dmowitz.sty @@ -38,6 +38,9 @@ \newcommand{\doubleunderline}[1]{\underline{\underline{#1}}} \newcommand{\qed}{\hfill$\square.$} \newcommand{\ezqed}{\hfill$\square$\kern-.65em \tiny ${}^{e\!z}$ \normalsize . } +\newcommand{\yeet}{% +(\raisebox{0.5em}{\rotatebox{-45}{)}}$^{\circ}{\scriptscriptstyle\Box}^{\circ}$)\raisebox{0.5em}{\rotatebox{-45}{)}}\rotatebox{90}{)}\raisebox{0.2em}{\LARGE \_\hskip-.1em\textvisiblespace\hskip-.1em\_} +} \allowdisplaybreaks %page break in align \newcommand{\lbr}{\quad \\} @@ -64,6 +67,7 @@ \newcommand{\twovec}[2]{\begin{bmatrix}#1 \\ #2\end{bmatrix}} \newcommand{\twocovec}[2]{\begin{bmatrix}#1 & #2\end{bmatrix}} \newcommand{\fourmat}[4]{\begin{bmatrix}#1 & #2 \\ #3 & #4\end{bmatrix}} +\newcommand{\sxtnmat}[16]{\begin{bmatrix}#1 & #2 & #3 & #4 \\ #5 & #6 & #7 & #8 \\ #9 & #10 & #11 & #12 \\ #13 & #14 & #15 & #16\end{bmatrix}} \newcommand{\ppow}[2]{#1^{(#2)}} \newcommand{\sandw}[3]{\bra{#1}#2\ket{#3}} \newcommand{\tsandw}[2]{\sandw{#1}{#2}{#1}} @@ -74,5 +78,10 @@ \newcommand{\delfrac}[2]{\frac{\partial #1}{\partial #2}} \newcommand{\timeder}[1]{\overset{.}{#1}} \newcommand{\lagdens}{\mathcal{L}} +\newcommand{\sgn}{\textrm{sgn}} + +\newlength{\intkern} +%\newcommand{\goodint}[3]{\settowidth{\intkern}{#3} \int_{#2}^{#3} \mkern-\intkern d#1 \;\,} +\newcommand{\goodint}[3]{\settowidth{\intkern}{#3} \int_{#2}^{#3} d#1 \;\,} % Environments