From c1c0ee16807968f1feccb569bde5a4bb34fc6466 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 27 May 2012 22:42:56 +0000 Subject: fix and revive eol-problematic file git-svn-id: svn://tug.org/texlive/trunk@26677 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/fonts/newtx/implementation.tex | 320 +++++++++++++++++++++ 1 file changed, 320 insertions(+) create mode 100644 Master/texmf-dist/doc/fonts/newtx/implementation.tex (limited to 'Master') diff --git a/Master/texmf-dist/doc/fonts/newtx/implementation.tex b/Master/texmf-dist/doc/fonts/newtx/implementation.tex new file mode 100644 index 00000000000..53de194f99b --- /dev/null +++ b/Master/texmf-dist/doc/fonts/newtx/implementation.tex @@ -0,0 +1,320 @@ +\documentclass[10pt]{amsart} +\usepackage[margin=1in]{geometry} +\usepackage[parfill]{parskip} +%SetFonts +% libertine text and newtxmath +\usepackage{libertine} +\usepackage[TS1,T1]{fontenc} +\usepackage{textcomp} +\usepackage[scaled=.85]{beramono} +\usepackage{amsmath,amsthm} +\usepackage[libertine]{newtxmath} +%\usepackage[bb=boondox,frak=boondox,scr=boondoxo]{mathalfa} +\usepackage{bm} +\renewcommand*{\rmdefault}{fxlj} %old-style figures in text, not math +\def\libertine{\fontfamily{fxlj}\selectfont} +%SetFonts +\usepackage{longtable,booktabs} +%\usepackage[dvipsnames]{pstricks} +%\usepackage{pstricks-add} + +\title{Implementation notes and manifest} +\author{Michael Sharpe} +\date{\today} + +\begin{document} +\maketitle +\section{Introduction} +\subsection{Issues using \textsf{rtxmi} from the \textsf{txfonts} collection.} This font supplies all the non-alphabetic glyphs (ie, everything except A--Z and a--z) in the \textsf{OML} encoding, but, not using the same names as in {\tt oml.etx}. To get around this, we must base \textsf{fontinst} constructions not on its \textsf{afm}, but instead, use what may be thought of as an anonymous metric file constructed from its \textsf{tfm} via +\begin{verbatim} +tftopl -charcode-format=octal rtxmi rtxmi +\end{verbatim} +so that {\tt rtxmi.pl} identifies slots only by octal codes, not names, and identifies the encoding as \textsf{FONTSPECIFIC}, which usually means ``as specified in the header of {\tt rtxmi.pfb}.'') By including in the \textsf{fontinst} driver script a line +\begin{verbatim} +\declareencoding{FONTSPECIFIC}{oml} +\end{verbatim} +we force the slots in {\tt rtxmi} to be interpreted using the names in {\tt oml.etx} so that, at the end, we have no problems using {\tt oml} as the encoding for composite fonts built from {\tt rtxmi}. + + +The original version of \textsf{txfonts} made use of whatever Times font was installed in \TeX\ Live, and as a non-free font, it was not available for modification. In this updated version, we use instead the alphabetic glyphs from TeXGyreTermes or LinLibertine, each of which presents no licensing issues. This allows us to make optical sizes of the math italic and symbol fonts, with a boost to the appearance and readability of subscripts, sub-subscripts and superscripts. (Unfortunately the STIX math italic letters are much heavier than Times, by nearly 15\% in stem thickness of uppercase letters, and do not make a good substitute.) +\section{Converting Libertine} +Making Libertine text italic and Greek glyphs into math italic and Greek glyphs requires some preparation. The regular 10{\tt pt} size is no problem---there is a tfm in the \TeX Live ditribution named {\tt fxlri-8r.tfm} which provides the font in {\tt 8r} encoding, which of course includes all the Roman letters. To get an equivalent for 7{\tt pt} and 5{\tt pt} requires us to open the original {\tt fxlri.{pfb,afm}} in FontForge and subject them to the two stages of thickening and extending described above. The result should be +\begin{verbatim} +fxlri-7letters.{pfb,afm} +fxlri-5letters.{pfb,afm} +fxlzi-7letters.{pfb,afm} +fxlzi-5letters.{pfb,afm} +\end{verbatim} +from which we produce four corresponding tfm files using, eg, +\begin{verbatim} +afm2tfm fxlri-7letters +\end{verbatim} +which must be referenced in the {\tt libertinealt.map} file with four lines like +\begin{verbatim} +fxlri-7letters LinLibertineI7