summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/newpx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-10-03 21:06:58 +0000
committerKarl Berry <karl@freefriends.org>2019-10-03 21:06:58 +0000
commita20ec7ef1e60c911f3bf1847592cc34edae295d6 (patch)
treed0a1d7d4da94c0ceb876e351230627999c1dbcdb /Master/texmf-dist/doc/fonts/newpx
parentcee5e9ce7bb309d3753d174033202d76edbabe5b (diff)
newpx (3oct19)
git-svn-id: svn://tug.org/texlive/trunk@52266 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts/newpx')
-rw-r--r--Master/texmf-dist/doc/fonts/newpx/CnangesInV1.4.txt49
-rw-r--r--Master/texmf-dist/doc/fonts/newpx/README19
-rw-r--r--Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdfbin287991 -> 791695 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex131
4 files changed, 198 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/fonts/newpx/CnangesInV1.4.txt b/Master/texmf-dist/doc/fonts/newpx/CnangesInV1.4.txt
new file mode 100644
index 00000000000..f4ac551f301
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/newpx/CnangesInV1.4.txt
@@ -0,0 +1,49 @@
+Files changed in Newpx as of version 1.4 (2019/09/09)
+
+MATH
+
+NewPXMI.{pfb,afm,tfm} : math italics, LPPL licensed (new)
+NewPXBMI.{pfb,afm,tfm} : bold math italics, LPPL licensed (new)
+NewPXMI_gnu.{pfb,afm,tfm} : math italics, GNU licensed (new)
+NewPXBMI_gnu.{pfb,afm,tfm} : bold math italics, GNU licensed (new)
+stsscr.{pfb,afm,tfm} : old STIX script alphabets OFL (new)
+txmiaSTbb.{pfb,afm,tfm} : old STIX BBB alphabet OFL (new)
+txbmiaSTbb.{pfb,afm,tfm} : old STIX bold BBB alphabet OFL (new)
+px[b]miaX.{pfb,afm,tfm} : extended and modified px[b]mia
+px[b]sys.{pfb,afm,tfm} : modified px[b]sys
+zpl[b]mi.{tfm,vf} : letters
+zpl[b[sy.{tfm,vf} : symbols
+zpl[b]mia.{tfm,vf} : lettersA
+
+TEXT
+
+The npxsups*.tfm were completely revised so as to pass PDF/A-1b validation.
+npxsups-Regular.{pfb,afm} LPPL (New)
+npxsups-Italic.{pfb,afm} LPPL (New)
+npxsups-Bold.{pfb,afm} LPPL (New)
+npxsups-BoldItalic.{pfb,afm} LPPL (New)
+npxsups_OT1.enc (New)
+npxsups_T1.enc (New)
+npxsups_LY1.enc (New)
+
+The tfm files were generated using
+
+afm2tfm npxsups-Regular -a -T npxsups_OT1.enc -v npxsups-Regular-ot1 npxsups-Regular-ot1
+afm2tfm npxsups-Regular -a -T npxsups_T1.enc -v npxsups-Regular-t1 npxsups-Regular-t1
+afm2tfm npxsups-Regular -a -T npxsups_LY1.enc -v npxsups-Regular-ly1 npxsups-Regular-ly1
+afm2tfm npxsups-Italic -a -T npxsups_OT1.enc -v npxsups-Italic-ot1 npxsups-Italic-ot1
+afm2tfm npxsups-Italic -a -T npxsups_T1.enc -v npxsups-Italic-t1 npxsups-Italic-t1
+afm2tfm npxsups-Italic -a -T npxsups_LY1.enc -v npxsups-Italic-ly1 npxsups-Italic-ly1
+afm2tfm npxsups-Bold -a -T npxsups_OT1.enc -v npxsups-Bold-ot1 npxsups-Bold-ot1
+afm2tfm npxsups-Bold -a -T npxsups_T1.enc -v npxsups-Bold-t1 npxsups-Bold-t1
+afm2tfm npxsups-Bold -a -T npxsups_LY1.enc -v npxsups-Bold-ly1 npxsups-Bold-ly1
+afm2tfm npxsups-BoldItalic -a -T npxsups_OT1.enc -v npxsups-BoldItalic-ot1 npxsups-BoldItalic-ot1
+afm2tfm npxsups-BoldItalic -a -T npxsups_T1.enc -v npxsups-BoldItalic-t1 npxsups-BoldItalic-t1
+afm2tfm npxsups-BoldItalic -a -T npxsups_LY1.enc -v npxsups-BoldItalic-ly1 npxsups-BoldItalic-ly1
+#
+for f in npxsups*.vpl; do /bin/cp -fp $f ${f%.*}.pl; done
+for f in npxsups*.pl; do pltotf $f ${f%.*}.tfm; done
+
+MAP
+
+newpx.map was revised to relect the changes above. \ No newline at end of file
diff --git a/Master/texmf-dist/doc/fonts/newpx/README b/Master/texmf-dist/doc/fonts/newpx/README
index 0c30cb25c1b..f728c2620f4 100644
--- a/Master/texmf-dist/doc/fonts/newpx/README
+++ b/Master/texmf-dist/doc/fonts/newpx/README
@@ -1,10 +1,27 @@
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.33 2018-12-16
+Current version: 1.401 2019-10-02
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.40
+1. Changed name of file newpx.subs to newpx-subs.tex.
+2. Placed the \pdfglyphtounicode lines in a conditional block in newpxmath.sty so it could continue to be used with other engines. (Thanks Hironobu Yamashita.)
+
+Changes in version 1.40
+1. Reworked the math italics to improve the rendering of some subscripts and superscripts, where formerly, overlaps could occur with superscripts like j, f, p and y with base shapes, such as D, that are round on the right. Increasing the left side-bearing of j, etc, helps with superscripts but makes those letters leave a large gap when used as subscripts.
+2. Corrected and enhanced the subscriptcorrection option to newpxmath so that it now fixes the above problem. I regret that this option is incompatible with xy-pic, both depending on making _ an active character but with very different behaviors. Newpxmath will detect if xy is loaded and disable subscriptcorrection if so.
+3. Added new script alphabets to math italics by extending the encoding from oml to full 256 slots, so they can be used without wasting math families.
+4. Rearranged npxmia and zplsy. The user should not notice this, unless I have erred somewhere.
+5. Provided an adaptive vector accent which matches the normal vector accent but extends as needed over its accentee. I've followed the usage of the esvect package, but changed its implementation.
+6. Many small corrections to spacing and accent positioning.
+7. Revised the superior letters fonts so they have appropriate unicode values.
+8. As a result of these changes, documents generated using newpxmath and appropriate settings will validate PDF/A-1b. (Thanks to Ross Moore for providing the necessary files and details on this.) See the updated documentation to newpx for details.
+9. Fixed error in lmxnpxexx.fd re fontdimens. (Thanks Ruixi Zhang.)
+10. Added option fracspacing that modifies fontdimens 8 and 11 of the symbol font to values more appropriate to the newpx fonts. (Thanks Ruixi Zhang.)
+11. Corrected AMS replacement font npxsym to fix \dalath, \mathbb{k}, \circledR and \circledS.
+
Changes in version 1.33
Modified newpxmath.sty to correct the macros involving selection of Blackboard Bold alphabets.
diff --git a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf
index 94e091de7d8..e036e06df05 100644
--- a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf
+++ b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex
index 28f800b1cf6..9e704981196 100644
--- a/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex
+++ b/Master/texmf-dist/doc/fonts/newpx/newpxdoc.tex
@@ -2,6 +2,15 @@
\documentclass[11pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage[parfill]{parskip}% Begin paragraphs with an empty line rather than an indent
+\pdfmapfile{=newtx.map}
+\pdfmapfile{=newpx.map}
+\pdfcompresslevel=0
+\pdfgentounicode=1
+\input glyphtounicode.tex
+\usepackage{pdfx} % v 1.6.4 or higher
+\InputIfFileExists{glyphtounicode-cmr.tex}{}{}
+\InputIfFileExists{glyphtounicode-ntx.tex}{}{}
+\usepackage{fonttable}
\usepackage{amsthm}
\newtheoremstyle{oldplain}
{\topsep} % ABOVESPACE
@@ -376,4 +385,126 @@ Variant 2 & \verb|$\vvmathbb{R}}$| $\vvmathbb{R}$& \verb|{\boldmath $\vvmathbb{R
For further information on the changes made to \texttt{newpxmath} 1.3, see the appendix to the documentation for \texttt{newtxmath} 1.5.
+\def\jj{\mkern-3mu j}
+
+\section{Appendix 1: Changes made in version 1.40}
+Versions of {\tt newpx} dated from September, 2019 (1.40 for {\tt newpxmath} make some quite substantial changes, mostly to math mode.
+
+\section{Goals}
+Spurred by work of Ross Moore to provide means of generating archivable pdf using {\tt pdflatex}, the main goal was to change {\tt newpx} and {\tt newtx} to meet the requirements for satisfying the {\tt PDF/A-1b} standards by using an appropriate preamble involving the {\tt pdfx} package and other unicode mapping files. Making these changes gave me the opportunity to organize the source files to make them more manageable in future revisions.
+
+A further goal whose time seemed ripe was to rework the spacing of math letters, both Roman and Greek, so they behaved better in superscripts and subscripts. This did not turn out to be so easy. The problem is illustrated by math italic j. If you don't give it enough extra space on the left, it will likely collide with the D in rendering \verb|$D^j$|. On the other hand, if you do give it enough space on the left, it will look bad as a subscript, appearing too far right.
+
+A final goal was to make better use of the remaining space in some of the math fonts by placing some math alphabets in them, avoiding perhaps a waste of those precious sixteen math families.
+
+\section{The important changes}
+The following changes were made to both {\tt newtx} and {\tt newpx}.
+
+\subsection{Archivability}
+Some of the individual font files from which the math fonts are built turned out to have some fairly minor structural issues. These have all been corrected. The more major issue was the lack of unicode mapping for all characters in the fonts. For the symbol and math extension fonts, this issue was largely solved by Ross Moore's {\tt glyphtounicode} files that are now accessible as part of TeXLive and MiKTeX. The main problem was the math alphabets like math italic, bold math italic, upright Greek and slanted Greek, all of which have now been assigned their own unicode points. For all of these, I constructed new fonts using unicode names for the glyphs, then made \textsf{fontinst} scripts that renamed those unicode values to the original simple names as used in the encoding files so that I could use my old encoding and adjustment files. This exercise has now been carried out for {\tt newtxmath}, {\tt newpxmath}, {\tt newtxmath/libertine} and {\tt newtxmath/xcharter.} Each of these can now be considered to have an ``enhanced'' status that allows them to share all the new assets described below. The other packages which may be specified as an option to {\tt newtxmath} (e.g., {\tt cochineal, baskervillef}) must be considered for the moment to be ``unenhanced'' and able to share only some of the new assets. In particular, only the enhanced items can generate archivable pdf.
+
+Also modified were the {\tt sups} fonts in {newpxtext}, where the main issue was unicode mapping. Superior number and some superior letters do have assigned unicode values, but in may cases a more creative approach was needed, and provided once again by Ross Moore. I rebuilt the superior font files using those unicode names, solving that particular problem.
+
+Here is a sample preamble showing the elements you will need to specify to generate a pdf satisfying the PDF/A-1b standards, as verified by Adobe Acrobat Pro. (Other verification processes may yield different outcomes.)
+\begin{verbatim}
+\documentclass[noamsfonts]{amsart} % save 2 math families
+\pdfcompresslevel=0
+\pdfgentounicode=1
+\input glyphtounicode.tex
+\usepackage{pdfx} % v 1.6.4 or higher
+\InputIfFileExists{glyphtounicode-cmr.tex}{}{}
+\InputIfFileExists{glyphtounicode-ntx.tex}{}{}
+\usepackage{newpxtext} %T1 is default encoding
+\usepackage[scaled=0.95]{inconsolata} % typewriter
+%\usepackage[leqno]{amsmath}
+\usepackage{amsthm}
+\usepackage[vvarbb]{newpxmath} % vvarbb gives STIX Bbb
+\end{verbatim}
+
+Version 1.6.3 of {\tt pdfx} from February 2019 mishandles math accents. A fix is now available and will become part of the upcoming {\tt pdfx} v1.6.4.
+
+\subsection{Glyph spacing changes} I reworked the math italics to improve the rendering of some superscripts. This affects (a) parentheses, brackets and braces to inhibit clashes; (b) glyphs like j, f, p, y, \verb|\rho|, \verb|\beta| and \verb|\mu| where a long tail could pose problems intersecting with other glyphs; (c) glyphs like such as D, Q and \verb|\Phi| that are round on the right, where interference is most likely to occur with a superscript. Increasing the left side-bearing of j, etc., helps with superscripts but creates an ugly gap when used as subscripts.
+
+
+ The {\tt subscriptcorrection} option to {\tt newpxmath} has been corrected and enhanced so that it now offers a partial solution the subscript spacing problem. I regret that this option is incompatible with xy-pic, both depending on redefining \verb|_| as an active character. {\tt Newpxmath} will detect if the {\tt xy} package is loaded and disable {\tt subscriptcorrection} if so. You would have to correct such issues by manually inserting a negative \verb|\mkern|. For example, you might put in your preamble something like
+ \begin{verbatim}
+\def\jj{\mkern-3mu j}
+\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
+\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
+\begin{verbatim}
+{\beta}{-1.5}
+\end{verbatim}
+
+\subsection{New glyphs added} Math family 1 {\tt (letters)} has been extended from 128 slots to 256, retaining the {\tt OML} encoding of the first 128. Most of additional slots have been allocated to a script font from the old STIX collection and an upright modification of that font.
+By default, \verb|$\mathscr{F}$| will produce $\mathscr{F}$.\\
+$\bullet$ option {\tt uprightscript} changes the output to {\usefont{OML}{ntxmi}{m}{it}\char201}.\\
+In both cases, there are full upper-case and lower-case and {\tt dotlessi}, {\tt dotlessj}. To insert the latter, you can write either \verb|$\mathscr{\imath}$| or \verb|$\imathscr$|, rendered as $\mathscr{\imath}$ in the slanted script case.
+
+The secondary letters font {\tt (lettersA)} and math family 2 {\tt(symbols)} have been rearranged. The first of these continues to have a Fraktur alphabet, but it a modification of its original one, having wider vertical stems and a blacker appearance more in keeping with the weight Times. {\tt Dotlessi} and {\tt dotlessj} have been added and can be specified in math mode by \verb|$\imathfrak$| and \verb|$\jmathfrak$|---\verb|$\mathfrak{\imath}$| also works. There are in addition two subsidiary Bbb alphabets in {\tt lettersA}, specified by the respective options {\tt vmathbb}, {\tt vvmathbb}, and there are corresponding {\tt dotlessi}, {\tt dotlessj} activated by \verb|$\imathbb$|, \verb|$\jmathbb$|, which always render as $\imathbb$, $\jmathbb$ mo matter the choice of which Blackboard Bold Alphabet. If you select one of the options {\tt vmathbb}, {\tt vvmathbb}, you will have Bbb digits 0..9 using, e.g., \verb|$\mathbb{1}$| to get~$\mathbb{1}$.
+
+Among the new symbols added are:\\
+$\bullet$ \verb|\hslash|, \verb|\hbar|, \verb|\lambdaslash|, \verb|\lambdabar|, \verb|\Zbar|, \verb|\Angstrom| are now constructed from the native glyphs.\\
+$\bullet$ Euler's constant \verb|$\Euler$| ($\Euler$).\\
+$\bullet$ Hermitian transpose \verb|\hermtransp| or \verb|\htransp| is used like \verb|$\mathbf{A}^{\htransp}$| ($\mathbf{A}^{\htransp}$). This usage is similar to simple transpose \verb|$\mathbf{A}^{\transp}$| ($\mathbf{A}^{\transp}$).\\
+$\bullet$ Independence can use \verb|\Perp|, $\Perp$, and there is a new \verb|\nPerp|, $\nPerp$ for the negation.
+
+\subsection{Adaptive vector accent} The \LaTeX\ macro \verb|\overrightarrow| provides a right arrow with adaptive width, but not matching the vector head of {\tt newpxmath}. Likewise, the {\tt esvect} provides a similar service with a choice of vector heads, none of which match {\tt newpxmath}. I've added code to provide a matching adaptive vector accent and which uses the same macro name, \verb|\vv|, as {\tt esvect}.
+For a comparison of these vector accents, \verb|$\vec{XY} \vv{XY} \overrightarrow{XY}$| renders as\\
+$\vec{XY} \vv{XY} \overrightarrow{XY}$.\\
+$\bullet$ \verb|$\vv{AB}$| renders as $\vv{AB}$.\\
+$\bullet$ \verb|$\vv*{AB}{x}$| renders as $\vv*{AB}{x}$. This provides better horizontal spacing of subscripts than \verb|$\vv{AB}_{x}$|, $\vv{AB}_{x}$.\\
+$\bullet$ You can also do \verb|$\vv*{AB}{\vv{CD}}$|, which renders as $\vv*{AB}{\vv{CD}}$.\\
+$\bullet$ You can change the vertical space between the arrow and the accentee by means of the package option {\tt vecsep}, whose default value is {\tt .25ex}.
+
+\subsection{Miscellaneous Changes}
+\begin{itemize}
+\item
+The superior letters fonts in {\tt newpx}
+have been extended and all glyphs now have appropriate unicode mappings.
+\item
+The AMS fonts replacement, {\tt zplsym} corrects the former misplacement of \verb|\kbbb|, \verb|\daleth|, \verb|\circledR| and \verb|\circledS|.)
+\end{itemize}
+\newpage
+\section{Changed Font Tables}
+\subsection{letters}
+\fonttable{zplmi}
+\newpage
+\subsection{lettersA}
+\fonttable{zplmia}
+\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