summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/fonts')
-rw-r--r--Master/texmf-dist/doc/fonts/newpx/README6
-rw-r--r--Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdfbin217788 -> 221744 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex32
3 files changed, 37 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/fonts/newpx/README b/Master/texmf-dist/doc/fonts/newpx/README
index 107c7c59ccc..9625010ebd0 100644
--- a/Master/texmf-dist/doc/fonts/newpx/README
+++ b/Master/texmf-dist/doc/fonts/newpx/README
@@ -1,10 +1,14 @@
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.294 2016-01-11
+Current version: 1.295 2016-02-11
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.295
+1. Generated with latest update to afm2tfm.
+2. Documentation addition re using newpxmath in XeLaTeX and LuaLaTeX.
+
Changes in version 1.294
1. Changes to definitions of \widehat and \widetilde in newpxmath.sty so they bahave as expected in nested accents.
2. Reworked text metrics to repair heights of latters d and t in text mode, caused by an afm2tfm bug, now fixed.
diff --git a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf
index 175304730a4..83d0f2be75d 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 c92719fcbf2..1401d609365 100644
--- a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex
+++ b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex
@@ -151,6 +151,38 @@ You should normally load {\tt babel} before loading {\tt newpxtext} in order for
\linespread{1.05}
\end{verbatim}
+\section{Usage with Lua\LaTeX\ and Xe\LaTeX}
+As far as I can tell, \textsf{newpxmath} works with both, but requires a very specific loading order and choice of options. Briefly, the math options must all be loaded prior to loading and using {\tt fontspec}. Be aware that some text packages (eg, {\tt cabin}) may contain a line like
+\begin{verbatim}
+\RequirePackage{fontspec}
+\end{verbatim}
+which would prevent (``option clash'' error) a subsequent
+\begin{verbatim}
+\usepackage[no-math]{fontspec}
+\end{verbatim}
+unless suppressed by an appropriate option. Eg,
+\begin{verbatim}
+\usepackage[type1]{cabin}
+\end{verbatim}
+prevents the problem with the {\tt cabin} package.
+
+While the math font options must be specified before {\tt fontspec}, be aware of a potential trap. Using \verb|\usepackage{newpxtext}| before \verb|\usepackage{newpxmath}| results in {\tt newpxtext}'s font-loading options being run after all other packages in the preamble, so instead of \verb|\usepackage{newpxtext}|, use the following:
+\textsc{Example:}
+\begin{verbatim}
+%load LaTeX text components before math math
+\usepackage[T1]{fontenc}
+\renewcommand{\rmdefault}{zpltlf}% Roman font for use in math mode
+\usepackage[scaled=.85]{beramono}% used only by \mathtt
+\usepackage[type1]{cabin}% used only by \mathsf
+\usepackage{amsthm}% load before newtxmath
+\usepackage[cmintegrals,bigdelims,vvarbb]{newpxmath}
+\usepackage[scr=rsfso]{mathalfa}
+\usepackage{bm}% load after all math to give access to bold math
+%Now load the otf text fonts using fontspec---won't affect math
+\usepackage[no-math]{fontspec} % process with XeLaTeX or LuaLaTeX
+\setmainfont{TeXGyrePagellaX} % this reads in TeXGyrePagellaX.fontspec
+\end{verbatim}
+
\section{Math mode options}
The package invoked by