A LATEX Tour, Part 3
Total Page:16
File Type:pdf, Size:1020Kb
48 TUGb oat, Volume 18 1997, No. 1 A L T X E A ALT XTour, part 3: E mfnfss, psnfss and bab el David Carlisle 1 Intro duction This third installmentofmy tour covers three more distributions that are supp orted via the standard A L T X bug rep ort mechanism describ ed in Part 1. E A The mfnfss distribution provides L T X supp ort E for some p opular Metafont pro duced fonts, that do A not otherwise haveanyLT Xinterface. E A The psnfss distribution consists of L T X pack- E ages giving access to PostScript fonts. The third distribution in this part of the tour A is bab el, which provides L T X with multi-lingual E capabilities. 2 The Mfnfss Distribution The mfnfss distribution is something of a `collecting p oint' for les in the distribution that have not got anywhere else to go. 2.1 FontPackages A These packages provide L T X interfaces to some E publicly available fonts. They do not provide the fonts themselves, which are available from the fonts tree in the standard CTAN archives. pandora The `Pandora' family of fonts designed by Nazneen N. Billawala is an alternative to the standard `Computer Mo dern' fonts of Knuth. The family consists of a full range of text fonts, including sans-serif and slanted. oldgerm The old German fonts designed byYannis Haralamb ous. There are three styles of text font, Schwabacher, Fraktur and Gothic. The terms `Fraktur' and `Gothic' tend to b e used in- terchangeably by English sp eaking mathemati- cians such as the present author, but the fonts in this collection have clearly distinguishable styles. There is also a font of `initials', highly ornate upp ercase letters, suitable for use as the rst letter of a section. If you wish to use this in `drop caps' style you may also want to use one of the contributed packages available on CTAN suchasdrop,ordropping, that automate TUGb oat, Volume 18 1997, No. 1 49 the setting of a suitable paragraph shap e and Scheme are installed, then one could in principle 1 A inserting the initial letter at the correct size. switch to Times Roman in a L T X do cument by E simply sp ecifying \fontfamily{ptm}\selectfont. 2.2 T1 Enco ded `Concrete' Fonts Normally one would instead want to assign the new A Note: The following two les require the old release font to one of the `default' L T X families, Roman, E 1.1 of the dc fonts. Hop efully there will so on b e an as used by \rmfamily, Sans Serif \sffamily and ocially supp orted release of T1 enco ded `concrete' Typ ewriter or Monospace \ttfamily. fonts based on the recently released ec fonts. At that The supp ort for PostScript fonts is split into time these les will probably b e withdrawn from this two. The CTAN fonts/psfonts area contains ma- mfnfss distribution. terial that is mainly automatically generated from the Adob e font metric les that are distributed with dccr.mf Metafont source le used by the output all Typ e 1 fonts. This includes the font metrics les from dccrstd.tex to generate Concrete themselves, the Font Descriptor les, the `map' les Roman fonts in T1 enco ding. used to make fonts known to the dvips driver, and dccrstd.tex T X le used in the generation of E A some basic packages to declare single fonts to L T X. E Concrete Roman fonts in T1 enco ding. It will This is supplemented in macros/latex/packages/ pro duce a number of .mf les corresp onding to psnfss by the `hand written' packages of the psnfss Concrete Roman fonts in di erent sizes. By collection that load p opular combinations of font mo difying the table inside this le further Meta- families, or deal with mathematics. font driver les can b e generated. The .fd les This section refers at various p oints to Post- for the Concrete Roman fonts can b e pro duced Script or Typ e 1 fonts, but in fact the T X supp ort A E with cmextra.ins which is part of the L T X E for these fonts applies equally well to True Typ e, or base distribution. other scalable formats. As long as T X has access E 3 The Psnfss Distribution to the font metrics, the font format do es not matter to T X; it matters to the driver you use to print A A E With the release of L T X2 , L T X gained inbuilt " E E the DVI le. supp ort for the use of alternative font families in do cuments, and in particular for the use of scalable 3.1 Psfonts font formats such as Typ e 1 PostScript or True- The CTAN psfonts area primarily contains the font Typ e. A metric and L T X font descriptor les, organised by E The collection of packages, co ordinated by Se- fontvendor, as outlined b elow. The basic format of bastian Rahtz, known as psnfss o ers convenient the le structure is the same for each font family, interfaces to most of the more common font sets. so only the top level directories are given here, Most of the les here relate to font les re- except for the Adob e Times family, which is further named to a consistent naming scheme, promoted expanded as an example. and maintained by Karl Berry. This enco des the font vendor, and details of the font such as its 3.1.1 FontVendors weight, style and enco ding into a compact name The font sub directories of fonts/psfonts are: that usually ts in the eight letter lenames used by some common lesystems. More information ab out adobe Fonts sold by Adob e, or built into PostScript the font naming scheme can b e found on CTAN in devices. info/fontname. It should be noted however that bh Fonts designed by Bigelow and Holmes, these are the packages themselves, such as the times package, mainly sold through Y&Y. do not dep end on any particular font naming con- bitstrea Bitstream fonts. A vention. L T X isolates packages from the details E monotype Monotyp e fonts. of the external font les by the use of `fd' Font textures Textures Fonts for the Blue Sky Research A Descriptor les which map the L T X `NFSS' mo del E Macintosh T X implementation. E of fonts to the external font metric les. urw Fonts distributed byURW. In principle, there is no real need for packages xadobe Adob e `exp ert' font sets. A to load text fonts into L T X. For example, once E xmonotype Monotyp e `exp ert' font sets. the font metrics and font descriptor les for Times Each of the vendor directories contains sub- Roman which is ptm in the Karl Berry Naming directories corresp onding to the font families sup- 1 The fd les provided here load the original yinit font. p orted by the psfonts distribution. Using the to ols The CTAN archives also contain `yinitas', a mo di ed version provided one can generate T X supp ort les for most of this font. E 50 TUGb oat, Volume 18 1997, No. 1 other text fonts, the selection here is really just a set tex This directory contains the font descriptor les of examples. which must be placed in the input path for A A The sub directories of the adobe directory are: L T X, so that L T X has available the infor- E E mation ab out the available fonts. For some agaramon Adob e's rendition of a Garamond serif font families this directory would also contain Roman family. Commercial. A a L T X package that assigns the fonts to one E avantgar Avant Garde sans serif built into most A of the standard L T X font families, such as E PostScript devices. \sffamily. Some packages, suchastimes, are baskervi Baskerville, a commercially available ser- not distributed here as they would clash with ifed Roman family. the packages distributed as part of psnfss, as bembo Bemb o, a commercially available serifed Ro- describ ed b elow. man family. tfm The font metrics, in `tfm' format. These les bookman Bo okman built into most PostScript de- contain all the information ab out letter sizes, vices. ligatures, and kerning that T X needs to typ e- E centaur Centaur, a commerciallyavailable serifed set text. Roman family. There are several les, as each font in the courier Courier built into all PostScript devices. original family is made available in several en- garamond Garamond 3. Another Garamond serif co dings, the two main ones b eing the `Classic' Roman family. Commercial. T X enco ding used by Computer Mo dern. This E gillsans Gill Sans, a commercially available sans A is known as OT1 in L T X, and as `7t' in the E serif family. Karl Berry font naming scheme used here. Sim- helvetic Helvetica built into all PostScript de- ilarly the les with names ending in `8t' relate to vices. fonts enco ded to the eight bit `Cork' enco ding, nbaskerv ITC New Baskerville, another varianton A known as T1 in L T X. E the Baskerville theme. Commercial. vf The virtual fonts. Most but not all drivers ncntrsbk New Century Scho olb o ok built into handle the re-enco ding of the original fonts to most PostScript devices.