From f1261b349e875b842745b63258c3e338cb1fe3bf Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 23 May 2021 03:00:39 +0000 Subject: CTAN sync 202105230300 --- fonts/newpx/doc/newpxdoc.pdf | Bin 804826 -> 808489 bytes fonts/newpx/doc/newpxdoc.tex | 28 ++++++++++++++++++++-------- 2 files changed, 20 insertions(+), 8 deletions(-) (limited to 'fonts/newpx/doc') diff --git a/fonts/newpx/doc/newpxdoc.pdf b/fonts/newpx/doc/newpxdoc.pdf index 811a0a966b..ce4a919c31 100644 Binary files a/fonts/newpx/doc/newpxdoc.pdf and b/fonts/newpx/doc/newpxdoc.pdf differ diff --git a/fonts/newpx/doc/newpxdoc.tex b/fonts/newpx/doc/newpxdoc.tex index ba5cc4a189..1c8bcafcd3 100644 --- a/fonts/newpx/doc/newpxdoc.tex +++ b/fonts/newpx/doc/newpxdoc.tex @@ -1,5 +1,5 @@ % !TEX TS-program = pdflatexmk -\documentclass[11pt]{article} +\documentclass[11pt]{article} \usepackage[margin=1in]{geometry} \usepackage[parfill]{parskip}% Begin paragraphs with an empty line rather than an indent \pdfmapfile{=newtx.map} @@ -11,7 +11,7 @@ \InputIfFileExists{glyphtounicode-cmr.tex}{}{} \InputIfFileExists{glyphtounicode-ntx.tex}{}{} \usepackage{fonttable} -\usepackage{amsthm} +\usepackage{amsthm} \newtheoremstyle{oldplain} {\topsep} % ABOVESPACE {\topsep} % BELOWSPACE @@ -30,7 +30,8 @@ %SetFonts % newpx text and math \linespread{1.05} -\usepackage[largesc,theoremfont]{newpxtext} +%\usepackage[largesc,theoremfont]{newpxtext} +\usepackage[theoremfont,trueslanted]{newpxtext} \usepackage[scaled=1.05]{nimbusmononarrow} %\usepackage[scaled=1.05,zerostyle=a]{newtxtt} \usepackage{textcomp} @@ -89,7 +90,18 @@ the new package is split into separate text and math packages that do not need t \item Sans serif is by default taken from TeXGyreHeros, a Helvetica clone, and by default at 94\% of the scale factor (set by {\tt scaled}, default value {\tt1}). The option {\tt helvratio=.98} will change that to 98\%. As of newpx version 1.415, there is an option {\tt nohelv} that prevents this loading. \item New math accents such as \verb|\widearc| have been introduced in tandem with the {\tt newtx} package, where they are documented. \end{itemize} + + \section{Text mode options and macros} +\textsc{Important changes as of version 1.42}\\ +Option {\tt theoremfont} was reimplemented using a new font family, {\tt npxth} instead of abusing \verb|\textsl|. By default, users of {\tt theoremfont} will see no change in its functionality, including the use of the macro \verb|\textsl| to output italics with upright punctuation. A new option, {\tt trueslanted}, to {\tt newpxtext} has the following effects: +\begin{itemize} +\item +\verb|\textsl| now outputs slanted text rather than italics with upright punctuation text, but not affecting the usage of the {\tt theoremfont} option to {\tt newpxtext}. +\item the former behavior of \verb|\textsl| is now available through the new macro \verb|\textth|, \textsc{aka} \verb|\textthit|. +\item \verb|\pagestyle{headings}| now functions as intended with slanted rather than upright figures in the headers. +\end{itemize} + The text mode environment invoked by \begin{verbatim} \usepackage{newpxtext} @@ -111,7 +123,7 @@ As of version 1.415, the new option {\tt nohelv} prevents the loading of the def As described above, option {\tt largesc} increases the size of small caps by about 8\%. -Option {\tt defaultsups} (same effect as {\tt defaultsups=true}) forces the package to use the \LaTeX\ default footnote markers (or, at least, those in force when the package is loaded) instead of preferred by the package---Palatino (clone) superior figures instead of spindly ordinary Palatino lining figures reduced to about 70\%. (Footnote markers in minipages use the default lowercase alphabetic characters, unless otherwise specified by redefining \verb|\thempfootnote|.) For better control over position and size of footnote markers, use the {\tt superiors} package after loading {\tt newpxtext}. +Option {\tt defaultsups} (same effect as {\tt defaultsups=true}) forces the package to use the \LaTeX\ default footnote markers (or, at least, those in force when the package is loaded) instead of those preferred by the package---Palatino (clone) superior figures instead of spindly ordinary Palatino lining figures reduced to about 70\%. (Footnote markers in minipages use the default lowercase alphabetic characters, unless otherwise specified by redefining \verb|\thempfootnote|.) For better control over position and size of footnote markers, use the {\tt superiors} package after loading {\tt newpxtext}. The {\tt theoremfont} option changes the default font used for the {\tt plain} theorem style of {\tt amsthm}, keeping italic text but substituting upright figures and punctuation. For example, with this option, you get theorem statements like this: @@ -123,7 +135,7 @@ Compare this to traditional {\tt plain} theorem style of the same text: This is Theorem Italic: text numbers are upright---12345; punctuation is in many cases upright (also, parens, braces \{\} and brackets []). What about question marks and exclamations? Also upright! [These fit better with math mode punctuation and figures, like: for all $x\in[0,1]$, let $f(x)\coloneq \exp(\alpha x)$]. \end{oldthm} -If you are using another theorem package (e.g., ntheorem, theorem) you will have to add your own descriptors as specified in the its documentation and set the body font to \verb|\slshape|. +If you are using another theorem package (e.g., ntheorem, theorem) you will have to add your own descriptors as specified in the its documentation and set the body font to \verb|\thfamily|. Superior letters and figures may be called with either \verb|{\sustyle ...}| or \verb|\textsu{...}|, so you can emulate $18$\textsu{th} century orthography such as J\textsu{os} W\textsu{m} Smith, or print French style with , e.g., $1$\textsu{i\`ere}, M\textsu{me} Dubois or M\textsu{lle} D'Orl\'eans. @@ -155,12 +167,12 @@ You should normally load {\tt babel} before loading {\tt newpxtext} in order for \begin{verbatim} \usepackage[greek.polutonico,english]{babel} % the next line makes text figures proportional, oldstyle, while math uses lining figures -\usepackage[theoremfont,largesc,tighter,p,osf]{newpxtext} +\usepackage[theoremfont,trueslanted,largesc,tighter,p,osf]{newpxtext} \usepackage[T1]{fontenc} \usepackage{textcomp} \usepackage[varqu,varl]{inconsolata} -\usepackage{amsmath,amsthm} -\usepackage[bigdelims,vvarbb]{newpxmath} +\usepackage{amsthm} +\usepackage[vvarbb]{newpxmath} % option vvarbb gives you stix blackboard bold \linespread{1.05} \end{verbatim} -- cgit v1.2.3