summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/newtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-11-21 00:02:39 +0000
committerKarl Berry <karl@freefriends.org>2012-11-21 00:02:39 +0000
commita3a157d5f7b57ff875e31046aafd206af27de3dd (patch)
tree769b0ca974b920ed45c3bf6b700f60094b4ace7c /Master/texmf-dist/tex/latex/newtx
parentad8a6556471d695c571c22bd67934aabd74fdec5 (diff)
newtx (20nov12)
git-svn-id: svn://tug.org/texlive/trunk@28317 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/newtx')
-rw-r--r--Master/texmf-dist/tex/latex/newtx/newtxmath.sty21
1 files changed, 15 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/newtx/newtxmath.sty b/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
index 6a38ec837c4..2e5aa56067d 100644
--- a/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
+++ b/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
@@ -10,8 +10,8 @@
% of glyph collisions.
% These modifications are by Michael Sharpe, msharpe at ucsd dot edu
-\def\fileversion{1.05}
-\def\filedate{2012/11/10}
+\def\fileversion{1.06}
+\def\filedate{2012/11/19}
\ProvidesPackage{newtxmath}
[\filedate\space v\fileversion]
\@ifundefined{newtxmathLoaded}{}{\endinput}
@@ -33,6 +33,7 @@
\newcount\tx@Isdigit
\newif\iftx@ams \newif\iftx@slantedG \newif\iftx@cmint \newif\iftx@braces
\newif\iftx@libertine \newif\iftx@varbb \newif\iftx@vvarbb \newif\iftx@symbolsC
+\newif\iftx@gm
\tx@symbolsCtrue
\newif\iftx@altnu
\newif\iftx@largelibfigs
@@ -43,6 +44,7 @@
\DeclareOption{nosymbolsc}{\tx@symbolsCfalse}
\DeclareOption{libertine}{\tx@libertinetrue}
\DeclareOption{minion}{\tx@miniontrue}
+\DeclareOption{garamondx}{\tx@gmtrue}
\DeclareOption{cmintegrals}{\tx@cminttrue}
\DeclareOption{cmbraces}{\tx@bracestrue}
\DeclareOption{noamssymbols}{\tx@amsfalse}
@@ -55,9 +57,10 @@
amssymbols,uprightGreek}
\ProcessOptions*
-% No varg option with option libertine or option minion
+% No varg option with option libertine or option minion or garamond
\iftx@libertine\ifx\X@s@v@rg\undefined\else\let\X@s@v@rg\@undefined\fi\fi
\iftx@minion\ifx\X@s@v@rg\undefined\else\let\X@s@v@rg\@undefined\fi\fi
+\iftx@gm\ifx\X@s@v@rg\undefined\else\let\X@s@v@rg\@undefined\fi\fi
% altnu and largelibfigs valid only with libertine
\iftx@libertine\else\tx@altnufalse\tx@largelibfigsfalse\fi
% Use existing text fonts for operators, mathrm, etc
@@ -97,9 +100,15 @@ amssymbols,uprightGreek}
\SetSymbolFont{letters}{bold}{OML}{zmnmi}{b}{it}
\DeclareFontSubstitution{OML}{zmnmi}{m}{it}
\else
- \DeclareSymbolFont{letters}{OML}{ntxmi}{m}{it}
- \SetSymbolFont{letters}{bold}{OML}{ntxmi}{b}{it}
- \DeclareFontSubstitution{OML}{ntxmi}{m}{it}
+ \iftx@gm
+ \DeclareSymbolFont{letters}{OML}{zgmmi}{m}{it}
+ \SetSymbolFont{letters}{bold}{OML}{zgmmi}{b}{it}
+ \DeclareFontSubstitution{OML}{zgmmi}{m}{it}
+ \else
+ \DeclareSymbolFont{letters}{OML}{ntxmi}{m}{it}
+ \SetSymbolFont{letters}{bold}{OML}{ntxmi}{b}{it}
+ \DeclareFontSubstitution{OML}{ntxmi}{m}{it}
+ \fi
\fi
\fi
%%%%%%%%%%%%%%%%%