diff options
author | Karl Berry <karl@freefriends.org> | 2021-09-13 20:06:46 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-09-13 20:06:46 +0000 |
commit | fe65c8d9a35acb1f448cb7fa91a55b1d8eddde5f (patch) | |
tree | 64a9cac26f6be185a17a2cafc6e3924d0dee7f48 /Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex | |
parent | 52312f90ed22216de70bb6c15be4320b2521b48b (diff) |
newpx (13sep21)
git-svn-id: svn://tug.org/texlive/trunk@60496 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 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex index 1c8bcafcd34..818fcf0b4e1 100644 --- a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex +++ b/Master/texmf-dist/doc/fonts/newpx/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 |