summaryrefslogtreecommitdiff
path: root/fonts/newpx/doc/newpxdoc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/newpx/doc/newpxdoc.tex')
-rw-r--r--fonts/newpx/doc/newpxdoc.tex36
1 files changed, 17 insertions, 19 deletions
diff --git a/fonts/newpx/doc/newpxdoc.tex b/fonts/newpx/doc/newpxdoc.tex
index df34eebde1..beb3719461 100644
--- a/fonts/newpx/doc/newpxdoc.tex
+++ b/fonts/newpx/doc/newpxdoc.tex
@@ -311,7 +311,7 @@ You do not need to load {\tt amsmath}: it is loaded by {\tt unicode-math}.
Supports {\tt newpxmath} with an otf text font.
\begin{verbatim}
% Without newpx
- \renewcommand*{\rmdefault}{zplTLF} % loads minimal version of text font for use in math
+ \renewcommand*{\rmdefault}{zpltlf} % loads minimal version of text font for use in math
\usepackage[T1]{fontenc} % so operators can have accented letters
\usepackage[list of math options]{newpxmath} %
\usepackage[no-math]{fontspec}
@@ -339,13 +339,13 @@ In the olden days of [pdf]latex processing, {\tt newpx} was traditionally summo
\end{verbatim}
which still works but is a bit less flexible than its modern form:
\begin{verbatim}
-\renewcommand*{\rmdefault}{zplTLF}% minimal text family, Roman and Bold for math
+\renewcommand*{\rmdefault}{zpltlf}% minimal text family, Roman and Bold for math
\usepackage[T1]{fontenc}
\usepackage[<list of text and math options>]{newpx}
\end{verbatim}
which expands in the non-unicode case to
\begin{verbatim}
-\renewcommand*{\rmdefault}{zplTLF}% minimal text family, Roman and Bold for math
+\renewcommand*{\rmdefault}{zpltlf}% minimal text family, Roman and Bold for math
\usepackage[T1]{fontenc}
\usepackage[<list of math options>]{newpxmath}
\usepackage[<list of text options>]{newpxtext}
@@ -353,14 +353,14 @@ which expands in the non-unicode case to
For this arrangement, the math package needs information about the text font currently in force and the current typewriter and, possibly, the current sans serif font. The default Latin Modern text family would most likely not work well here for use as operators, \verb|\mathbf|, \verb|\mathtt| and the like. Dealing with the math part first allows you the flexibility of choosing different text fonts for use in math than you will use for body text.
\begin{verbatim}
% Without newpx
- \renewcommand*{\rmdefault}{zplTLF}% minimal text family, Roman and Bold for math
+ \renewcommand*{\rmdefault}{zpltlf}% minimal text family, Roman and Bold for math
\usepackage[T1]{fontenc}
\usepackage[<list of math options>]{newpxmath} % options will be as passed from newpx
\usepackage{} % the chosen text package
% should load tt and sans math before math
% or, using newpx, where text font will be TeXGyrePagelleX
% should load tt and sans math before newpx
- \usepackage[T1]{fontenc} % math text font zplTLF by default
+ \usepackage[T1]{fontenc} % math text font zpltlf by default
\usepackage[<list of text and math options>]{newpx}
\end{verbatim}
\textsc{Notes:}
@@ -405,7 +405,7 @@ As far as I can tell, \textsf{newpxmath} works with both, but requires a very sp
\begin{verbatim}
%\usepackage[greek.polutonico,english]{babel} % if using babel
% next line calls fontspec and loads TeXGyrePagellaX otf
-\usepackage[theoremfont,trueslanted,largesc,p,osf]{newpxtext}
+\usepackage[otfmath,theoremfont,trueslanted,largesc,p,osf]{newpxtext}
% set mono and sans opentype fonts
%\usepackage{polyglossia} % must load after fontspec, if using polyglossia
% polyglossia setup commands
@@ -425,7 +425,7 @@ With {\tt newpx}, there is a little simplification:
\begin{verbatim}
%\usepackage[greek.polutonico,english]{babel} % if using babel
% next line calls fontspec and loads TeXGyrePagellaX otf
-\usepackage[theoremfont,trueslanted,largesc,p,osf]{newpx}
+\usepackage[otfmath,theoremfont,trueslanted,largesc,p,osf]{newpx}
% set mono and sans opentype fonts
%\usepackage{polyglossia} % must load after fontspec, if using polyglossia
% polyglossia setup commands
@@ -455,7 +455,7 @@ With {\tt newpx}, there is a little simplification:
\textsc{Example II: TeXGyrePagellaX Opentype + newpxmath (type1) + polyglossia + other Opentype.}
\begin{verbatim}
-\renewcommand{\rmdefault}{zplTLF}% Roman and Bold PagellaX for math mode
+\renewcommand{\rmdefault}{zpltlf}% Roman and Bold PagellaX for math mode
\usepackage[T1]{fontenc} % T1 is active encoding for use in math text
\usepackage[type1]{sourcesanspro}% used only by \mathsf, optional
% Next line loads amsmath, then loads amsthm
@@ -478,7 +478,7 @@ You do not need to load {\tt amsmath}: it is loaded by {\tt newpxmath}. Option {
\item The {\tt type1} option to {\tt cabin} is important, preventing it from loading {\tt fontspec}, which would lead to an {\tt option clash} error. \end{itemize}
With {\tt newpx}, the above is equivalent to:
\begin{verbatim}
-%\renewcommand{\rmdefault}{zplTLF}% Roman and Bold PagellaX for math mode
+%\renewcommand{\rmdefault}{zpltlf}% Roman and Bold PagellaX for math mode
\usepackage[T1]{fontenc} % T1 is active encoding for use in math text
\usepackage[type1]{sourcesanspro}% used only by \mathsf, optional
% Next line loads amsmath, then loads amsthm
@@ -493,7 +493,7 @@ With {\tt newpx}, the above is equivalent to:
\textsc{Example III: newpxtext type1 + newpxmath (type1) + polyglossia + other Opentype.}
\begin{verbatim}
-\renewcommand{\rmdefault}{zplTLF}% Roman and Bold Pagella for math mode
+\renewcommand{\rmdefault}{zpltlf}% Roman and Bold Pagella for math mode
\usepackage[T1]{fontenc} % T1 is active encoding for use in math text
\usepackage[type1]{sourcesanspro}% used only by \mathsf, optional
%Uncomment either the following line
@@ -541,9 +541,7 @@ prevents the problem with the {\tt cabin} package. (Not working in the version o
\usepackage{newpxtext}
\usepackage[scaled=.85]{beramono}% used only by \mathtt, optional
\usepackage[type1]{sourcesanspro}% used only by \mathsf, optional
-\usepackage{amsmath} % must be loaded before amsthm, if using amsthm
-\usepackage{amsthm}% load before newpxmath
-\usepackage[vvarbb]{newpxmath}
+\usepackage[amsthm,vvarbb]{newpxmath}
\usepackage[scr=rsfso]{mathalpha} % optional
\usepackage{bm}% load after all math to give access to bold math, optional
%Now load the otf text fonts using fontspec---won't affect math
@@ -557,7 +555,7 @@ While the math font options must be specified before {\tt fontspec}, be aware of
\begin{verbatim}
%load LaTeX text components before math
\usepackage[T1]{fontenc} % affects only \mathrm, \mathbf etc
-\renewcommand{\rmdefault}{zplTLF}% Roman font for use in math mode
+\renewcommand{\rmdefault}{zpltlf}% Roman font for use in math mode
\usepackage[scaled=.85]{beramono}% used only by \mathtt, optional
\usepackage[type1]{sourcesanspro}% used only by \mathsf, optional
\usepackage{amsmath} % must be loaded before amsthm
@@ -573,12 +571,12 @@ While the math font options must be specified before {\tt fontspec}, be aware of
\textsc{Example preamble using polyglossia:}
\begin{verbatim}
-\renewcommand{\rmdefault}{zplTLF}% Roman and Bold for use in math mode
+\renewcommand{\rmdefault}{zpltlf}% Roman and Bold for use in math mode
\usepackage[T1]{fontenc} % T1 is active encoding for use in math text
\usepackage[type1]{sourcesanspro}% used only by \mathsf, optional
-\usepackage{amsmath} % must be loaded before amsthm
-\usepackage{amsthm}% load before newpxmath
-\usepackage[vvarbb]{newpxmath}
+%\usepackage{amsmath} % must be loaded before amsthm
+%\usepackage{amsthm}% load before newpxmath
+\usepackage[amsthm,vvarbb]{newpxmath}
\usepackage[no-math]{newpxtext}% pass no-math option to fontspec
% Fontspec will be loaded so that Opentype text fonts may be loaded
\usepackage{polyglossia} % must load after fontspec
@@ -594,7 +592,7 @@ Previous to version 1.5, the preceding pages of this document were processed usi
\begin{itemize}
\item
\verb|\textfrac| works more precisely under unicode tex because it is possible to adjust kerning between all characters. The effect should not be very noticeable, at least in regular style.
-\item {\tt sups}: the package treats this differently in unicode LaTeX and pdflatex, with handling in the unicode case passed off to the {\tt realscripts} package where the footnote marker font is set to \verb|\normalfont|, meaning that superiors from the current (TeXGyrePagellaX) text font are employed.
+%\item {\tt sups}: the package treats this differently in unicode LaTeX and pdflatex, with handling in the unicode case passed off to the {\tt realscripts} package where the footnote marker font is set to \verb|\normalfont|, meaning that superiors from the current (TeXGyrePagellaX) text font are employed.
%\item The \verb|\footnote| macro has been changed and appears to function correctly in KOMA based packages, though for proper handling of multiple footnote markers it may be necessary to add the following line to your preamble:
\begin{verbatim}
\usepackage[multiple]{fontmisc}