
Alternatives to Computer Modern Mathematics Alan Hoenig 17 Bay Avenue Huntington, NY 11743 [email protected] TEX users early on hustled to do everything with been adjusted so they more closely match their TEX that was available to other publishing software. accompanying text fonts. It has long been possible to use all kinds of graphics Computer Modern math plus new text fonts and fancy fonts with TEX. One hole remains in this scenario, and that is the ability to use fonts other It may be typographically dangerous to willy-nilly than Computer Modern for scientific typesetting. change the text font of a document while retaining This is a real puzzle, when you consider that the Computer Modern math, but it is possible to choose whole reason for TEX in the first place was scientific a font that does blend well with Computer Modern. typesetting. In the accompanying discussion, we Computer Modern fonts were designed using Mono- attempt to fill in this hole by presenting several type Modern No. 8A as a model. The digital font strategies for non-CM mathematical typesetting. most resembling these fonts is Monotype’s Modern Na¨ıvely, you might wonder why we just can’t font, widely available from digital font vendors. replace the Computer Modern text fonts of a doc- You should install the fonts as per the usual ument by some other fonts for a brand-new look. procedures. Then, LATEX users should add the If we combine Computer Modern math with Times command Roman text (or something comparable), the vari- ables look too anemic and thin compared with the text letters, and in an extended document this in- compatible contrast between text and math grates \renewcommand{\rmdefault}{mmo} on the reader. You may find that some differences between math and text are acceptable—after all, math is different from prose—but these variations are somehow too disparate. where mmo is the Berry name for the Modern font This article, drawn from the more extended family. No changes need be made to the math discussion found in chapter 10 of my book TEX font declarations, as we shall continue to use the Unbound (1998, Oxford University Press), contains Computer Modern math fonts. the results of some experiments showing how to use New math raw fonts TEX to generate technical documents using many handsome fonts. We will be creating series of virtual In an ideal world, math fonts would be 100% com- fonts to do the typesetting for us. patible with text fonts. For the math fonts available We will discuss several strategies for mathemat- to TEX, this statement is true only when Computer ical typesetting: Modern fonts are selected, when Times Roman is • replacing Computer Modern Roman by Mono- used with MathTime or the Mathematica fonts, or type Modern; when Lucida Bright is used with Lucida New Math. However, if reasonable compromises are permitted, • the use of commercial and other math fonts a much wider selection of font matches is available. that can then be integrated with text fonts. The x-height is the dominant physical feature Although vendors may supply macro and style of a font, since so much of a document is lowercase. files to perform this integration, we will explore In our math fonts, we take pains to match the x- virtual font approaches. The four special sets height of the math fonts with that of the text types. of raw math fonts include MathTime, Euler, Moreover, it makes more sense to scale the math to Lucida New Math, and Mathematica fonts; and the text, rather than vice versa, since there is almost always more text than math in a paper. Presumably, • using variations of the usual Computer Mod- the 10-pt size for a text font is the optimal size for ern bitmap math fonts whose parameters have that font. TEXNorthEast Conference, March 22–24, 1998 176 TUGboat, Volume 19 (1998), No. 2 177 The MathInst utility need fontinst, version 1.5 or greater. Also, make sure the Perl executable appears on one of your system’s One way to install math fonts is via MathInst, writ- path directories. ten by me. MathInst creates an entire font envi- The raw math fonts consist of a series of outline ronment for typesetting. At the moment, Math- font files plus the associated afm files. It’s easy to Inst knows about four math fonts, the MathTime, install these fonts. Here are the steps appropriate Lucida, Euler math, and Mathematica math fonts. for traditional systems. The same steps apply to MathInst consists of a Perl script, and several ad- TDS systems, but it will be necessary to be more ditional files needed by fontinst. The main purpose specific about the paths for the files. of these Perl scripts is to match a designated text family with a set of math fonts to create new math 1. Place the math font files with the other scalable virtual fonts. fonts. MathInst produces lots of output. First are 2. Place the afm files with your other afm files. the fonts themselves which combine the given math 3. Make sure a proper entry exists for each math fonts with a family of text fonts. In case an author font in the map file for your dvi postprocessor. has provided the names of other fonts, such as Only the last point requires additional comment. • a sans serif family of fonts; For example, for the dvips psfonts.map file for a • a typewriter font; traditional TEX system, we need entries like • a calligraphic font; %% MathTime fonts... • a fraktur font; mtsy MTSY <mtsy.pfb mtex MTEX <mtex.pfb • an uppercase bold Greek font; and rmtmi RMTMI <rmtmi.pfb • a blackboard bold font, %% Lucida New Math fonts... MathInst will make them available as well (the lbma LucidaNewMath-Arrows <lbma.pfb uppercase Greek bold font will be used to create bold lbme LucidaNewMath-Extension <lbme.pfb lbms LucidaNewMath-Symbol <lbms.pfb math fonts). In all cases, MathInst takes great care lbmi LucidaNewMath-Italic <lbmi.pfb to size all fonts against the text fonts to make sure lbmo LucidaNewMath-AltItalic <lbmo.pfb that all lowercase alphabets are visually compatible. %% Mathematica Math fonts... It’s not enough to be provided fonts—they must Math1 Math1 <Math1.pfb be integrated into a set of macros for easy use by Math2 Math2 <Math2.pfb an author. For LAT X authors, MathInst provides Math3 Math3 <Math3.pfb E Math4 Math4 <Math4.pfb a new package file that performs this integration Math5 Math5 <Math5.pfb and makes new commands available for the specialty Note that these fonts are proprietary; please fonts (Fraktur, blackboard bold, etc.) if these fonts respect the licenses under which these fonts are sold are available. or distributed. Authors using plain will find a new style per- Alone of the special math fonts, the Euler fonts forming this same integration. These authors will are in the public domain. In the 1980s, the American need to make sure Damian Cugley’s pdcfsel font Mathematical Society commissioned Hermann Zapf selection macros are available. (They can be down- to draw a set of alphabets suitable for mathematical loaded from the macros/plain/contrib/pdcmac typesetting. The Society has since graciously made area of any of the ctan archives.) these beautiful alphabets available for free. The first Two test files are also provided—one for LAT X E major use of these fonts was to typeset the book and one for plain—so authors can see examples of Concrete Mathematics. the new font selection commands at work. Finally, These fonts were implemented by METAFONT, a log file records information about the virtual font and proper installation consists in placing the tfm process, including scale factors, to make it easy to and pk with their mates on your system. However, rerun the process using override values of the scale we will often be scaling these slightly to match factors if necessary. various text fonts, and rather than regenerate many Installation MathInst itself is found on ctan in new bitmap fonts, it may be easier to use the the fonts/utilities/mathinst area. To install scalable versions of these fonts, also available for free it, follow the detailed instructions that are part of (courtesy of Basil Malyshev; they may be found in the package. You will also need the pdcfsel font the fonts/cm/ps-type1/bakoma section of ctan— selection scheme for plain TEX mentioned above, but there are certain licensing conditions). In this and the text and math fonts themselves. You’ll also case, these fonts will also need entries in your map TEXNorthEast Conference, March 22–24, 1998 178 TUGboat, Volume 19 (1998), No. 2 file. These entries on a traditional TEX system whereby the font family name for the new math should look something like fonts uses the two-character math designations to- %% Euler fonts... gether with the text font family designation. Sup- euex10 euex10 <euex10.pfb pose we combine MathTime (mt) with Baskerville, eufb10 eufb10 <eufb10.pfb whose family designation is mbv in the Berry scheme. eufb5 eufb5 <eufb5.pfb The new fonts will be described in macro files eufb7 eufb7 <eufb7.pfb zmtmbv.tex and zmtmbv.sty (for users of plain or A eufm10 eufm10 <eufm10.pfb LTEX). Baskerville plus Euler or Baskerville plus eufm5 eufm5 <eufm5.pfb Lucida would form the z-names zeumbv and zlumbv. eufm7 eufm7 <eufm7.pfb The z-name zmambv describes a marriage between eurb10 eurb10 <eurb10.pfb Baskerville and the Mathematica math fonts. eurb5 eurb5 <eurb5.pfb The fonts themselves follow the Berry scheme, eurb7 eurb7 <eurb7.pfb but you don’t need to keep track of this, since the eurm10 eurm10 <eurm10.pfb MathInst style files load the fonts for you automati- eurm5 eurm5 <eurm5.pfb cally and establish their correspondence either with eurm7 eurm7 <eurm7.pfb familiar nicknames (\it, \bf) or with the NFSS.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages12 Page
-
File Size-