summaryrefslogtreecommitdiff
path: root/fonts/newpx/doc
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/newpx/doc')
-rw-r--r--fonts/newpx/doc/newpxdoc.pdfbin808489 -> 780619 bytes
-rw-r--r--fonts/newpx/doc/newpxdoc.tex10
2 files changed, 7 insertions, 3 deletions
diff --git a/fonts/newpx/doc/newpxdoc.pdf b/fonts/newpx/doc/newpxdoc.pdf
index ce4a919c31..02f30cdbeb 100644
--- a/fonts/newpx/doc/newpxdoc.pdf
+++ b/fonts/newpx/doc/newpxdoc.pdf
Binary files differ
diff --git a/fonts/newpx/doc/newpxdoc.tex b/fonts/newpx/doc/newpxdoc.tex
index 1c8bcafcd3..818fcf0b4e 100644
--- a/fonts/newpx/doc/newpxdoc.tex
+++ b/fonts/newpx/doc/newpxdoc.tex
@@ -7,10 +7,11 @@
\pdfcompresslevel=0
\pdfgentounicode=1
\input glyphtounicode.tex
-\usepackage{pdfx} % v 1.6.4 or higher
+%\usepackage{pdfx} % v 1.6.4 or higher
\InputIfFileExists{glyphtounicode-cmr.tex}{}{}
\InputIfFileExists{glyphtounicode-ntx.tex}{}{}
\usepackage{fonttable}
+\usepackage{amsmath} % must be loaded before amsthm
\usepackage{amsthm}
\newtheoremstyle{oldplain}
{\topsep} % ABOVESPACE
@@ -171,7 +172,8 @@ You should normally load {\tt babel} before loading {\tt newpxtext} in order for
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage[varqu,varl]{inconsolata}
-\usepackage{amsthm}
+\usepackage{amsmath} % must be loaded before amsthm
+\usepackage{amsthm} % must be loaded before newpxmath
\usepackage[vvarbb]{newpxmath}
% option vvarbb gives you stix blackboard bold
\linespread{1.05}
@@ -193,6 +195,7 @@ unless suppressed by an appropriate option. E.g.,
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
@@ -200,7 +203,8 @@ While the math font options must be specified before {\tt fontspec}, be aware of
\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{amsmath} % must be loaded before amsthm
+\usepackage{amsthm}% load before newpxmath
\usepackage[bigdelims,vvarbb]{newpxmath}
\usepackage[scr=rsfso]{mathalfa}
\usepackage{bm}% load after all math to give access to bold math