diff options
author | Karl Berry <karl@freefriends.org> | 2021-10-13 20:27:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-10-13 20:27:34 +0000 |
commit | 00c04da062de9cccf0004269d618bfebc6bf534f (patch) | |
tree | f1a4a4286c2ae0323990311f52f214935cd51997 /Master/texmf-dist/doc/fonts | |
parent | 5da12c4b996bc0a969f1f02590e87e6577323743 (diff) |
newpx (13oct21)
git-svn-id: svn://tug.org/texlive/trunk@60748 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts')
-rw-r--r-- | Master/texmf-dist/doc/fonts/newpx/README | 8 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf | bin | 780619 -> 791181 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex | 77 |
3 files changed, 49 insertions, 36 deletions
diff --git a/Master/texmf-dist/doc/fonts/newpx/README b/Master/texmf-dist/doc/fonts/newpx/README index f096c3e85eb..563281eacd8 100644 --- a/Master/texmf-dist/doc/fonts/newpx/README +++ b/Master/texmf-dist/doc/fonts/newpx/README @@ -1,10 +1,16 @@ This package, based initially on pxfonts, provides many fixes and enhancements to that package, splitting it in two parts---newpxtext and newpxmath---which may be run independently of one another. It provides scaling, improved metrics, and other options. For proper operation, the packages require that the packages newtxmath, pxfonts and TeXGyrePagella be installed and their map files enabled. The text package now relies on an extension of the TeXGyrePagella Type1 fonts that is provided with this package. The accompanying MANIFEST-newpx.txt provides details of the extension as requested by GUST-FONT-LICENSE.txt -Current version: 1.425 2021-09-12 +Current version: 1.426 2021-10-12 This material is subject to the LaTeX Project Public License. See http://www.ctan.org/license/lppl1.3 for the details of that license. +Changes in version 1.426 +1. Corrected a serious error in the code for parsing newpx-subs.tex for subscript corrections. +2. Added subscriptcorrectionfile, a new option to newpxmath, allows you to specify a different subscript correction file than the usual newpx-subs.tex. +3. Changed the documentation to modify the recommendation for handling newpx-subs.tex. +4. Small changes in px[b]miaX.{pfb,afm,tfm} to permit simpler fontinst scripts. + Changes in version 1.425 Corrections to examples in documentation, mostly about loading amsmath before amsthm. (Thanks Maurice Hansen.) diff --git a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf Binary files differindex 02f30cdbeb7..a42870a0e14 100644 --- a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf +++ b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf diff --git a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex index 818fcf0b4e1..e30c210123c 100644 --- a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex +++ b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex @@ -252,16 +252,22 @@ Don't use these unless you know what you're doing. \item \begin{itemize} \item{\tt varg} causes the math italic letter $g$ to be replaced by $\varg$; -\item{\tt cmintegrals} instructs \textsf{newpxmath} to load a thicker version of the Computer Modern integral in place of the \textsf{newpxmath} default---the pxfonts integral (identical to the integral in the Wolfram fonts), which is not to everyone's taste---a consequence is that none of the special forms of \textsf{pxfonts} integrals are available; \textbf{As of version 1.3, this option does nothing, as the new default is slanted integrals.} -\item The option {\tt cmbraces} instructs {\tt newpxmath} to ignore the brace collections from {\tt pxfonts}, substituting a collection based on thickened versions of the Computer Modern braces, which I find much easier to distinguish from other delimiters. This works quite well in regular weight but looks a bit clunky in bold. -\item [NEW] The new option {\tt bigdelims} offers delimiters which are a bit larger than the standard delimiters and the normal and {\tt big} sizes, with more distinction between the two than in the standard package. With {\tt bigdelims}, the option {\tt cmbraces} is ignored. +\item Option {\tt cmintegrals} is now useless---the original ugly integral sign have been replaced.%instructs \textsf{newpxmath} to load a thicker version of the Computer Modern integral in place of the \textsf{newpxmath} default---the pxfonts integral (identical to the integral in the Wolfram fonts), which is not to everyone's taste---a consequence is that none of the special forms of \textsf{pxfonts} integrals are available; \textbf{As of version 1.3, this option does nothing, as the new default is slanted integrals.} +%\item The option {\tt cmbraces} instructs {\tt newpxmath} to ignore the brace collections from {\tt pxfonts}, substituting a collection based on thickened versions of the Computer Modern braces, which I find much easier to distinguish from other delimiters. This works quite well in regular weight but looks a bit clunky in bold. +\item The options {\tt cmbraces} and {\tt bigdelims} now have no effect but do no harm---it is now the default behavior to use a larger size of delimiters than in the original package. \end{itemize} \item the combination \begin{verbatim} \usepackage{amsmath}% loads amstext, amsbsy, amsopn but not amssymb \usepackage{newpxmath} \end{verbatim} -causes no error, unlike the same combination with {\tt pxfonts}, but does nothing significant. The package {\tt newpxmath} loads the package {\tt amsmath} if it was not previously loaded. Options to {\tt amsmath} such as {\tt leqno,intlimits} may be passed to {\tt amsmath} via options to the documentclass. +causes no error, unlike the same combination with {\tt pxfonts}, but does nothing significant. The package {\tt newpxmath} loads the package {\tt amsmath} if it was not previously loaded. Options to {\tt amsmath} such as {\tt leqno,intlimits} may be passed to {\tt amsmath} via options to the documentclass. It is useful if you want to load {\tt amsthm} because the required order of loading is +\begin{verbatim} +\usepackage{amsmath} +\usepackage{amsthm} % amsmath must be loaded before amsthm +\usepackage{newpxmath} % amsthm must be loaded before newpxmath +\end{verbatim} + %The integrals are as defined in {\tt pxfonts}. %With %\begin{verbatim} %\usepackage[cmintegrals]{newpxmath} @@ -270,7 +276,7 @@ causes no error, unlike the same combination with {\tt pxfonts}, but does nothin \item {\tt uprightGreek} and {\tt slantedGreek} determine the form of Greek alphabet loaded---the default is {\tt uprightGreek}, which loads upright uppercase and slanted lowercase Greek symbols, as is customary in Anglo-American mathematical typesetting. With the option {\tt slantedGreek}, which you might want to use if you cared about ISO standards, all Greek symbols are slanted. No matter which is set, \verb|\Gammaup| (or \verb|\upGamma|) gives you upright \verb|\Gamma|, etc, and \verb|\Deltait|, \verb|zetait| give you italic (i.e., slanted) versions of those letters, and \verb|\mathnormal{\Omega}| etc will always produce the slanted version of uppercase Greek letters. (The macro \verb|\mathnormal| means essentially ``use the version of the symbol in {\tt letters}''---i.e., the math italic form. This did not always work as expected in versions prior to 1.27.) \item The \textsf{newpxmath} package contains three different Blackboard Bold alphabets, where original \textsf{pxfonts} contained one. The default, triggered by \verb|\mathbb{}|, takes its glyphs from the font which replaces {\tt msbm} and has the same overall appearance of a hollowed-out text font, which I find neither bold nor blackboard-like. The second option, taken from \textsf{pxfonts}, is triggered by \verb|\varmathbb{}|, is more geometric and, in my opinion, preferable but not optimal. The option {\tt varbb} makes \verb|\mathbb{}| synonymous with \verb|\varmathbb{}|. The third option is the double-struck glyphs from the STIX collection. See the expanded discussion below. \item {\tt nosymbolsc} causes the package to not load the {\tt symbolsC} fonts, saving a math family. (This font contains mostly exotic symbols, along with some very useful, commonly used symbols like \verb|\coloneq| $\coloneq$, \verb|\eqcolon| $\eqcolon$, \verb|\notin| $\notin$, \verb|\notni| $\notni$, \verb|\neq| $\neq$, \verb|\nsubset| $\nsubset$ and \verb|\nsupset| $\nsupset$, but these have been moved (virtually) to {\tt lettersA} so they may continue to be used even if you use the option {\tt nosymbolsc}.) -\item {\tt amssymbols} (the default) and {\tt noamssymbols} determine whether the {\tt pxfonts} versions of the \textsc{ams} symbols ({\tt msam}, {\tt msbm}) are loaded---if so, they override previous settings in {\tt amsmath}. If you use the option {\tt noamssymbols}, then \verb|\mathbb{}| is set to mean the same as \verb|\varmathbb{}|. (One advantage of {\tt noamssymbols} is that you save one of your precious math families for other purposes, such as setting a couple of external math alphabets by means of the \textsf{mathalfa} package.) +\item {\tt amssymbols} (the default) and {\tt noamssymbols} determine whether the {\tt pxfonts} versions of the \textsc{ams} symbols ({\tt msam}, {\tt msbm}) are loaded---if so, they override previous settings in {\tt amsmath}. If you use the option {\tt noamssymbols}, then \verb|\mathbb{}| is set to mean the same as \verb|\varmathbb{}|. (One advantage of {\tt noamssymbols} is that you save one of your precious math families for other purposes, such as setting a couple of external math alphabets by means of the \textsf{mathalpha} package.) \end{itemize} \textsc{Example:} @@ -278,7 +284,7 @@ causes no error, unlike the same combination with {\tt pxfonts}, but does nothin \documentclass[leqno]{article} \usepackage[osf,theoremfont]{newpxtext} % T1, lining figures in math, osf in text \usepackage{textcomp} % required for special glyphs -\usepackage[varg,bigdelims]{newpxmath} +\usepackage[varg]{newpxmath} \usepackage[scr=rsfso]{mathalfa}% \mathscr is fancier than \mathcal \usepackage{bm} % load after all math to give access to bold math %\useosf %no longer needed unless using babel @@ -448,11 +454,39 @@ Version 1.6.3 of {\tt pdfx} from February 2019 mishandles math accents. A fix i \end{verbatim} and then use \verb|$x_{\jj}$| instead of \verb|$x_j$|, turning $x_j$ into $x_{\jj}$. -If you do enable {\tt subscriptcorrection}, there is a default correction table in the {\tt sty} file, but the sty file also looks for a file named, {\tt newpx-subs.tex}. There is already such a file located in the {\tt newpx} distribution in the \verb|tex/latex/newpx| folder. (The contents of this file are also listed at the end of this appendix, from which they may be more easily copied.) If you wish to make changes to this file, copy the file to your home TeX folder where it will be found by TeX before the one in the distribution. (The contents of this file are also listed at the end of this appendix, from which they may be more easily copied.) The entries in the file are lines like +If you do enable {\tt subscriptcorrection}, there is a default correction table in the {\tt sty} file, but the sty file also looks for a file named, {\tt newpx-subs.tex}. There is already such a file located in the {\tt newpx} distribution in the \verb|tex/latex/newpx| folder. + +(New as of version $1.426$:) If you wish to make changes to {\tt newpx-subs.tex}, it is possible though not wise to copy the file to your home TeX folder where it will be found by TeX before the one in the distribution. The problem is that it is easy to forget where the file is located when you want to make changes. For the moment, my advice is to place the file contents with your changes inside a {\tt filecontents} environment at the top of your source file, as shown below. The effect will be to write that file in the same folder as your source, overwriting any existing copy. Version $1.426$ also offers you a new option {\tt subscriptcorrectionfile} that lets you specify a file name other than the default {\tt newpx-subs.tex} that can be used to specify a subscript correction file for some special use. + +\textbf{A sample newpx-subs.tex:}\\ +Copy the entire block below, starting with the line \verb|\begin{...| and ending after the line beginning \verb|\end{| +and pasting it into the top of your document before the \verb|\documentclass...| line, which will allow for easy editing and will write the file to the same folder as your document. +\begin{verbatim} +\begin{filecontents*}[force,nosearch]{newpx-subs.tex} +{f}{-2.5} +{j}{-1.5} +{p}{-1} +{y}{-1} +{A}{-1.5} +{B}{-1} +{D}{-1} +{H}{-1} +{I}{-1} +{K}{-1} +{L}{-1} +{M}{-1} +{N}{-0.5} +{P}{-1} +{X}{-1} +{\rho}{-1.5} +{\mu}{-1} +\end{filecontents*} +\end{verbatim} +The entries in the file are lines like \begin{verbatim} {j}{-3} \end{verbatim} -each of which will have the same effect as the above macro if the first item in the subscript is j. You can also specify Greek letters with lines like +each of which will have the same effect as the above macro \verb|\jj| if the first item in the subscript is {\tt j}. You can also specify Greek letters with lines like \begin{verbatim} {\beta}{-1.5} \end{verbatim} @@ -496,31 +530,4 @@ The AMS fonts replacement, {\tt zplsym} corrects the former misplacement of \ver \newpage \subsection{symbols} \fonttable{zplsy} -\newpage -\subsection{A sample newpx-subs.tex} -You may either copy the entire block below, starting with the line \verb|\begin{...| and ending after the line beginning \verb|\end{| -and pasting it into the top of your document before the \verb|\documentclass...| line, which will allow for easy editing and will write the file to the same folder as your document, or make your own file, omitting those outer two lines. - -\begin{verbatim} -\begin{filecontents*}{newpx-subs.tex} -{f}{-2.5} -{j}{-1.5} -{p}{-1} -{y}{-1} -{A}{-1.5} -{B}{-1} -{D}{-1} -{H}{-1} -{I}{-1} -{K}{-1} -{L}{-1} -{M}{-1} -{N}{-0.5} -{P}{-1} -{X}{-1} -{\rho}{-1.5} -{\mu}{-1} -\end{filecontents*} - -\end{verbatim} \end{document}
\ No newline at end of file |