diff options
author | Norbert Preining <norbert@preining.info> | 2021-09-13 03:01:31 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-09-13 03:01:31 +0000 |
commit | e403b5892f209477e44b123a10b5b35cc425d8e9 (patch) | |
tree | d591f7d54ea3dda044ed78c3a95b96589149f411 /fonts/newpx/doc/newpxdoc.tex | |
parent | cac1f99f7d65e4d3c8bc7575c30f6b1bc605a683 (diff) |
CTAN sync 202109130301
Diffstat (limited to 'fonts/newpx/doc/newpxdoc.tex')
-rw-r--r-- | fonts/newpx/doc/newpxdoc.tex | 10 |
1 files changed, 7 insertions, 3 deletions
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 |