summaryrefslogtreecommitdiff
path: root/fonts/newtx/tex/newtxmath.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-08-01 03:01:19 +0000
committerNorbert Preining <norbert@preining.info>2023-08-01 03:01:19 +0000
commit84777905249300f2ab97a23141e31f952bceb865 (patch)
tree5621415ee6ecbcbe62e4c500977af3c41aeebd9c /fonts/newtx/tex/newtxmath.sty
parent17d547a1effe2cafcdfbf704bdf8cb0484790ef2 (diff)
CTAN sync 202308010301
Diffstat (limited to 'fonts/newtx/tex/newtxmath.sty')
-rw-r--r--fonts/newtx/tex/newtxmath.sty26
1 files changed, 16 insertions, 10 deletions
diff --git a/fonts/newtx/tex/newtxmath.sty b/fonts/newtx/tex/newtxmath.sty
index 46a604cba5..aca652f572 100644
--- a/fonts/newtx/tex/newtxmath.sty
+++ b/fonts/newtx/tex/newtxmath.sty
@@ -11,8 +11,8 @@
% of glyph collisions.
% These modifications are by Michael Sharpe, msharpe at ucsd dot edu
-\def\fileversion{1.722}
-\def\filedate{2023/07/28}
+\def\fileversion{1.723}
+\def\filedate{2023/07/30}
\ProvidesPackage{newtxmath}[\filedate\space v\fileversion ]
\@ifundefined{newtxmathLoaded}{}{\endinput}
@@ -212,7 +212,7 @@
\DeclareOption{nosymbolsc}{\tx@symbolsCfalse}
\DeclareOption{libertine}{\tx@libertinetrue\tx@ntxmathfalse}
\DeclareOption{libertinus}{\tx@libertinustrue\tx@ntxmathfalse}
-\DeclareOption{minion}{\tx@miniontrue\tx@ntxmathfalse\tx@otfalse}
+\DeclareOption{minion}{\tx@miniontrue\tx@ntxmathfalse}
\DeclareOption{cochineal}{\tx@cochtrue\tx@ntxmathfalse}
\DeclareOption{garamondx}{\tx@gmtrue\tx@ntxmathfalse\tx@otfalse}
\DeclareOption{ebgaramond}{\tx@ebgmtrue\tx@ntxmathfalse\tx@otfalse}
@@ -220,13 +220,13 @@
\DeclareOption{Baskerville}{\tx@batrue\tx@ntxmathfalse}
\DeclareOption{baskervillef}{\tx@batrue\tx@ntxmathfalse}
\DeclareOption{BaskervilleF}{\tx@batrue\tx@ntxmathfalse}
-\DeclareOption{baskervaldx}{\tx@bvtrue\tx@ntxmathfalse\tx@otfalse}
-\DeclareOption{Baskervaldx}{\tx@bvtrue\tx@ntxmathfalse\tx@otfalse}
-\DeclareOption{utopia}{\tx@uttrue\tx@ntxmathfalse\tx@otfalse}
-\DeclareOption{heuristica}{\tx@uttrue\tx@ntxmathfalse\tx@otfalse}
-\DeclareOption{Heuristica}{\tx@uttrue\tx@ntxmathfalse\tx@otfalse}
-\DeclareOption{Erewhon}{\tx@uttrue\tx@ntxmathfalse\tx@otfalse}
-\DeclareOption{erewhon}{\tx@uttrue\tx@ntxmathfalse\tx@otfalse}
+\DeclareOption{baskervaldx}{\tx@bvtrue\tx@ntxmathfalse}
+\DeclareOption{Baskervaldx}{\tx@bvtrue\tx@ntxmathfalse}
+\DeclareOption{utopia}{\tx@uttrue\tx@ntxmathfalse}
+\DeclareOption{heuristica}{\tx@uttrue\tx@ntxmathfalse}
+\DeclareOption{Heuristica}{\tx@uttrue\tx@ntxmathfalse}
+\DeclareOption{Erewhon}{\tx@uttrue\tx@ntxmathfalse}
+\DeclareOption{erewhon}{\tx@uttrue\tx@ntxmathfalse}
\DeclareOption{charter}{\tx@chtrue\tx@ntxmathfalse}
\DeclareOption{xcharter}{\tx@chtrue\tx@ntxmathfalse}
\DeclareOption{cmintegrals}{\tx@cminttrue}
@@ -3223,4 +3223,10 @@ $\hfil\displaystyle{#1}\hfil$\crcr%
\providecommand*\Eqqcolon{\Eqcolon}
\providecommand*\Coloneq{\Colondash}
\providecommand*\Eqcolon{\Dashcolon}}
+
+% Fix for garamondx with siunitx
+\iftx@gm%
+ \AtEndPreamble{%
+ \@ifpackageloaded{siunitx} {\DeclareSIUnit\ohm{\text{\ensuremath\upOmega}}}{}}
+\fi
\endinput