summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/fonts/newtxsf/README6
-rw-r--r--Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty10
2 files changed, 11 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/fonts/newtxsf/README b/Master/texmf-dist/doc/fonts/newtxsf/README
index 42f688b6f27..bf696e0585b 100644
--- a/Master/texmf-dist/doc/fonts/newtxsf/README
+++ b/Master/texmf-dist/doc/fonts/newtxsf/README
@@ -2,7 +2,11 @@ This small package provides a math package that amounts to modifications of the
http://www.ctan.org/license/lppl1.3
for the details of that license.
-Current version: 1.03
+Current version: 1.04
+
+Changes in version 1.04
+Changes to definitions of \widehat and \widetilde in newtxmath.sty so they bahave as expected in nested accents.
+
Changes in version 1.03
1. Small corrections to accent positions.
diff --git a/Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty b/Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty
index 05af81b2d84..1d4fc672114 100644
--- a/Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty
+++ b/Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty
@@ -2,8 +2,8 @@
%
% Michael Sharpe, msharpe at ucsd dot edu
-\def\fileversion{1.03}
-\def\filedate{2015/07/04}
+\def\fileversion{1.04}
+\def\filedate{2016/01/11}
\ProvidesPackage{newtxsf}
[\filedate\space v\fileversion]
@@ -487,8 +487,10 @@ amssymbols,uprightGreek}
\DeclareMathSymbol{\grouplua}{\mathord}{largesymbols}{166}
\DeclareMathSymbol{\grouprua}{\mathord}{largesymbols}{167}
% Override default definitions of \widehat and \widetilde
-\re@DeclareMathAccent{\widehat}{\mathalpha}{largesymbols}{98}
-\re@DeclareMathAccent{\widetilde}{\mathalpha}{largesymbols}{101}
+%\re@DeclareMathAccent{\widehat}{\mathalpha}{largesymbols}{98}
+%\re@DeclareMathAccent{\widetilde}{\mathalpha}{largesymbols}{101}
+\xdef\widehat#1{\mathaccent"0\hexnumber@\symlargesymbols 62{#1}}
+\xdef\widetilde#1{\mathaccent"0\hexnumber@\symlargesymbols 65{#1}}
\def\overgroup#1{\mathop{\vbox{\ialign{##\crcr\noalign{\kern.4\p@}%
\downgroupfill\crcr\noalign{\kern1.5\p@\nointerlineskip}%