diff options
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/fonts/newpx/README | 8 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/newpx/newpxmath.sty | 15 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/newpx/newpxtext.sty | 10 |
3 files changed, 24 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/fonts/newpx/README b/Master/texmf-dist/doc/fonts/newpx/README index f2a76ca1436..49466b658e4 100644 --- a/Master/texmf-dist/doc/fonts/newpx/README +++ b/Master/texmf-dist/doc/fonts/newpx/README @@ -1,10 +1,16 @@ This package, based initially on pxfonts, provides many fixes and enhancements to that package, splitting it in two parts---newpxtext and newpxmath---which may be run independently of one another. It provides scaling, improved metrics, and other options. For proper operation, the packages require that the packages newtxmath, pxfonts and TeXGyrePagella be installed and their map files enabled. The text package now relies on an extension of the TeXGyrePagella Type1 fonts that is provided with this package. The accompanying MANIFEST-newpx.txt provides details of the extension as requested by GUST-FONT-LICENSE.txt -Current version: 1.231 2015-04-06 +Current version: 1.232 2015-04-07 This material is subject to the LaTeX Project Public License. See http://www.ctan.org/license/lppl1.3 for the details of that license. +Changes in version 1.232 +1. Corrected definitions of \textsquare and \openbox in newtxmath. (Thanks, Jean-François Burnol.) +2. Added a new macro, \useproportional, to newpxtext.sty. It works analogously to \useosf, and may be useful if working with babel, where the option proportional to newpxtext should not be used if loading a math font. + + + Changes in version 1.231 Corrected definition of \tosfstyle in newpxtext.sty. diff --git a/Master/texmf-dist/tex/latex/newpx/newpxmath.sty b/Master/texmf-dist/tex/latex/newpx/newpxmath.sty index 94fe347c2b9..51d3e659310 100644 --- a/Master/texmf-dist/tex/latex/newpx/newpxmath.sty +++ b/Master/texmf-dist/tex/latex/newpx/newpxmath.sty @@ -11,8 +11,8 @@ % of glyph collisions. % These modifications are by Michael Sharpe, msharpe at ucsd dot edu -\def\fileversion{1.231} -\def\filedate{2015/04/06} +\def\fileversion{1.232} +\def\filedate{2015/04/07} \ProvidesPackage{newpxmath} [\filedate\space v\fileversion] \@ifundefined{newpxmathLoaded}{}{\endinput} @@ -1452,8 +1452,15 @@ $\hfil\displaystyle{#1}\hfil$\crcr% %%% %%% for AMS classes %%% -\DeclareRobustCommand{\textsquare}{\begingroup \usefont{U}{npxsya}{m}{n}\thr@@\endgroup} -\DeclareRobustCommand{\openbox}{\begingroup \usefont{U}{npxsya}{m}{n}\thr@@\endgroup} +\chardef\newpxmath@openbox 131 % was 3 in npxsya +\DeclareRobustCommand{\textsquare}{\begingroup + \usefont{U}{npxsym}{m}{n}\newpxmath@openbox\endgroup} +\DeclareRobustCommand{\openbox}{} +% the spaces below after openbox and textsquare should not be removed +\expandafter\let\csname openbox \expandafter\endcsname + \csname textsquare \endcsname +%\DeclareRobustCommand{\textsquare}{\begingroup \usefont{U}{npxsya}{m}{n}\thr@@\endgroup} +%\DeclareRobustCommand{\openbox}{\begingroup \usefont{U}{npxsya}{m}{n}\thr@@\endgroup} \def\defaultscriptratio{.73} % default is .7 \def\defaultscriptscriptratio{.55} % default is .5 diff --git a/Master/texmf-dist/tex/latex/newpx/newpxtext.sty b/Master/texmf-dist/tex/latex/newpx/newpxtext.sty index 20ea5e02984..77ec9790381 100644 --- a/Master/texmf-dist/tex/latex/newpx/newpxtext.sty +++ b/Master/texmf-dist/tex/latex/newpx/newpxtext.sty @@ -8,8 +8,8 @@ % Modified the definition of \k to bypass problem with grouping. % Text is now directed to an extension of TeXGyrePagella rather than ppl. -\def\fileversion{1.231} -\def\filedate{2015/04/06} +\def\fileversion{1.232} +\def\filedate{2015/04/07} \ProvidesPackage{newpxtext}[\filedate\space v\fileversion] \message{`newpxtext' v\fileversion, \filedate\space Text macros taking advantage of TeXGyre Pagella and its extensions (msharpe)} @@ -21,6 +21,8 @@ \renewcommand*{\rmdefault}{zpltlf} % the default until end of preamble \def\useosf{\edef\zpl@figurestyle{osf}} \@onlypreamble\useosf +\def\useproportional{\edef\zpl@figurealign{}} +\@onlypreamble\useproportional \newif\ifzpl@defaultsups \newif\ifzpl@adobesc % we don't use this exc. in fd, but may in future @@ -52,8 +54,8 @@ \DeclareOption{oldstyle}{\useosf} \DeclareOption{osf}{\useosf} \DeclareOption{tabular}{\edef\zpl@figurealign{t}} -\DeclareOption{p}{\edef\zpl@figurealign{}} -\DeclareOption{proportional}{\edef\zpl@figurealign{}} +\DeclareOption{p}{\useproportional} +\DeclareOption{proportional}{\useproportional} \DeclareOption{scosf}{\zpl@scosftrue} \DeclareOption{tighter}{% \gdef\zpl@spc{.25em}\gdef\zpl@stretch{.125em}\gdef\zpl@shrink{.1em}} |