| 1 |
% !TEX TS-program = pdflatexmk |
| 2 |
\documentclass[11pt]{article} |
| 3 |
\usepackage[margin=1in]{geometry} |
| 4 |
\usepackage[parfill]{parskip}% Begin paragraphs with an empty line rather than an indent |
| 5 |
\usepackage{graphicx} |
| 6 |
\usepackage{url} |
| 7 |
%SetFonts |
| 8 |
% libertine text and newtxmath |
| 9 |
\usepackage{lmodern} |
| 10 |
\usepackage[lf,semibold]{libertine} |
| 11 |
\usepackage[T1]{fontenc} |
| 12 |
\usepackage{textcomp} |
| 13 |
\usepackage[varqu,varl]{zi4} |
| 14 |
\usepackage{amsmath,amsthm} |
| 15 |
\usepackage[libertine]{newtxmath} |
| 16 |
\useosf |
| 17 |
\usepackage{bm} |
| 18 |
%SetFonts |
| 19 |
\usepackage{booktabs} |
| 20 |
\title{Math fonts for \texttt{newtx} and \texttt{newpx}} |
| 21 |
\author{Michael Sharpe} |
| 22 |
\date{\today} % Activate to display a given date or no date |
| 23 |
|
| 24 |
\begin{document} |
| 25 |
\maketitle |
| 26 |
\section{Introduction} |
| 27 |
This file adds some information updating the information in {\tt implementation.pdf}, showing the relationships between the various forms of math fonts. For simplicity, we discuss only regular weight fonts---there is for each a corresponding bold weight constructed in the same way. Font constructed for use with scriptstyle (7{\tt pt}) and scriptscriptstyle (5{\tt pt}) are also ignored, as their construction was adequately described in {\tt implementation.pdf}. Likewise, we ignore the variant triggered by {\tt varg}, which is indicated by the $1$ appended near the end of the math font name. |
| 28 |
|
| 29 |
The math fonts used in these packages are of the following families: |
| 30 |
\begin{itemize} |
| 31 |
\item [operators] (\verb|\fam0|) is a copy of the Roman text font; |
| 32 |
\item |
| 33 |
[letters] (\verb|\fam1|---OML encoding, 7-bit (128 characters)) containing the math italic Roman and mathematical Greek italic letters, among others; |
| 34 |
\item [symbols] (\verb|\fam2|---OMS encoding, 7-bit (128 characters)) containing most common mathematical symbols; |
| 35 |
\item [largesymbols] (\verb|\fam3|---sometimes OMX encoding, 7-bit (128 characters), sometimes LMX encoding, 8-bit (256 characters)) containing extensible delimiters and large mathematical symbols; |
| 36 |
\item [lettersA] (unencoded 8-bit (256 characters)) with upright Greek, Gothic and assorted symbols; |
| 37 |
\item [AMSa] (unencoded 8-bit (256 characters)) with replacements for the AMSA characters; |
| 38 |
\item [AMSb] (unencoded 8-bit (256 characters)) with replacements for the AMSB characters; |
| 39 |
\item [symbolsC] (unencoded--8-bit (256 characters)) containing less common mathematical symbols; |
| 40 |
\item [largesymbolsA] (unencoded--8-bit (256 characters)) containing less common extensible or large mathematical symbols. |
| 41 |
\end{itemize} |
| 42 |
The options you choose affect only {\tt letters}, {\tt lettersA} and {\tt largesymbols}, and these are the only ones discussed below. |
| 43 |
|
| 44 |
\textsc{Letters}: |
| 45 |
\begin{itemize} |
| 46 |
\item {\tt newtx}: |
| 47 |
\begin{itemize} |
| 48 |
\item The default is Times Roman and Greek italic shapes---{\tt ntxmi}; |
| 49 |
\item {\tt minion} uses Roman and Greek italic shapes taken from MinionPro---{\tt zmnmi}; |
| 50 |
\item {\tt garamondx} uses Times italic Greek plus Roman italic shapes taken from garamondx---{\tt zgmmi}; |
| 51 |
\item {\tt libertine} uses Roman and Greek italic shapes taken from libertine---{\tt nxlmi}. |
| 52 |
\end{itemize} |
| 53 |
\item {newpx}: |
| 54 |
\begin{itemize} |
| 55 |
\item The default is Palatino (clone) Roman and Greek italic shapes---{\tt npxmi}; |
| 56 |
\end{itemize} |
| 57 |
\end{itemize} |
| 58 |
|
| 59 |
\textsc{LettersA}:\\ |
| 60 |
Among other unique glyphs, this also contains variant forms for other characters such as small delimiters. |
| 61 |
\begin{itemize} |
| 62 |
\item {\tt newtx}: |
| 63 |
\begin{itemize} |
| 64 |
\item The default is Times Greek upright shapes---{\tt ntxmia}; |
| 65 |
\item {\tt minion} substitutes Greek upright shapes taken from MinionPro---{\tt zmnmia}; |
| 66 |
\item {\tt libertine} substitutes Greek upright shapes taken from libertine---{\tt nxlmia}. |
| 67 |
\end{itemize} |
| 68 |
\item {\tt newpx}: |
| 69 |
\begin{itemize} |
| 70 |
\item The default is Palatino (clone) Greek upright shapes---{\tt npxmia}; |
| 71 |
\end{itemize} |
| 72 |
\end{itemize} |
| 73 |
|
| 74 |
\textsc{Largesymbols}:\\ |
| 75 |
The glyphs don't depend on the font options but do on the option {\tt bigdelims}. OMX encoding is not used for this family, in favor of an LMX-(un)encoded 8-bit math extension. |
| 76 |
\begin{itemize} |
| 77 |
|
| 78 |
\item {\tt newtx}: |
| 79 |
\begin{itemize} |
| 80 |
\item The LMX-(un)encoded 8-bit math extension brings in new glyphs mainly from {\tt txex-bar}, {\tt ntxexb} and {\tt ntxsyralt}, and goes by the name {\tt ntxexx}. |
| 81 |
\end{itemize} |
| 82 |
\item {\tt newpx}: |
| 83 |
\begin{itemize} |
| 84 |
\item The LMX-(un)encoded 8-bit math extension goes by the name {\tt npxexx}, constructed by scaling up {\tt ntxexx}. |
| 85 |
\end{itemize} |
| 86 |
\end{itemize} |
| 87 |
|
| 88 |
|
| 89 |
|
| 90 |
|
| 91 |
\end{document} |