summaryrefslogtreecommitdiff
path: root/fonts/erewhon/doc/erewhon-doc.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-11-07 03:01:39 +0000
committerNorbert Preining <norbert@preining.info>2019-11-07 03:01:39 +0000
commit2e1d63b8ed8c6b7c6d206bfe9e2712797108e8bd (patch)
tree7ea198b043998590117b2730e9dec10327ef3da3 /fonts/erewhon/doc/erewhon-doc.tex
parent590fd8b560523cdaea19c59aea61e781138e87f8 (diff)
CTAN sync 201911070301
Diffstat (limited to 'fonts/erewhon/doc/erewhon-doc.tex')
-rw-r--r--fonts/erewhon/doc/erewhon-doc.tex37
1 files changed, 32 insertions, 5 deletions
diff --git a/fonts/erewhon/doc/erewhon-doc.tex b/fonts/erewhon/doc/erewhon-doc.tex
index 4e1a5d7187..0530c4e184 100644
--- a/fonts/erewhon/doc/erewhon-doc.tex
+++ b/fonts/erewhon/doc/erewhon-doc.tex
@@ -1,17 +1,29 @@
-% !TEX TS-program = pdflatexmk
+% !TEX TS-program = pdflatexmk
+\pdfcompresslevel=0
+\pdfobjcompresslevel=0
\documentclass[11pt]{amsart}
+\pdfgentounicode=1
+\input glyphtounicode.tex
+\InputIfFileExists{glyphtounicode-cmr.tex}{}{}
+\InputIfFileExists{glyphtounicode-ntx.tex}{}{}
+\pdfglyphtounicode{afii61664}{200B}
\usepackage[margin=1.5in]{geometry}
\usepackage[parfill]{parskip}% Begin paragraphs with an empty line rather than an indent
\usepackage{graphicx}
\pdfmapfile{=erewhon.map}
%SetFonts
+%\pdfmapline{+erewMI erewMI <erewMI.pfb}
+%\pdfmapline{+erewBMI erewBMI <erewBMI.pfb}
+%\pdfmapline{+erewMR erewMR <erewMR.pfb}
+%\pdfmapline{+erewBRM erewBRM <erewBRM.pfb}
+\usepackage[a-1b]{pdfx}
% erewhon+newtxmath
\usepackage[sups,p,osf,scaled=.98,space]{erewhon}
\usepackage[T2A,OT2,T1]{fontenc}
\usepackage{textcomp}
\usepackage{cabin}
\usepackage[varqu,varl]{zi4}% inconsolata
-\usepackage[utopia,vvarbb,bigdelims]{newtxmath}
+\usepackage[utopia,vvarbb]{newtxmath}
%SetFonts
\usepackage{fonttable}
\title{LaTeX Support for Erewhon}
@@ -35,16 +47,27 @@
\item the bold upright face has been made less cramped.
\end{itemize}
-The {\tt newtx} package has been modified, as of version $1.26$, to offer a new option {\tt utopia} (or, equivalently, {\tt heuristica} or {\tt erewhon}) that uses math italic glyphs taken from Utopia and oldstyle figures from \emph{Erewhon}. Its slanted Greek alphabets are constructed from the {\tt txfonts} slanted Greek letters by reducing their italic angle from $15.5$\textdegree\ to $13$\textdegree, matching Utopia's italic angle. So, for Erewhon text and matching math, you can use\footnote{There is most likely also a way to use {\tt MathDesign} or {\tt fourier} with at least partial compatibility.}:
+The {\tt newtx} package has been modified, as of version $1.26$, to offer a new option {\tt utopia} (or, equivalently, {\tt heuristica} or {\tt erewhon}) that uses math italic glyphs taken from Utopia and oldstyle figures from \emph{Erewhon}. Its slanted Greek alphabets are constructed from the {\tt txfonts} slanted Greek letters by reducing their italic angle from $15.5$\textdegree\ to $13$\textdegree, matching Utopia's italic angle.
+
+\textbf{Important Note:} Starting with version 1.10 (2019-11-04), the mathematical Greek glyphs are derived mainly from those in the {\tt fourier} package.
+
+For Erewhon text and matching math, you can use\footnote{There is most likely also a way to use {\tt MathDesign} or {\tt fourier} with at least partial compatibility.}:
\begin{verbatim}
% load babel package and options before erewhon
-\usepackage[p,osf,scaled=.98,space]{erewhon}
+\usepackage[p,osf,scaled=.98,space]{erewhon} % scaling by .98 not really necessary
\usepackage[varqu,varl]{inconsolata} % typewriter
\usepackage[type1,scaled=.95]{cabin} % sans serif like Gill Sans
\usepackage[utopia,vvarbb]{newtxmath}
\end{verbatim}
The effect of the options {\tt p,osf} is to force the default figure style in {\tt erewhon} text to be proportional oldstyle 0123456789 while using lining figures $0123456789$ in math mode. If no options are specified, tabular lining figures will be used throughout.
+With the settings above, there is now almost no difference between its output and the output from the {\tt fourier} package, except:
+\begin{itemize}
+\item
+the math axis using {\tt fourier} will be about {\tt .03pt} higher;
+\item rules and math symbols in {\tt fourier} will be about \verb|5%| less thick.
+\end{itemize}
+
\textsc{Options available:}
\begin{itemize}
\item The option {\tt scaled} allows you to change the scale. E.g., if you want \emph{Erewhon} to render at the same size as the original \emph{Utopia} or \emph{Heuristica}, use {\tt scaled=1.064}.
@@ -64,7 +87,7 @@ The option {\tt oldstyle}, or, equivalently, {\tt osf}, specifies oldstyle figur
\usepackage{zlmtt} % serifed typewriter font extending cmtt
\end{verbatim}
-As Utopia text is a rather cramped, you might try applying a small amount of letterspacing (tracking) and increasing the interword spacing by means of the {\tt microtype} package. As of version $1.08$, this provides a number of ways to modify interword spacing by specifying one or more of the options described below. Erewhon word-spacing is governed by three quantities:
+As Utopia text is rather cramped, you might try applying a small amount of letterspacing (tracking) and increasing the interword spacing by means of the {\tt microtype} package. As of version $1.08$, this provides a number of ways to modify interword spacing by specifying one or more of the options described below. Erewhon word-spacing is governed by three quantities:
\begin{itemize}
\item
{\tt spacing} (default value {\tt .211em}), \verb|\fontdimen2| of the main text font.
@@ -111,6 +134,10 @@ Option {\tt loosest} would change the three parameters to {\tt.28em, .125em,.13e
Let $B(X)$ be the set of blocks of $\Lambda_{X}$
and let $b(X) \coloneq |{B(X)}|$ so that $\hat\phi=\sum_{Y\subset X}(-1)^{b(Y)}b(Y)$.
+\textsc{Enhanced Mathematical Options:}\\
+As of version {\tt 1.10}, the {\tt utopia} option to {\tt newtxmath} enjoys enhanced status. Most importantly, this means that you can generate pdf output satisfying the PDF/A-1b standards. It means, in addition, that the option {\tt subscriptcorrection} is available, permitting you to improve the spacing of subscripts by copying {\tt newtx-utopia-subs.tex} to your home texmf tree and modifying its entries. For details, consult Appendix 2 of {\tt newtxdoc.pdf}, the documentation file for the {\tt newtx} package.
+
+\newpage
\textsc{Glyph Coverage Examples}\\
\textbf{Erewhon-Regular-tlf-t1}\\
\fonttable{Erewhon-Regular-tlf-t1}