diff options
author | Karl Berry <karl@freefriends.org> | 2017-06-04 23:49:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-06-04 23:49:32 +0000 |
commit | 0d21d2e5515bdeb022e32adf30afebdf4b229866 (patch) | |
tree | cd3433dbd4e3f5346c684b76b2fea8d4b408fa13 | |
parent | 6308a28c98e8070b0e12ca3598864c94cd2d4428 (diff) |
newpx (1jun17)
git-svn-id: svn://tug.org/texlive/trunk@44457 c570f23f-e606-0410-a88d-b1316a301751
19 files changed, 78 insertions, 35 deletions
diff --git a/Master/texmf-dist/doc/fonts/newpx/README b/Master/texmf-dist/doc/fonts/newpx/README index db0de689405..1873303c7d8 100644 --- a/Master/texmf-dist/doc/fonts/newpx/README +++ b/Master/texmf-dist/doc/fonts/newpx/README @@ -1,10 +1,18 @@ 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.318 2017-03-11 +Current version: 1.32 2017-05-31 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.32 +1. Reworked a number of math accents that appeared to lie too close to their accentees. The new versions are in symbols, leaving the one in operators unchanged. +2. Added a new math symbol, \transp, that can be used for matrix transpose. See the documentation file for details. + +Changes in version 1.319 +Modified newpxtext.sty so that footnotes work as expected with the KOMAScript classes and with scrextend.sty. In prior versions, multiple footnote markers were not separated correctly under the KOMA option +footnotes=multiple. + Changes in version 1.318 Modified newpxtext.sty so that text figure styles are selected always in the \AtEndPreamble hook. (Formerly, using babel would prevent this.) diff --git a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf Binary files differindex d897aa1aeab..94e091de7d8 100644 --- a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf +++ b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf diff --git a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex index ae6327ae5ad..28f800b1cf6 100644 --- a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex +++ b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex @@ -116,7 +116,7 @@ This is Theorem Italic: text numbers are upright---12345; punctuation is in many If you are using another theorem package (e.g., ntheorem, theorem) you will have to add your own descriptors as specified in the its documentation and set the body font to \verb|\slshape|. -Superior letters and figures may be called with either \verb|{\sustyle ...}| or \verb|\textsu{...}|, so you can emulate $18$\textsu{th} century orthography such as J\textsu{os} W\textsu{m} Smith, or print French style with , e.g., $1$\textsu{i\`ere}, M\textsu{me} Dubois or M\textsu{lle} D'Orleans. +Superior letters and figures may be called with either \verb|{\sustyle ...}| or \verb|\textsu{...}|, so you can emulate $18$\textsu{th} century orthography such as J\textsu{os} W\textsu{m} Smith, or print French style with , e.g., $1$\textsu{i\`ere}, M\textsu{me} Dubois or M\textsu{lle} D'Orl\'eans. The next two sections describe options to {\tt newpxtext} of more specialized nature. @@ -260,6 +260,17 @@ causes no error, unlike the same combination with {\tt pxfonts}, but does nothin \linespread{1.05}% Give Palatino more leading (space between lines) \end{verbatim} +\section{Some recent additions to \texttt{newpxmath}} +Because a number of the standard math accents appeared to be too close to the symbols they accented, a number of the problem accents have been reworked as additions to the {\tt symbols} font, along with a number of vertically doubled symbols. (The doubled symbols are described in the documentation to newtx.) The new accents are flatter and stand higher above their accentees than the old versions. + +Another addition to {\tt symbols} may be used to signify matrix \emph{transpose}. In fact, the glyph is just the {\tt intercal} glyph (from the txfonts rendition of the AMS symbols) raised and narrowed considerable. Here is an example comparing its use to a number of other common constructions: +\[\mathbf{M}^{\transp}, \mathbf{M}^{\mathsf{T}}, \mathbf{M}^{\mathrm{T}}, \mathbf{M}^{\intercal},\] +are produced respectively by +\begin{verbatim} +\mathbf{M}^{\transp}, \mathbf{M}^{\mathsf{T}}, \mathbf{M}^{\mathrm{T}}, + \mathbf{M}^{\intercal}. +\end{verbatim} +Clearly, the last needs to have the exponent raised and moved to the left. This is not hard to do, but it may use up on of your math families unless you are already using the AMS symbols. A similar objection could be made to the use of \verb|\mathsf|. \section{The \TeX\ math font problem} Math font packages in \LaTeX\ are susceptible to the ``Too many math alphabets'' error, due to exceeding the limit of just sixteen math font families, or mathgroups, as they are called in \LaTeX. Put in oversimplified terms that do however correctly represent how this all works in \textsf{newpxmath}, the following math fonts are always loaded and permanently (if you didn't prevent loading of some features) occupying slots immediately following \verb|\begin{document}|, and others that may be called for in typesetting a mathematical expression can add to the list as the document grows. diff --git a/Master/texmf-dist/fonts/afm/public/newpx/pxbsys.afm b/Master/texmf-dist/fonts/afm/public/newpx/pxbsys.afm index 66a8b5edd41..aa904695de1 100644 --- a/Master/texmf-dist/fonts/afm/public/newpx/pxbsys.afm +++ b/Master/texmf-dist/fonts/afm/public/newpx/pxbsys.afm @@ -1,6 +1,6 @@ StartFontMetrics 2.0 Comment Generated by FontForge 20161003 -Comment Creation Date: Sat Feb 11 20:55:37 2017 +Comment Creation Date: Tue May 30 16:42:38 2017 FontName pxbsys FullName pxbsys FamilyName pxbsys @@ -12,9 +12,9 @@ UnderlinePosition -100 UnderlineThickness 50 Version 1.0 EncodingScheme FontSpecific -FontBBox -17 -978 1537 951 +FontBBox -17 -978 1537 913 CapHeight 728 -StartCharMetrics 188 +StartCharMetrics 194 C 0 ; WX 711 ; N minus ; B 65 220 646 321 ; C 1 ; WX 250 ; N periodcentered ; B 47 195 203 351 ; C 2 ; WX 711 ; N multiply ; B 65 -18 646 559 ; @@ -183,15 +183,21 @@ C 185 ; WX 397 ; N parenleft ; B 72 -213 356 755 ; C 186 ; WX 397 ; N parenright ; B 72 -213 356 755 ; C 187 ; WX 356 ; N bracketleft ; B 93 -203 315 744 ; C 188 ; WX 356 ; N bracketright ; B 42 -203 264 744 ; -C 189 ; WX 350 ; N barbar ; B 1 595 348 839 ; -C 190 ; WX 350 ; N bartilde ; B -17 595 367 888 ; -C 191 ; WX 350 ; N barhat ; B -2 595 353 909 ; -C 192 ; WX 350 ; N tildebar ; B -17 576 367 839 ; -C 193 ; WX 350 ; N tildetilde ; B -17 576 367 888 ; -C 194 ; WX 350 ; N tildehat ; B -17 576 367 951 ; -C 195 ; WX 350 ; N hatbar ; B -2 556 353 881 ; -C 196 ; WX 350 ; N hattilde ; B -17 556 367 930 ; -C 197 ; WX 350 ; N hathat ; B -2 556 353 930 ; +C 189 ; WX 350 ; N barbar ; B 1 575 348 819 ; +C 190 ; WX 350 ; N bartilde ; B -17 555 367 828 ; +C 191 ; WX 350 ; N barhat ; B 1 555 348 842 ; +C 192 ; WX 350 ; N tildebar ; B -17 556 367 819 ; +C 193 ; WX 350 ; N tildetilde ; B -17 556 367 868 ; +C 194 ; WX 350 ; N tildehat ; B -17 556 367 882 ; +C 195 ; WX 350 ; N hatbar ; B 1 552 348 831 ; +C 196 ; WX 350 ; N hattilde ; B -17 555 367 880 ; +C 197 ; WX 333 ; N hathat ; B -2 555 335 865 ; +C 198 ; WX 333 ; N circumflex ; B -2 555 335 695 ; +C 199 ; WX 333 ; N grave ; B 17 555 255 710 ; +C 200 ; WX 333 ; N acute ; B 78 555 316 710 ; +C 201 ; WX 333 ; N breve ; B 15 550 318 698 ; +C 202 ; WX 333 ; N caron ; B -2 555 335 690 ; +C 203 ; WX 437 ; N transpose ; B -16 0 416 564 ; C 208 ; WX 351 ; N cdotB ; B 75 148 276 349 ; C 209 ; WX 409 ; N cdotBB ; B 96 143 313 360 ; C 210 ; WX 632 ; N smcompB ; B 81 13 552 483 ; diff --git a/Master/texmf-dist/fonts/afm/public/newpx/pxsys.afm b/Master/texmf-dist/fonts/afm/public/newpx/pxsys.afm index ef787c98788..267459d009e 100644 --- a/Master/texmf-dist/fonts/afm/public/newpx/pxsys.afm +++ b/Master/texmf-dist/fonts/afm/public/newpx/pxsys.afm @@ -1,6 +1,6 @@ StartFontMetrics 2.0 Comment Generated by FontForge 20161003 -Comment Creation Date: Sat Feb 11 22:50:02 2017 +Comment Creation Date: Tue May 30 16:37:01 2017 FontName pxsys FullName pxsys FamilyName pxsys @@ -14,7 +14,7 @@ Version 1.0 EncodingScheme FontSpecific FontBBox -49 -994 1308 912 CapHeight 728 -StartCharMetrics 188 +StartCharMetrics 194 C 0 ; WX 669 ; N minus ; B 65 241 604 300 ; C 1 ; WX 250 ; N periodcentered ; B 67 213 183 329 ; C 2 ; WX 669 ; N multiply ; B 59 -5 611 547 ; @@ -185,13 +185,19 @@ C 187 ; WX 350 ; N bracketleft ; B 93 -203 315 744 ; C 188 ; WX 350 ; N bracketright ; B 36 -203 258 744 ; C 189 ; WX 350 ; N barbar ; B 12 576 339 759 ; C 190 ; WX 350 ; N bartilde ; B 1 576 348 787 ; -C 191 ; WX 350 ; N barhat ; B 12 576 339 857 ; +C 191 ; WX 350 ; N barhat ; B 12 556 339 789 ; C 192 ; WX 350 ; N tildebar ; B 1 560 348 780 ; C 193 ; WX 350 ; N tildetilde ; B 1 560 348 798 ; -C 194 ; WX 350 ; N tildehat ; B 1 560 348 857 ; -C 195 ; WX 350 ; N hatbar ; B 12 534 339 790 ; -C 196 ; WX 350 ; N hattilde ; B 1 534 348 829 ; -C 197 ; WX 350 ; N hathat ; B 12 534 339 857 ; +C 194 ; WX 350 ; N tildehat ; B 1 544 348 800 ; +C 195 ; WX 350 ; N hatbar ; B 12 557 339 780 ; +C 196 ; WX 350 ; N hattilde ; B 1 557 348 819 ; +C 197 ; WX 350 ; N hathat ; B 19 557 331 799 ; +C 198 ; WX 350 ; N circumflex ; B 19 557 331 679 ; +C 199 ; WX 333 ; N grave ; B 31 555 255 695 ; +C 200 ; WX 333 ; N acute ; B 78 555 302 695 ; +C 201 ; WX 350 ; N breve ; B 34 557 316 680 ; +C 202 ; WX 350 ; N caron ; B 19 556 331 678 ; +C 203 ; WX 436 ; N transpose ; B -13 0 419 564 ; C 208 ; WX 351 ; N cdotB ; B 106 180 244 318 ; C 209 ; WX 409 ; N cdotBB ; B 124 172 284 332 ; C 210 ; WX 443 ; N smcompB ; B 47 74 396 422 ; diff --git a/Master/texmf-dist/fonts/tfm/public/newpx/pxbsys.tfm b/Master/texmf-dist/fonts/tfm/public/newpx/pxbsys.tfm Binary files differindex d3a878fa70c..33cf131b992 100644 --- a/Master/texmf-dist/fonts/tfm/public/newpx/pxbsys.tfm +++ b/Master/texmf-dist/fonts/tfm/public/newpx/pxbsys.tfm diff --git a/Master/texmf-dist/fonts/tfm/public/newpx/pxsys.tfm b/Master/texmf-dist/fonts/tfm/public/newpx/pxsys.tfm Binary files differindex 6995da98e5d..e9494a7f1f2 100644 --- a/Master/texmf-dist/fonts/tfm/public/newpx/pxsys.tfm +++ b/Master/texmf-dist/fonts/tfm/public/newpx/pxsys.tfm diff --git a/Master/texmf-dist/fonts/tfm/public/newpx/zplbmi.tfm b/Master/texmf-dist/fonts/tfm/public/newpx/zplbmi.tfm Binary files differindex 9f4b823398d..9d202876a3b 100644 --- a/Master/texmf-dist/fonts/tfm/public/newpx/zplbmi.tfm +++ b/Master/texmf-dist/fonts/tfm/public/newpx/zplbmi.tfm diff --git a/Master/texmf-dist/fonts/tfm/public/newpx/zplbmi1.tfm b/Master/texmf-dist/fonts/tfm/public/newpx/zplbmi1.tfm Binary files differindex 11561a6aa8e..11206ba55cb 100644 --- a/Master/texmf-dist/fonts/tfm/public/newpx/zplbmi1.tfm +++ b/Master/texmf-dist/fonts/tfm/public/newpx/zplbmi1.tfm diff --git a/Master/texmf-dist/fonts/tfm/public/newpx/zplbsy.tfm b/Master/texmf-dist/fonts/tfm/public/newpx/zplbsy.tfm Binary files differindex ce0e675d9f4..73775210555 100644 --- a/Master/texmf-dist/fonts/tfm/public/newpx/zplbsy.tfm +++ b/Master/texmf-dist/fonts/tfm/public/newpx/zplbsy.tfm diff --git a/Master/texmf-dist/fonts/tfm/public/newpx/zplmi.tfm b/Master/texmf-dist/fonts/tfm/public/newpx/zplmi.tfm Binary files differindex dcf60250f97..b720eac7105 100644 --- a/Master/texmf-dist/fonts/tfm/public/newpx/zplmi.tfm +++ b/Master/texmf-dist/fonts/tfm/public/newpx/zplmi.tfm diff --git a/Master/texmf-dist/fonts/tfm/public/newpx/zplmi1.tfm b/Master/texmf-dist/fonts/tfm/public/newpx/zplmi1.tfm Binary files differindex 397876438e9..f38557b1b70 100644 --- a/Master/texmf-dist/fonts/tfm/public/newpx/zplmi1.tfm +++ b/Master/texmf-dist/fonts/tfm/public/newpx/zplmi1.tfm diff --git a/Master/texmf-dist/fonts/tfm/public/newpx/zplsy.tfm b/Master/texmf-dist/fonts/tfm/public/newpx/zplsy.tfm Binary files differindex aabc2d70987..42b146b014c 100644 --- a/Master/texmf-dist/fonts/tfm/public/newpx/zplsy.tfm +++ b/Master/texmf-dist/fonts/tfm/public/newpx/zplsy.tfm diff --git a/Master/texmf-dist/fonts/type1/public/newpx/pxbsys.pfb b/Master/texmf-dist/fonts/type1/public/newpx/pxbsys.pfb Binary files differindex 7eb3d88497d..9e1bee935e5 100644 --- a/Master/texmf-dist/fonts/type1/public/newpx/pxbsys.pfb +++ b/Master/texmf-dist/fonts/type1/public/newpx/pxbsys.pfb diff --git a/Master/texmf-dist/fonts/type1/public/newpx/pxsys.pfb b/Master/texmf-dist/fonts/type1/public/newpx/pxsys.pfb Binary files differindex 2ff0dc900c2..9b3c6fb79b4 100644 --- a/Master/texmf-dist/fonts/type1/public/newpx/pxsys.pfb +++ b/Master/texmf-dist/fonts/type1/public/newpx/pxsys.pfb diff --git a/Master/texmf-dist/fonts/vf/public/newpx/zplbsy.vf b/Master/texmf-dist/fonts/vf/public/newpx/zplbsy.vf Binary files differindex c9b1e05b8e2..2de06d01a13 100644 --- a/Master/texmf-dist/fonts/vf/public/newpx/zplbsy.vf +++ b/Master/texmf-dist/fonts/vf/public/newpx/zplbsy.vf diff --git a/Master/texmf-dist/fonts/vf/public/newpx/zplsy.vf b/Master/texmf-dist/fonts/vf/public/newpx/zplsy.vf Binary files differindex 8c704cc7f5b..6fd66277a97 100644 --- a/Master/texmf-dist/fonts/vf/public/newpx/zplsy.vf +++ b/Master/texmf-dist/fonts/vf/public/newpx/zplsy.vf diff --git a/Master/texmf-dist/tex/latex/newpx/newpxmath.sty b/Master/texmf-dist/tex/latex/newpx/newpxmath.sty index e38c3a06e55..29f408e04f0 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.317} -\def\filedate{2017/02/12} +\def\fileversion{1.32} +\def\filedate{2017/05/31} \ProvidesPackage{newpxmath} [\filedate\space v\fileversion] %\@ifundefined{newpxmathLoaded}{}{\endinput} @@ -315,6 +315,12 @@ amssymbols,uprightGreek} %\DeclareMathAccent{\dot}{\mathalpha}{operators}{95} %\DeclareMathAccent{\tilde}{\mathalpha}{operators}{126} %\DeclareMathAccent{\ddot}{\mathalpha}{operators}{127} +\re@DeclareMathAccent{\hat}{\mathalpha}{symbols}{198} +\re@DeclareMathAccent{\grave}{\mathalpha}{symbols}{199} +\re@DeclareMathAccent{\acute}{\mathalpha}{symbols}{200} +\re@DeclareMathAccent{\breve}{\mathalpha}{symbols}{201} +\re@DeclareMathAccent{\check}{\mathalpha}{symbols}{202} +\DeclareMathSymbol{\transp}{\mathord}{symbols}{203} \re@DeclareMathAccent{\dot}{\mathalpha}{symbols}{219} \re@DeclareMathAccent{\ddot}{\mathalpha}{symbols}{220} \re@DeclareMathAccent{\dddot}{\mathord}{symbols}{221} diff --git a/Master/texmf-dist/tex/latex/newpx/newpxtext.sty b/Master/texmf-dist/tex/latex/newpx/newpxtext.sty index 3d6b077a6c2..6db4282c577 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.318} -\def\filedate{2017/03/11} +\def\fileversion{1.319} +\def\filedate{2017/05/28} \ProvidesPackage{newpxtext}[\filedate\space v\fileversion] \message{`newpxtext' v\fileversion, \filedate\space Text macros taking advantage of TeXGyre Pagella and its extensions (msharpe)} @@ -25,6 +25,9 @@ \@onlypreamble\useproportional \newif\ifzpl@defaultsups +\newif\ifzpl@KOMA +\@ifundefined{KOMAClassName}{}{\zpl@KOMAtrue} +\@ifundefined{ver@scrextend.sty}{}{\zpl@KOMAtrue} \newif\ifzpl@adobesc % we don't use this exc. in fd, but may in future \newif\ifzpl@scosf \newif\ifzpl@largesc @@ -89,20 +92,23 @@ \not@math@alphabet\sustyle\relax \fontfamily{zplsups}\selectfont} -%\def\@makefnmark{\ifx \thefootnote\orig@footnote \hbox{\sustyle\hspace*{.04em}\@thefnmark}\else\orig@makefnmark\fi} \ifzpl@defaultsups % \else - \def\f@@tn@te{footnote} - \def\@makefnmark{% - \ifx\@mpfn\f@@tn@te% - \ifx\thefootnote\orig@footnote% - \hbox{\sustyle\hspace*{.05em}\@thefnmark\hspace*{.05em}}% + \ifzpl@KOMA + \let\textsuperscript\sustyle + \else + \def\f@@tn@te{footnote} + \def\@makefnmark{% + \ifx\@mpfn\f@@tn@te% + \ifx\thefootnote\orig@footnote% + \hbox{\sustyle\hspace*{.05em}\@thefnmark\hspace*{.05em}}% + \else% + \orig@makefnmark% + \fi \else% \orig@makefnmark% - \fi - \else% - \orig@makefnmark% - \fi} + \fi}% + \fi \fi \ifzpl@scosf % \DeclareRobustCommand{\textsc}[1]{% |