diff options
author | Karl Berry <karl@freefriends.org> | 2014-02-20 23:25:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-02-20 23:25:02 +0000 |
commit | 7d4a08e930252b1d2154e39c026ff94131bde1fb (patch) | |
tree | db4d16f0283edf5220a685e85236a91384888d76 /Master | |
parent | 1879dcf757469fd062cd22a708b784c1e0d54265 (diff) |
newpx (20feb14)
git-svn-id: svn://tug.org/texlive/trunk@33009 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/fonts/newpx/README | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf | bin | 167016 -> 167024 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex | 15 | ||||
-rw-r--r-- | Master/texmf-dist/fonts/tfm/public/newpx/zplbexx.tfm | bin | 1508 -> 1556 bytes | |||
-rw-r--r-- | Master/texmf-dist/fonts/tfm/public/newpx/zplexx.tfm | bin | 1484 -> 1536 bytes | |||
-rw-r--r-- | Master/texmf-dist/fonts/vf/public/newpx/zplbexx.vf | bin | 1132 -> 1204 bytes | |||
-rw-r--r-- | Master/texmf-dist/fonts/vf/public/newpx/zplexx.vf | bin | 1132 -> 1204 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/newpx/newpxmath.sty | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/newpx/newpxtext.sty | 17 |
9 files changed, 22 insertions, 20 deletions
diff --git a/Master/texmf-dist/doc/fonts/newpx/README b/Master/texmf-dist/doc/fonts/newpx/README index 32151695c5b..5515a031555 100644 --- a/Master/texmf-dist/doc/fonts/newpx/README +++ b/Master/texmf-dist/doc/fonts/newpx/README @@ -1,10 +1,14 @@ This package, based 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 and pxfonts be installed and their map files enabled. The text package 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.11 +Current version: 1.12 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.12 +1. In tandem with newtxmath 1.23 (required), added macros and glyphs for mathaccents \widearc and \wideOarc. See the documentation in newtx for further details. +2. Added code to newpxtext.sty so that option osf does not affect math use of lining figures, making \useosf unnecessary but harmless. (Thanks to Pablo González for this fine suggestion.) + Changes in version 1.11 1. In tandem with newtxmath 1.22 (required), modified extendable parens to look more like fixed sizes. 2. Modified some symbol font metrics. diff --git a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf Binary files differindex 6b70e3e951b..366f02eb7fb 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 cf3e7fb8929..08284f4b0e9 100644 --- a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex +++ b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex @@ -57,6 +57,7 @@ the new package is split into separate text and math packages that do not need t \item The default encoding for \textsf{newpxtext} is now T$1$, but support is offered also for OT$1$ and LY$1$. As some add-on packages are available only in T$1$, that seems the best current choice. \item The font collection used for rendering text is based on TeXGyrePagella with additions to complete the superior figures, which are set by default to render footnote markers. (It is also possible customize footnote markers by redefining \verb|\thefootnote| after loading {\tt newpxtext.sty}.) Small caps are available in all weights and styles. \item Sans serif is by default taken from TeXGyreHeros, and by default at 94\% of the scale factor (set by {\tt scaled}, default value {\tt1}). The option {\tt helvratio=.98} will change that to 98\%. +\item New math accents such as \verb|\widearc| have been introduced in tandem with the newtx package, where they are documented. \end{itemize} \section{Text mode options and macros} The text mode environment invoked by @@ -73,12 +74,8 @@ to load the roman and typewriter text fonts at 95\% of normal size, and the sans \end{verbatim} load roman and typewriter text fonts at 95\% of normal size, and the sans serif (\textsf{Helvetica} clone) at scale $0.95*0.96$. -The option \texttt{osf} instructs the text fonts to use old-style figures \oldstylenums{1234567890} rather than the default lining figures $1234567890$. -The package contains a macro \verb|\useosf| which is shorthand for -\begin{verbatim} -\renewcommand*{\rmdefault}{zplj} -\end{verbatim} -which, when issued after loading the math package, resets the text mode to use oldstyle figures rather than lining figures. +The option \texttt{osf} instructs the text fonts to use old-style figures \oldstylenums{1234567890} rather than the default lining figures $1234567890$. As of version $1.23$, {\tt newtxtext} loads initially with lining figures so the math package uses lining figures in math mode. The option {\tt osf} switches to old-style figures in text at the very end of the preamble, forcing the use of oldstyle figures in text, but not math. In previous versions, it was necessary to run +\verb|\useosf| after loading math. This is no longer required, but does no harm. Option {\tt defaultsups} (same effect as {\tt defaultsups=true}) forces the package to use the \LaTeX\ default footnote markers (or, at least, those in force when the package is loaded) instead of preferred by the package---Palatino (clone) superior figures instead of spindly ordinary Palatino lining figures reduced to about 70\%. (Footnote markers in minipages use the default lowercase alphabetic characters, unless otherwise specified by redefining \verb|\thempfootnote|.) For better control over position and size of footnote markers, use the {\tt superiors} package after loading {\tt newpxtext}. @@ -115,12 +112,12 @@ you may use the forms \verb|\iint|, \verb|\iiint|, \verb|\iiiint| and \verb|\ido \textsc{Example:} \begin{verbatim} \documentclass[leqno]{article} -\usepackage{newpxtext} % T1, lining figures so math uses lf +\usepackage[osf]{newpxtext} % T1, lining figures in math, osf in text \usepackage{textcomp} % required for special glyphs \usepackage[varg,cmintegrals,bigdelims]{newpxmath} \usepackage[scr=rsfso]{mathalfa}% \mathscr is fancier than \mathcal \usepackage{bm} % load after all math to give access to bold math -\useosf %old-style figures in text, not in math +%\useosf %no longer needed \linespread{1.05}% Give Palatino more leading (space between lines) \end{verbatim} @@ -139,7 +136,7 @@ Math font packages in \LaTeX\ are susceptible to the ``Too many math alphabets'' 5: AMSb 6: lettersA 7: symbolsC -8: largesymbolsA +8: largesymbolsTXA 9: boldoperators 10: boldletters 11: boldsymbols diff --git a/Master/texmf-dist/fonts/tfm/public/newpx/zplbexx.tfm b/Master/texmf-dist/fonts/tfm/public/newpx/zplbexx.tfm Binary files differindex be6eb14e72f..28ebee9a919 100644 --- a/Master/texmf-dist/fonts/tfm/public/newpx/zplbexx.tfm +++ b/Master/texmf-dist/fonts/tfm/public/newpx/zplbexx.tfm diff --git a/Master/texmf-dist/fonts/tfm/public/newpx/zplexx.tfm b/Master/texmf-dist/fonts/tfm/public/newpx/zplexx.tfm Binary files differindex 21ad73dfd6c..17ab23c83d8 100644 --- a/Master/texmf-dist/fonts/tfm/public/newpx/zplexx.tfm +++ b/Master/texmf-dist/fonts/tfm/public/newpx/zplexx.tfm diff --git a/Master/texmf-dist/fonts/vf/public/newpx/zplbexx.vf b/Master/texmf-dist/fonts/vf/public/newpx/zplbexx.vf Binary files differindex 2f31c9d09b7..3e51640d691 100644 --- a/Master/texmf-dist/fonts/vf/public/newpx/zplbexx.vf +++ b/Master/texmf-dist/fonts/vf/public/newpx/zplbexx.vf diff --git a/Master/texmf-dist/fonts/vf/public/newpx/zplexx.vf b/Master/texmf-dist/fonts/vf/public/newpx/zplexx.vf Binary files differindex c29b5479acd..48fd0b0559a 100644 --- a/Master/texmf-dist/fonts/vf/public/newpx/zplexx.vf +++ b/Master/texmf-dist/fonts/vf/public/newpx/zplexx.vf diff --git a/Master/texmf-dist/tex/latex/newpx/newpxmath.sty b/Master/texmf-dist/tex/latex/newpx/newpxmath.sty index cd3744cee9f..dbd59d64b8f 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.11} -\def\filedate{2014/02/10} +\def\fileversion{1.12} +\def\filedate{2014/02/19} \ProvidesPackage{newpxmath} [\filedate\space v\fileversion] \@ifundefined{newpxmathLoaded}{}{\endinput} diff --git a/Master/texmf-dist/tex/latex/newpx/newpxtext.sty b/Master/texmf-dist/tex/latex/newpx/newpxtext.sty index 6155dcbe314..2c931a520f1 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 a small modification of TeXGyrePagella rather than ppl. -\def\fileversion{1.11} -\def\filedate{2014/02/10} +\def\fileversion{1.12} +\def\filedate{2014/02/19} \ProvidesPackage{newpxtext}[\filedate\space v\fileversion] \message{`newpxtext' v\fileversion, \filedate\space Text macros based on pxfonts (msharpe)} @@ -17,7 +17,11 @@ \let\orig@footnote=\thefootnote \let\orig@makefnmark=\@makefnmark -\RequirePackage{xkeyval} +\RequirePackage{xkeyval,etoolbox} +\renewcommand*{\rmdefault}{zplx} % the default until end of preamble +\def\useosf{\AtEndPreamble{\renewcommand*{\rmdefault}{zplj}}} +\@onlypreamble\useosf + \newif\ifzpl@defaultsups \define@boolkey{zpl}{defaultsups}[true]{% \csname zpl@defaultsups#1\endcsname} @@ -30,8 +34,8 @@ \noexpand\setkeys{zpl}{\CurrentOption}}% \x} \def\zpl@style{x}% default is lining figures -\DeclareOption{osf}{\def\zpl@style{j}}% oldstyle figures -\DeclareOption{oldstyle}{\def\zpl@style{j}}% oldstyle figures +\DeclareOption{osf}{\useosf}% oldstyle figures +\DeclareOption{oldstyle}{\useosf}% oldstyle figures \setkeys{zpl}{helvratio} % set this first, at least to default \setkeys{zpl}{scaled} % get at least default \ProcessOptions* @@ -65,9 +69,6 @@ % Text Serif (TGPagellaX) % %%%%%%%%%%%%%%%%%%%%%% -\renewcommand*{\rmdefault}{zpl\zpl@style} -\def\useosf{\renewcommand*{\rmdefault}{zplj}} -\@onlypreamble\useosf %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Text Sans Serif (based on Helvetica) % |