diff options
| author | ottjk <joshott16@gmail.com> | 2023-12-31 15:01:25 -0500 |
|---|---|---|
| committer | ottjk <joshott16@gmail.com> | 2023-12-31 15:01:25 -0500 |
| commit | 99baacb1f33acaea45b00e6661c29302b01562a6 (patch) | |
| tree | e0d6d6b87436ee15e745a89bcaf58f6daf6101e4 /texmf/tex/latex/ottmath.sty | |
| parent | fa8aa006e1628b47a2b34b0b800f71bd3beece2d (diff) | |
| download | dotfiles-99baacb1f33acaea45b00e6661c29302b01562a6.tar.gz dotfiles-99baacb1f33acaea45b00e6661c29302b01562a6.zip | |
sway and tex
Diffstat (limited to 'texmf/tex/latex/ottmath.sty')
| -rw-r--r-- | texmf/tex/latex/ottmath.sty | 19 |
1 files changed, 19 insertions, 0 deletions
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\;} |