diff options
author | Karl Berry <karl@freefriends.org> | 2017-03-12 21:53:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-03-12 21:53:37 +0000 |
commit | 71ebcc5f266bf02265eb99627754c00b11b95024 (patch) | |
tree | e8b95a5096faf0968b4b357d0cebcab88993e075 /Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex | |
parent | 3ace2173b02d5e012b8bea47b38571dffb009e93 (diff) |
newpx (12mar17)
git-svn-id: svn://tug.org/texlive/trunk@43477 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex')
-rw-r--r-- | Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex index 0971c66e767..ae6327ae5ad 100644 --- a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex +++ b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex @@ -96,7 +96,7 @@ to load the roman and typewriter text fonts at 95\% of normal size, and the sans 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$. As of version $1.23$, {\tt newpxtext} 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 unless the {\tt babel} package is loaded, but does no harm. See the discussion in section 4 for further details. +\verb|\useosf| after loading math. This is no longer required, but does no harm. See the discussion in section 4 for further details. @@ -142,18 +142,17 @@ If you want full control, the options {\tt spacing, stretch, shrink} allow you t \section{Usage with {\tt babel}} -You should normally load {\tt babel} before loading {\tt newpxtext} in order for {\tt babel} to function as expected. {\tt Newpxtext} will set an internal flag to indicate that {\tt babel} is being used. Option \texttt{babel} should be used only if you are forced to load {\tt babel} after {\tt newpxtext}. There appears to be an incompatibility between parts of {\tt babel} and \verb|\AtEndPreamble|. If you use {\tt babel}, and a math package, you have to omit the {\tt osf} option and use the macro \verb|\useosf| after loading the math package if you want oldstyle figures in text mode and lining figures in math mode. A similar macro \verb|\useproportional| makes proportional figures the default outside math mode. For example: +You should normally load {\tt babel} before loading {\tt newpxtext} in order for {\tt babel} to function as expected. A similar macro \verb|\useproportional| makes proportional figures the default outside math mode. For example: \begin{verbatim} \usepackage[greek.polutonico,english]{babel} -\usepackage[theoremfont,largesc,tighter]{newpxtext} +% the next line makes text figures proportional, oldstyle, while math uses lining figures +\usepackage[theoremfont,largesc,tighter,p,osf]{newpxtext} \usepackage[T1]{fontenc} \usepackage{textcomp} \usepackage[varqu,varl]{inconsolata} \usepackage{amsmath,amsthm} \usepackage[bigdelims,vvarbb]{newpxmath} % option vvarbb gives you stix blackboard bold -\useosf -\useproportional \linespread{1.05} \end{verbatim} |