From 99baacb1f33acaea45b00e6661c29302b01562a6 Mon Sep 17 00:00:00 2001 From: ottjk Date: Sun, 31 Dec 2023 15:01:25 -0500 Subject: sway and tex --- texmf/tex/latex/ottmath.sty | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 texmf/tex/latex/ottmath.sty (limited to 'texmf/tex/latex/ottmath.sty') diff --git a/texmf/tex/latex/ottmath.sty b/texmf/tex/latex/ottmath.sty new file mode 100644 index 0000000..b53ede0 --- /dev/null +++ b/texmf/tex/latex/ottmath.sty @@ -0,0 +1,19 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{ottmath}[2023/09/03] + +\newcommand{\diff}{\, d} +\newcommand{\pdiff}{\, \partial} +\newcommand{\od}[3][]{\frac{d{}^{#1}#2}{d{#3}^{#1}}} +\newcommand{\pd}[3][]{\frac{\partial{}^{#1}#2}{\partial{#3}^{#1}}} + +\newcommand\pvec[1]{\vec{#1}\,'} +\newcommand\Del{\vec{\nabla}} + +\newcommand\eval[1]{\Big| _{#1}} + +\renewcommand\mid{\; +\ifnum\currentgrouptype=16 + \middle| +\else + | +\fi\;} -- cgit v1.3