summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-07-11 22:21:10 +0000
committerKarl Berry <karl@freefriends.org>2015-07-11 22:21:10 +0000
commitebbd61ac629a2b9c128cb5b28d5875aded3af489 (patch)
tree9597d056ba6a94611fef9ba4e9cdd71cc7f6f54a /Master
parent169f36cf85710819b29b10a3f1f2943b6282b437 (diff)
newpx (11jul15)
git-svn-id: svn://tug.org/texlive/trunk@37838 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/fonts/newpx/README5
-rw-r--r--Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdfbin218552 -> 217788 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex4
-rw-r--r--Master/texmf-dist/tex/latex/newpx/newpxmath.sty147
-rw-r--r--Master/texmf-dist/tex/latex/newpx/newpxtext.sty4
5 files changed, 101 insertions, 59 deletions
diff --git a/Master/texmf-dist/doc/fonts/newpx/README b/Master/texmf-dist/doc/fonts/newpx/README
index 4308a01e2d7..39716101d10 100644
--- a/Master/texmf-dist/doc/fonts/newpx/README
+++ b/Master/texmf-dist/doc/fonts/newpx/README
@@ -1,10 +1,13 @@
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.26 2015-07-04
+Current version: 1.27 2015-07-10
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.27
+Modified newpxmath.sty to mirror changes in newtxmath.sty. This makes \mathrm, \mathit and \mathnormal work as expected with Greek latters.
+
Changes in version 1.26
1. Modified zpl[b]exx.{tfm,vf} to follow changes in ntx[b]exx.{tfm,vf}.
2. Changed some Greek letters to be \mathalpha so that \mathnormal works as expected.
diff --git a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf
index 6ddfc64ed4c..175304730a4 100644
--- a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf
+++ b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex
index 98199c92a84..c92719fcbf2 100644
--- a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex
+++ b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex
@@ -176,7 +176,7 @@ causes no error, unlike the same combination with {\tt pxfonts}, but does nothin
\usepackage[cmintegrals]{newpxmath}
\end{verbatim}
you may use the forms \verb|\iint|, \verb|\iiint|, \verb|\iiiint| and \verb|\idotsint| defined in {\tt amsmath}, but using the pumped-up Computer Modern integral loaded by {\tt newpxmath}.
-\item {\tt uprightGreek} and {\tt slantedGreek} determine the form of Greek alphabet loaded---the default is {\tt uprightGreek}, which loads upright uppercase and slanted lowercase Greek symbols, as is customary in Anglo-American mathematical typesetting. With the option {\tt slantedGreek}, which you might want to use if you cared about ISO standards, all Greek symbols are slanted. No matter which is set, \verb|\Gammaup| (or \verb|\upGamma|) gives you upright \verb|\Gamma|, etc. Similarly, no matter what you chose as the default for upper and lower case Greek letters, \verb|\mathnormal{\beta}| and \verb|\mathnormal{\Omega}| will always produce the slanted versions. (The macro \verb|\mathnormal| means essentially ``use the version of the symbol in {\tt letters}''---i.e., the math italic form. This did not always work as expected in versions prior to 1.26.)
+\item {\tt uprightGreek} and {\tt slantedGreek} determine the form of Greek alphabet loaded---the default is {\tt uprightGreek}, which loads upright uppercase and slanted lowercase Greek symbols, as is customary in Anglo-American mathematical typesetting. With the option {\tt slantedGreek}, which you might want to use if you cared about ISO standards, all Greek symbols are slanted. No matter which is set, \verb|\Gammaup| (or \verb|\upGamma|) gives you upright \verb|\Gamma|, etc, and \verb|\Deltait|, \verb|zetait| give you italic (i.e., slanted) versions of those letters, and \verb|\mathnormal{\Omega}| etc will always produce the slanted version of uppercase Greek letters. (The macro \verb|\mathnormal| means essentially ``use the version of the symbol in {\tt letters}''---i.e., the math italic form. This did not always work as expected in versions prior to 1.27.)
\item The \textsf{newpxmath} package contains three different Blackboard Bold alphabets, where original \textsf{pxfonts} contained one. The default, triggered by \verb|\mathbb{}|, takes its glyphs from the font which replaces {\tt msbm} and has the same overall appearance of a hollowed-out text font, which I find neither bold nor blackboard-like. The second option, taken from \textsf{pxfonts}, is triggered by \verb|\varmathbb{}|, is more geometric and, in my opinion, preferable but not optimal. The option {\tt varbb} makes \verb|\mathbb{}| synonymous with \verb|\varmathbb{}|. The third option is the double-struck glyphs from the STIX collection. See the expanded discussion below.
\item {\tt nosymbolsc} causes the package to not load the {\tt symbolsC} fonts, saving a math family. (This font contains mostly exotic symbols, along with some very useful, commonly used symbols like \verb|\coloneq| $\coloneq$, \verb|\eqcolon| $\eqcolon$, \verb|\notin| $\notin$, \verb|\notni| $\notni$, \verb|\neq| $\neq$, \verb|\nsubset| $\nsubset$ and \verb|\nsupset| $\nsupset$, but these have been moved (virtually) to {\tt lettersA} so they may continue to be used even if you use the option {\tt nosymbolsc}.)
\item {\tt amssymbols} (the default) and {\tt noamssymbols} determine whether the {\tt pxfonts} versions of the \textsc{ams} symbols ({\tt msam}, {\tt msbm}) are loaded---if so, they override previous settings in {\tt amsmath}. If you use the option {\tt noamssymbols}, then \verb|\mathbb{}| is set to mean the same as \verb|\varmathbb{}|. (One advantage of {\tt noamssymbols} is that you save two of your precious math families for other purposes, such as setting a couple of external math alphabets by means of the \textsf{mathalfa} package.)
@@ -194,8 +194,6 @@ you may use the forms \verb|\iint|, \verb|\iiint|, \verb|\iiiint| and \verb|\ido
\linespread{1.05}% Give Palatino more leading (space between lines)
\end{verbatim}
-\textbf{Caution:} In encodings {\tt T1} and {\tt LY1}, the macro \verb|\mathrm| does not produce what you might expect for Greek letters, due to the difference between those encodings and {\tt OT1}. But what were you expecting with \verb|\mathrm{Gamma}| anyway? In {\tt T1} and {\tt LY1}, you'll get a math accent.
-
\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/tex/latex/newpx/newpxmath.sty b/Master/texmf-dist/tex/latex/newpx/newpxmath.sty
index 9e711635c4d..5f40bd68152 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.26}
-\def\filedate{2015/07/04}
+\def\fileversion{1.27}
+\def\filedate{2015/07/09}
\ProvidesPackage{newpxmath}
[\filedate\space v\fileversion]
\@ifundefined{newpxmathLoaded}{}{\endinput}
@@ -24,6 +24,7 @@
\RequirePackage{amsmath} % for better \left
\def\ly@one{LY1}
\def\t@one{T1}
+\def\ot@one{OT1}
\input{binhex}
\RequirePackage{xkeyval}
@@ -59,16 +60,16 @@ amssymbols,uprightGreek}
%bigdelims cancels cmbraces
\ifpx@bigdelims\px@bracesfalse\fi
% Use existing text fonts for operators, mathrm, etc
-\DeclareSymbolFont{operators}{\encodingdefault}{\rmdefault}{m}{n}
-\SetSymbolFont{operators}{bold}{\encodingdefault}{\rmdefault}{b}{n}
+\DeclareSymbolFont{operators}{OT1}{\rmdefault}{m}{n}
+\SetSymbolFont{operators}{bold}{OT1}{\rmdefault}{b}{n}
\def\operator@font{\mathgroup\symoperators}
\DeclareMathAlphabet{\mathsf}{\encodingdefault}{\sfdefault}{m}{n}
-\DeclareMathAlphabet{\mathit}{\encodingdefault}{\rmdefault}{m}{it}
+\DeclareMathAlphabet{\mathit}{OT1}{\rmdefault}{m}{it}
\DeclareMathAlphabet{\mathtt}{\encodingdefault}{\ttdefault}{m}{n}
\DeclareSymbolFontAlphabet{\mathrm}{operators}
-\DeclareMathAlphabet{\mathbf}{\encodingdefault}{\rmdefault}{b}{n}
-\SetMathAlphabet{\mathit}{bold}{\encodingdefault}{\rmdefault}{b}{it}
+\DeclareMathAlphabet{\mathbf}{OT1}{\rmdefault}{b}{n}
+\SetMathAlphabet{\mathit}{bold}{OT1}{\rmdefault}{b}{it}
\SetMathAlphabet{\mathsf}{bold}{\encodingdefault}{\sfdefault}{b}{n}
\SetMathAlphabet{\mathtt}{bold}{\encodingdefault}{\ttdefault}{b}{n}
@@ -303,23 +304,23 @@ amssymbols,uprightGreek}
%\DeclareMathAccent{\dot}{\mathalpha}{operators}{95}
%\DeclareMathAccent{\tilde}{\mathalpha}{operators}{126}
%\DeclareMathAccent{\ddot}{\mathalpha}{operators}{127}
-\ifx\encodingdefault\t@one%
- \re@DeclareMathAccent{\grave}{\mathalpha}{operators}{0}
- \re@DeclareMathAccent{\acute}{\mathalpha}{operators}{1}
- \re@DeclareMathAccent{\check}{\mathalpha}{operators}{7}
- \re@DeclareMathAccent{\breve}{\mathalpha}{operators}{8}
- \re@DeclareMathAccent{\bar}{\mathalpha}{operators}{9}
- \re@DeclareMathAccent{\mathring}{\mathalpha}{operators}{6}
- \re@DeclareMathAccent{\hat}{\mathalpha}{operators}{2}
- \re@DeclareMathAccent{\dot}{\mathalpha}{operators}{10}
- \re@DeclareMathAccent{\tilde}{\mathalpha}{operators}{3}
- \re@DeclareMathAccent{\ddot}{\mathalpha}{operators}{4}
-\else\ifx\encodingdefault\ly@one
- \re@DeclareMathAccent{\bar}{\mathalpha}{operators}{175}
- \re@DeclareMathAccent{\hat}{\mathalpha}{operators}{94}
- \re@DeclareMathAccent{\dot}{\mathalpha}{operators}{5}
-% \DeclareMathAccent{\tilde}{\mathalpha}{operators}{152}
-\fi\fi
+%\ifx\encodingdefault\t@one%
+% \re@DeclareMathAccent{\grave}{\mathalpha}{operators}{0}
+% \re@DeclareMathAccent{\acute}{\mathalpha}{operators}{1}
+% \re@DeclareMathAccent{\check}{\mathalpha}{operators}{7}
+% \re@DeclareMathAccent{\breve}{\mathalpha}{operators}{8}
+% \re@DeclareMathAccent{\bar}{\mathalpha}{operators}{9}
+% \re@DeclareMathAccent{\mathring}{\mathalpha}{operators}{6}
+% \re@DeclareMathAccent{\hat}{\mathalpha}{operators}{2}
+% \re@DeclareMathAccent{\dot}{\mathalpha}{operators}{10}
+% \re@DeclareMathAccent{\tilde}{\mathalpha}{operators}{3}
+% \re@DeclareMathAccent{\ddot}{\mathalpha}{operators}{4}
+%\else\ifx\encodingdefault\ly@one
+% \re@DeclareMathAccent{\bar}{\mathalpha}{operators}{175}
+% \re@DeclareMathAccent{\hat}{\mathalpha}{operators}{94}
+% \re@DeclareMathAccent{\dot}{\mathalpha}{operators}{5}
+%% \DeclareMathAccent{\tilde}{\mathalpha}{operators}{152}
+%\fi\fi
%
\ifpx@slantedG
\re@DeclareMathSymbol{\Gamma}{\mathalpha}{letters}{0}
@@ -1066,35 +1067,35 @@ $\hfil\displaystyle{#1}\hfil$\crcr%
\re@DeclareMathSymbol{\Phiup}{\mathalpha}{lettersA}{8}
\re@DeclareMathSymbol{\Psiup}{\mathalpha}{lettersA}{9}
\re@DeclareMathSymbol{\Omegaup}{\mathalpha}{lettersA}{10}
-\re@DeclareMathSymbol{\alphaup}{\mathalpha}{lettersA}{11}
-\re@DeclareMathSymbol{\betaup}{\mathalpha}{lettersA}{12}
-\re@DeclareMathSymbol{\gammaup}{\mathalpha}{lettersA}{13}
-\re@DeclareMathSymbol{\deltaup}{\mathalpha}{lettersA}{14}
-\re@DeclareMathSymbol{\epsilonup}{\mathalpha}{lettersA}{15}
-\re@DeclareMathSymbol{\zetaup}{\mathalpha}{lettersA}{16}
-\re@DeclareMathSymbol{\etaup}{\mathalpha}{lettersA}{17}
-\re@DeclareMathSymbol{\thetaup}{\mathalpha}{lettersA}{18}
-\re@DeclareMathSymbol{\iotaup}{\mathalpha}{lettersA}{19}
-\re@DeclareMathSymbol{\kappaup}{\mathalpha}{lettersA}{20}
-\re@DeclareMathSymbol{\lambdaup}{\mathalpha}{lettersA}{21}
-\re@DeclareMathSymbol{\muup}{\mathalpha}{lettersA}{22}
-\re@DeclareMathSymbol{\nuup}{\mathalpha}{lettersA}{23}
-\re@DeclareMathSymbol{\xiup}{\mathalpha}{lettersA}{24}
-\re@DeclareMathSymbol{\piup}{\mathalpha}{lettersA}{25}
-\re@DeclareMathSymbol{\rhoup}{\mathalpha}{lettersA}{26}
-\re@DeclareMathSymbol{\sigmaup}{\mathalpha}{lettersA}{27}
-\re@DeclareMathSymbol{\tauup}{\mathalpha}{lettersA}{28}
-\re@DeclareMathSymbol{\upsilonup}{\mathalpha}{lettersA}{29}
-\re@DeclareMathSymbol{\phiup}{\mathalpha}{lettersA}{30}
-\re@DeclareMathSymbol{\chiup}{\mathalpha}{lettersA}{31}
-\re@DeclareMathSymbol{\psiup}{\mathalpha}{lettersA}{32}
-\re@DeclareMathSymbol{\omegaup}{\mathalpha}{lettersA}{33}
-\re@DeclareMathSymbol{\varepsilonup}{\mathalpha}{lettersA}{34}
-\re@DeclareMathSymbol{\varthetaup}{\mathalpha}{lettersA}{35}
-\re@DeclareMathSymbol{\varpiup}{\mathalpha}{lettersA}{36}
-\re@DeclareMathSymbol{\varrhoup}{\mathalpha}{lettersA}{37}
-\re@DeclareMathSymbol{\varsigmaup}{\mathalpha}{lettersA}{38}
-\re@DeclareMathSymbol{\varphiup}{\mathalpha}{lettersA}{39}
+\re@DeclareMathSymbol{\alphaup}{\mathord}{lettersA}{11}
+\re@DeclareMathSymbol{\betaup}{\mathord}{lettersA}{12}
+\re@DeclareMathSymbol{\gammaup}{\mathord}{lettersA}{13}
+\re@DeclareMathSymbol{\deltaup}{\mathord}{lettersA}{14}
+\re@DeclareMathSymbol{\epsilonup}{\mathord}{lettersA}{15}
+\re@DeclareMathSymbol{\zetaup}{\mathord}{lettersA}{16}
+\re@DeclareMathSymbol{\etaup}{\mathord}{lettersA}{17}
+\re@DeclareMathSymbol{\thetaup}{\mathord}{lettersA}{18}
+\re@DeclareMathSymbol{\iotaup}{\mathord}{lettersA}{19}
+\re@DeclareMathSymbol{\kappaup}{\mathord}{lettersA}{20}
+\re@DeclareMathSymbol{\lambdaup}{\mathord}{lettersA}{21}
+\re@DeclareMathSymbol{\muup}{\mathord}{lettersA}{22}
+\re@DeclareMathSymbol{\nuup}{\mathord}{lettersA}{23}
+\re@DeclareMathSymbol{\xiup}{\mathord}{lettersA}{24}
+\re@DeclareMathSymbol{\piup}{\mathord}{lettersA}{25}
+\re@DeclareMathSymbol{\rhoup}{\mathord}{lettersA}{26}
+\re@DeclareMathSymbol{\sigmaup}{\mathord}{lettersA}{27}
+\re@DeclareMathSymbol{\tauup}{\mathord}{lettersA}{28}
+\re@DeclareMathSymbol{\upsilonup}{\mathord}{lettersA}{29}
+\re@DeclareMathSymbol{\phiup}{\mathord}{lettersA}{30}
+\re@DeclareMathSymbol{\chiup}{\mathord}{lettersA}{31}
+\re@DeclareMathSymbol{\psiup}{\mathord}{lettersA}{32}
+\re@DeclareMathSymbol{\omegaup}{\mathord}{lettersA}{33}
+\re@DeclareMathSymbol{\varepsilonup}{\mathord}{lettersA}{34}
+\re@DeclareMathSymbol{\varthetaup}{\mathord}{lettersA}{35}
+\re@DeclareMathSymbol{\varpiup}{\mathord}{lettersA}{36}
+\re@DeclareMathSymbol{\varrhoup}{\mathord}{lettersA}{37}
+\re@DeclareMathSymbol{\varsigmaup}{\mathord}{lettersA}{38}
+\re@DeclareMathSymbol{\varphiup}{\mathord}{lettersA}{39}
% and, for compatability with other packages (mtpro2, lucida, etc)
\let\upGamma\Gammaup
\let\upDelta\Deltaup
@@ -1197,6 +1198,46 @@ $\hfil\displaystyle{#1}\hfil$\crcr%
\DeclareMathSymbol{Y}{\mathalpha}{operators}{89}
\DeclareMathSymbol{Z}{\mathalpha}{operators}{90}
\fi
+\re@DeclareMathSymbol{\Gammait}{\mathalpha}{letters}{0}
+\re@DeclareMathSymbol{\Deltait}{\mathalpha}{letters}{1}
+\re@DeclareMathSymbol{\Thetait}{\mathalpha}{letters}{2}
+\re@DeclareMathSymbol{\Lambdait}{\mathalpha}{letters}{3}
+\re@DeclareMathSymbol{\Xiit}{\mathalpha}{letters}{4}
+\re@DeclareMathSymbol{\Piit}{\mathalpha}{letters}{5}
+\re@DeclareMathSymbol{\Sigmait}{\mathalpha}{letters}{6}
+\re@DeclareMathSymbol{\Upsilonit}{\mathalpha}{letters}{7}
+\re@DeclareMathSymbol{\Phiit}{\mathalpha}{letters}{8}
+\re@DeclareMathSymbol{\Psiit}{\mathalpha}{letters}{9}
+\re@DeclareMathSymbol{\Omegait}{\mathalpha}{letters}{10}
+\re@DeclareMathSymbol{\alphait}{\mathord}{letters}{11}
+\re@DeclareMathSymbol{\betait}{\mathord}{letters}{12}
+\re@DeclareMathSymbol{\gammait}{\mathord}{letters}{13}
+\re@DeclareMathSymbol{\deltait}{\mathord}{letters}{14}
+\re@DeclareMathSymbol{\epsilonit}{\mathord}{letters}{15}
+\re@DeclareMathSymbol{\zetait}{\mathord}{letters}{16}
+\re@DeclareMathSymbol{\etait}{\mathord}{letters}{17}
+\re@DeclareMathSymbol{\thetait}{\mathord}{letters}{18}
+\re@DeclareMathSymbol{\iotait}{\mathord}{letters}{19}
+\re@DeclareMathSymbol{\kappait}{\mathord}{letters}{20}
+\re@DeclareMathSymbol{\lambdait}{\mathord}{letters}{21}
+\re@DeclareMathSymbol{\muit}{\mathord}{letters}{22}
+\re@DeclareMathSymbol{\nuit}{\mathord}{letters}{23}
+\re@DeclareMathSymbol{\xiit}{\mathord}{letters}{24}
+\re@DeclareMathSymbol{\piit}{\mathord}{letters}{25}
+\re@DeclareMathSymbol{\rhoit}{\mathord}{letters}{26}
+\re@DeclareMathSymbol{\sigmait}{\mathord}{letters}{27}
+\re@DeclareMathSymbol{\tauit}{\mathord}{letters}{28}
+\re@DeclareMathSymbol{\upsilonit}{\mathord}{letters}{29}
+\re@DeclareMathSymbol{\phiit}{\mathord}{letters}{30}
+\re@DeclareMathSymbol{\chiit}{\mathord}{letters}{31}
+\re@DeclareMathSymbol{\psiit}{\mathord}{letters}{32}
+\re@DeclareMathSymbol{\omegait}{\mathord}{letters}{33}
+\re@DeclareMathSymbol{\varepsilonit}{\mathord}{letters}{34}
+\re@DeclareMathSymbol{\varthetait}{\mathord}{letters}{35}
+\re@DeclareMathSymbol{\varpiit}{\mathord}{letters}{36}
+\re@DeclareMathSymbol{\varrhoit}{\mathord}{letters}{37}
+\re@DeclareMathSymbol{\varsigmait}{\mathord}{letters}{38}
+\re@DeclareMathSymbol{\varphiit}{\mathord}{letters}{39}
\re@DeclareMathSymbol{\varg}{\mathord}{lettersA}{49}
\DeclareMathSymbol{\uppartial}{\mathord}{lettersA}{64}
diff --git a/Master/texmf-dist/tex/latex/newpx/newpxtext.sty b/Master/texmf-dist/tex/latex/newpx/newpxtext.sty
index 661e204b21f..b429189bc07 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.26}
-\def\filedate{2015/07/04}
+\def\fileversion{1.27}
+\def\filedate{2015/07/10}
\ProvidesPackage{newpxtext}[\filedate\space v\fileversion]
\message{`newpxtext' v\fileversion, \filedate\space Text macros taking advantage of TeXGyre Pagella and its extensions (msharpe)}