summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-10-08 23:20:21 +0000
committerKarl Berry <karl@freefriends.org>2012-10-08 23:20:21 +0000
commit885fc347fb3eeeb3cde5d256dcc9bf39a13193b2 (patch)
treee7cbd985c025e06cfdcb0633942490ae128c82d7 /Master/texmf-dist/tex/latex/newtx/newtxmath.sty
parent01109d99cf1878d8addf3fe39d2617ef3189915e (diff)
newtx (8oct12)
git-svn-id: svn://tug.org/texlive/trunk@27924 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/newtx/newtxmath.sty')
-rw-r--r--Master/texmf-dist/tex/latex/newtx/newtxmath.sty26
1 files changed, 23 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/newtx/newtxmath.sty b/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
index f973911fe69..c34291a2887 100644
--- a/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
+++ b/Master/texmf-dist/tex/latex/newtx/newtxmath.sty
@@ -10,11 +10,11 @@
% of glyph collisions.
% These modifications are by Michael Sharpe, msharpe at ucsd dot edu
-\def\fileversion{1.03}
-\def\filedate{2012/08/13}
+\def\fileversion{1.04}
+\def\filedate{2012/09/27}
\ProvidesPackage{newtxmath}
[\filedate\space v\fileversion]
-\@ifundefined{ntxmathLoaded}{}{\endinput}
+\@ifundefined{newtxmathLoaded}{}{\endinput}
\message{`newtxmath' v\fileversion, \filedate\space Math macros based on txfonts (msharpe)}
@@ -33,6 +33,7 @@
\newif\iftx@ams \newif\iftx@slantedG \newif\iftx@cmint \newif\iftx@braces
\newif\iftx@libertine \newif\iftx@varbb \newif\iftx@vvarbb \newif\iftx@symbolsC
\tx@symbolsCtrue
+\newif\iftx@altnu
\newif\iftx@minion \newif\iftx@libaltvw
\DeclareOption{varbb}{\tx@varbbtrue}
\DeclareOption{vvarbb}{\tx@vvarbbtrue}
@@ -46,12 +47,15 @@
\DeclareOption{amssymbols}{\tx@amstrue}
\DeclareOption{uprightGreek}{\tx@slantedGfalse}
\DeclareOption{slantedGreek}{\tx@slantedGtrue}
+\DeclareOption{altnu}{\tx@altnutrue}
\ExecuteOptions{%
amssymbols,uprightGreek}
\ProcessOptions*
% No varg option with option libertine or option minion
\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
+% altnu valid only with libertine
+\iftx@libertine\else\tx@altnufalse\fi
% Use existing text fonts for operators, mathrm, etc
\DeclareSymbolFont{operators}{\encodingdefault}{\rmdefault}{m}{n}
\iftx@libertine
@@ -959,6 +963,9 @@ amssymbols,uprightGreek}
\re@DeclareMathSymbol{\lambdaup}{\mathord}{lettersA}{21}
\re@DeclareMathSymbol{\muup}{\mathord}{lettersA}{22}
\re@DeclareMathSymbol{\nuup}{\mathord}{lettersA}{23}
+\iftx@altnu
+ \re@DeclareMathSymbol{\nuup}{\mathord}{lettersA}{40}
+\fi
\re@DeclareMathSymbol{\xiup}{\mathord}{lettersA}{24}
\re@DeclareMathSymbol{\piup}{\mathord}{lettersA}{25}
\re@DeclareMathSymbol{\rhoup}{\mathord}{lettersA}{26}
@@ -1244,6 +1251,19 @@ amssymbols,uprightGreek}
\bracerd\braceld%
\mkern-1mu\cleaders\hbox{$\mkern-.5mu\br@cext\mkern-.5mu$}\hfill\mkern-1mu\braceru$}
+\iftx@libertine%
+ \DeclareMathSymbol{0}{\mathalpha}{letters}{48}
+ \DeclareMathSymbol{1}{\mathalpha}{letters}{49}
+ \DeclareMathSymbol{2}{\mathalpha}{letters}{50}
+ \DeclareMathSymbol{3}{\mathalpha}{letters}{51}
+ \DeclareMathSymbol{4}{\mathalpha}{letters}{52}
+ \DeclareMathSymbol{5}{\mathalpha}{letters}{53}
+ \DeclareMathSymbol{6}{\mathalpha}{letters}{54}
+ \DeclareMathSymbol{7}{\mathalpha}{letters}{55}
+ \DeclareMathSymbol{8}{\mathalpha}{letters}{56}
+ \DeclareMathSymbol{9}{\mathalpha}{letters}{57}
+\fi
+
%%% \not redefined:
%%% \not= becomes \ne
%%% \not< becomes \nless