Font Installation the Shallow Way∗

Total Page:16

File Type:pdf, Size:1020Kb

Font Installation the Shallow Way∗ Font installation the shallow way∗ SIEP KROONENBERG Rijksuniversiteit Groningen Department of Economics P.O. Box 800 9700 AV Groningen, The Netherlands siepo (at) cybercomm dot nl Abstract For one-off projects, you can cut corners with font installation and end up with a more manageable set of files and a cleaner TEX installation. This article shows how and why. Keywords Font installation, afm2pl, afm2tfm, TrueType, pdftex, mapfiles If you are putting together a flyer or invitation or other system, whether or not it contains afm2pl or book cover, then it would be nice if you could test afm2tfm. a batch of fonts from your CorelDRAW or Illustra- An example tor CD, or your Windows font directory, without too We use a decorative script font Pepita that Adobe bun- much trouble and without polluting your TEX instal- lation with a lot of stuff you are never going to use dles (or used to bundle) with some of its software. again. pdftex needs the actual font file epscr___.pfb, its This article takes you through the steps needed TEX font metrics file epscr7t.tfm and a mapfile con- to use one or more fonts in one particular document. taining an entry relating the two. First, we copy not We won’t really install the fonts; we just generate the only epsrc___.pfb but also epsrc___.afm to the working directory. We need the latter file to generate files that TEX needs and leave them where TEX will find them, i.e. in the working directory. This makes the .tfm file. Next, we enter the following commands it easy to take the project to another system, and easy on a command line: to clean things up. afm2pl -p ot1 epscr___.afm epscr7t.pl We will primarily use afm2pl to generate .tfm pltotf epscr7t (TEX Font Metric) files. Later on, we show the steps The extensions .afm and .pl are optional. The required for afm2tfm. Both programs are simpler and first command converts the .afm file to an (almost) much faster to use than the usual choice, fontinst. human-readable text version of the desired .tfm file. They create few intermediate or unnecessary files and The second command creates the more compact bi- do their job without virtual fonts. Virtual fonts and nary version. fontinst have their place, but sometimes there is no Before we can use this font, we must tell LATEX good reason to put up with the inevitable mess. about it. We do this with a font family definition file afm2tfm is available on all major free TEX imple- ot1myfontfam.fd: mentations. afm2pl is part of current TEX Live distri- \ProvidesFile{ot1myfontfam.fd} butions. Note that these programs are needed only to \DeclareFontFamily{OT1}{myfontfam}{} \DeclareFontShape{OT1}{myfontfam}{m}{n}{ create the necessary font support files for TEX; once these files have been created, they can be used on any <-> epscr7t }{} The prefix ot1 indicates the encoding, which tells ∗This article appeared originally in slightly different form in MAPS 33, fall 2005. which characters occur at what positions. The next section will say more about encodings. The param- eters to \DeclareFontShape are successively encod- 66 TUGboat, Volume 27 (2006), No. 1 — Proceedings of EuroTEX 2006 Font installation the shallow way ing, family name, weight (e.g. bold), shape, font file We hope that mainstream TEX will eventually (without extension) and special options. You can nor- move to Unicode, which is a comprehensive encod- mally leave this last parameter empty. With just one ing of all conceivable characters, including far-eastern family member, we are not fussy about font charac- alphabets and mathematical symbols. When that hap- teristics and just pick defaults. We also leave this file pens, we can forget about encodings and also do away in the working directory. with many applications of virtual fonts. There are This is the code of our first testfile exabasic.tex, already some Unicode-based variants of TEX.2 which uses this font: For a PostScript .pfb or .pfa font, character met- \documentclass{article} rics are stored in a separate .afm file. These metrics \pagestyle{empty} are associated with characters, not with character po- \pdfmapfile{=epscr7t.map} sitions. Therefore you should specify an encoding to afm2pl or afm2tfm.3 The same encoding must also \newcommand{\fancyfont}% be specified in the mapfile entry. A PostScript font {\fontfamily{myfontfam}\selectfont} usually has more characters than fit into a single TEX \begin{document} encoding. \fancyfont A command-line option such as ‘-p texnansi’ or Hello, world! ‘-p texnansi.enc’ means that the encoding should be read from a file texnansi.enc. This encoding Accents: \’el\‘eve bl\"of \"i; probably has a different internal name. Kerning: WAV, LTa \end{document} OT1 encoding The \pdfmapfile command causes pdflatex to If you don’t tell TEX otherwise, it assumes that you read the file epscr7t.map, which tells pdftex how are using the OT1 encoding. This encoding uses only to get the font into the output file. The prepended ‘=’ 128 of the 256 available slots. TEX creates missing tells pdftex that it should read epscr7t.map in addi- accented characters from an unaccented base charac- tion to, not instead of, the default mapfile, and that in ter and a separate accent character. Unfortunately, case of a conflict epscr7t.map wins. this interferes with hyphenation. Apart from this, the Now we are ready to compile exabasic.tex: OT1 encoding has various other oddities, and is best pdflatex exabasic avoided. OT1-encoded fonts often have a TEX name 7t 4 ot1.enc This is the result: ending in . Note that comes with afm2pl and is probably not available if you don’t have afm2pl Hello, world! on your system. Accents: ´el`eve bl¨of ¨ı; Kerning: WAV, LTa T1 encoding Encodings T1 is the successor to OT1. It uses all available slots, and has lots of accented characters, including those for We already mentioned encodings briefly. Now it is Eastern European languages. Because the T1 encoding time to dig a little deeper, because it is a topic that left no room for symbols such as ‘‰’ or ‘©’ or ‘‡’ you can easily trip you up. will need to get those from a second encoding of the An encoding defines what character corresponds same font. This second encoding is called TS1 or ‘text to which number. Only numbers between 0 and 255 companion’. are allowed. A .tfm file associates character metrics di- rectly with character positions and doesn’t know what 2Omega and its offshoot Aleph are Unicode-based. Users may also be interested in X T X(http://scripts.sil.org/xetex), position represents what character. TEX simply makes E E which is built on top of a regular TEX implementation and lets you assumptions about this correspondence or encoding, use Unicode fonts installed on the system directly with TEX. and if you disagree with those assumptions then you 3If you don’t specify an encoding, then you get the encoding from the .afm file, which is almost certainly not what you want. need to load some macro package or other to tell TEX 4For afm2pl and afm2tfm, font names have no particular meaning. otherwise. This is one more difference with fontinst. I add encoding suffixes such as 7t and 8y to font names just as reminders to myself. TUGboat, Volume 27 (2006), No. 1 — Proceedings of EuroTEX 2006 67 Siep Kroonenberg For most traditional PostScript fonts, some of the Accents: \’el\‘eve bl\"of \"i; accented characters in the T1 encoding aren’t actually Symbols: present and must be created with virtual font tech- \textparagraph{} \textdaggerdbl{} \texttrademark{} \textcopyright nology from a base character and an accent. Since \end{document} it doesn’t have to be done by TEX itself, this is no obstacle to hyphenation. And this is the result. Notice the extra symbols. Although you can tell afm2pl to use T1 encoding, These are absent from the T1 encoding and would it can’t create composite characters, and such compos- have required a text companion font. ite characters will be missing unless they are already Hello, world! present in the original font. Accents: élève blöf ï; Symbols: ¶ ‡ ™ © T1-encoded fonts often have a TEX name ending in 8t. TrueType Another scalable font format is TrueType, which is Texnansi encoding supported by pdftex but currently not by dvips. Font The texnansi encoding, known as LY1 to LATEX, was metrics are stored in the font file itself. Using True- introduced by Y&Y, the now-defunct company be- Type is somewhat more work; the following com- hind Y&YTEX, dviwindo and dvipsone. It combines mands are required to import a TrueType font such a good selection of both accented letters and typo- as Trebuchet: graphic symbols, and normally contains everything ttf2afm trebuc.ttf >trebuc.afm you need in a single encoding, at least for Western Eu- afm2pl -p texnansi trebuc trebuc8y ropean languages. Texnansi-encoded fonts often have pltotf trebuc8y a name ending in 8y. <edit mapfile to replace .pfb with .ttf> The package texnansi selects the texnansi encod- ttf2afm extracts the metric information from the ing and contains some additional code to smooth out .ttf file.5 incompatibilities with T1 and OT1. afm2pl has no way of knowing that the .afm de- A texnansi example scribes a TrueType font, and guesses that the actual For this example, we choose Augie, a handwriting font fontfile is trebuc.pfb. Therefore you have to fix the mapfile afterwards. from TEX Live. These are the commands for generat- ing the .tfm and .map files: We leave it as an exercise for the reader to write the A afm2pl -p texnansi augie___.afm augie8y.pl .fd file and LTEX source for the following example: pltotf augie8y Hello, world! This is ly1augie.fd (notice the ly1 prefix): Accents: élève blöf ï; Kerning: WAV, LTa, WAV, LTa.
Recommended publications
  • Font HOWTO Font HOWTO
    Font HOWTO Font HOWTO Table of Contents Font HOWTO......................................................................................................................................................1 Donovan Rebbechi, elflord@panix.com..................................................................................................1 1.Introduction...........................................................................................................................................1 2.Fonts 101 −− A Quick Introduction to Fonts........................................................................................1 3.Fonts 102 −− Typography.....................................................................................................................1 4.Making Fonts Available To X..............................................................................................................1 5.Making Fonts Available To Ghostscript...............................................................................................1 6.True Type to Type1 Conversion...........................................................................................................2 7.WYSIWYG Publishing and Fonts........................................................................................................2 8.TeX / LaTeX.........................................................................................................................................2 9.Getting Fonts For Linux.......................................................................................................................2
    [Show full text]
  • The File Cmfonts.Fdd for Use with Latex2ε
    The file cmfonts.fdd for use with LATEX 2".∗ Frank Mittelbach Rainer Sch¨opf 2019/12/16 This file is maintained byA theLTEX Project team. Bug reports can be opened (category latex) at https://latex-project.org/bugs.html. 1 Introduction This file contains the external font information needed to load the Computer Modern fonts designed by Don Knuth and distributed with TEX. From this file all .fd files (font definition files) for the Computer Modern fonts, both with old encoding (OT1) and Cork encoding (T1) are generated. The Cork encoded fonts are known under the name ec fonts. 2 Customization If you plan to install the AMS font package or if you have it already installed, please note that within this package there are additional sizes of the Computer Modern symbol and math italic fonts. With the release of LATEX 2", these AMS `extracm' fonts have been included in the LATEX font set. Therefore, the math .fd files produced here assume the presence of these AMS extensions. For text fonts in T1 encoding, the directive new selects the new (version 1.2) DC fonts. For the text fonts in OT1 and U encoding, the optional docstrip directive ori selects a conservatively generated set of font definition files, which means that only the basic font sizes coming with an old LATEX 2.09 installation are included into the \DeclareFontShape commands. However, on many installations, people have added missing sizes by scaling up or down available Metafont sources. For example, the Computer Modern Roman italic font cmti is only available in the sizes 7, 8, 9, and 10pt.
    [Show full text]
  • Surviving the TEX Font Encoding Mess Understanding The
    Surviving the TEX font encoding mess Understanding the world of TEX fonts and mastering the basics of fontinst Ulrik Vieth Taco Hoekwater · EuroT X ’99 Heidelberg E · FAMOUS QUOTE: English is useful because it is a mess. Since English is a mess, it maps well onto the problem space, which is also a mess, which we call reality. Similary, Perl was designed to be a mess, though in the nicests of all possible ways. | LARRY WALL COROLLARY: TEX fonts are mess, as they are a product of reality. Similary, fontinst is a mess, not necessarily by design, but because it has to cope with the mess we call reality. Contents I Overview of TEX font technology II Installation TEX fonts with fontinst III Overview of math fonts EuroT X ’99 Heidelberg 24. September 1999 3 E · · I Overview of TEX font technology What is a font? What is a virtual font? • Font file formats and conversion utilities • Font attributes and classifications • Font selection schemes • Font naming schemes • Font encodings • What’s in a standard font? What’s in an expert font? • Font installation considerations • Why the need for reencoding? • Which raw font encoding to use? • What’s needed to set up fonts for use with T X? • E EuroT X ’99 Heidelberg 24. September 1999 4 E · · What is a font? in technical terms: • – fonts have many different representations depending on the point of view – TEX typesetter: fonts metrics (TFM) and nothing else – DVI driver: virtual fonts (VF), bitmaps fonts(PK), outline fonts (PFA/PFB or TTF) – PostScript: Type 1 (outlines), Type 3 (anything), Type 42 fonts (embedded TTF) in general terms: • – fonts are collections of glyphs (characters, symbols) of a particular design – fonts are organized into families, series and individual shapes – glyphs may be accessed either by character code or by symbolic names – encoding of glyphs may be fixed or controllable by encoding vectors font information consists of: • – metric information (glyph metrics and global parameters) – some representation of glyph shapes (bitmaps or outlines) EuroT X ’99 Heidelberg 24.
    [Show full text]
  • DE-Tex-FAQ (Vers. 72
    Fragen und Antworten (FAQ) über das Textsatzsystem TEX und DANTE, Deutschsprachige Anwendervereinigung TEX e.V. Bernd Raichle, Rolf Niepraschk und Thomas Hafner Version 72 vom September 2003 Dieser Text enthält häufig gestellte Fragen und passende Antworten zum Textsatzsy- stem TEX und zu DANTE e.V. Er kann über beliebige Medien frei verteilt werden, solange er unverändert bleibt (in- klusive dieses Hinweises). Die Autoren bitten bei Verteilung über gedruckte Medien, über Datenträger wie CD-ROM u. ä. um Zusendung von mindestens drei Belegexem- plaren. Anregungen, Ergänzungen, Kommentare und Bemerkungen zur FAQ senden Sie bit- te per E-Mail an [email protected] 1 Inhalt Inhalt 1 Allgemeines 5 1.1 Über diese FAQ . 5 1.2 CTAN, das ‚Comprehensive TEX Archive Network‘ . 8 1.3 Newsgroups und Diskussionslisten . 10 2 Anwendervereinigungen, Tagungen, Literatur 17 2.1 DANTE e.V. 17 2.2 Anwendervereinigungen . 19 2.3 Tagungen »geändert« .................................... 21 2.4 Literatur »geändert« .................................... 22 3 Textsatzsystem TEX – Übersicht 32 3.1 Grundlegendes . 32 3.2 Welche TEX-Formate gibt es? Was ist LATEX? . 38 3.3 Welche TEX-Weiterentwicklungen gibt es? . 41 4 Textsatzsystem TEX – Bezugsquellen 45 4.1 Wie bekomme ich ein TEX-System? . 45 4.2 TEX-Implementierungen »geändert« ........................... 48 4.3 Editoren, Frontend-/GUI-Programme »geändert« .................... 54 5 TEX, LATEX, Makros etc. (I) 62 5.1 LATEX – Grundlegendes . 62 5.2 LATEX – Probleme beim Umstieg von LATEX 2.09 . 67 5.3 (Silben-)Trennung, Absatz-, Seitenumbruch . 68 5.4 Seitenlayout, Layout allgemein, Kopf- und Fußzeilen »geändert« . 72 6 TEX, LATEX, Makros etc. (II) 79 6.1 Abbildungen und Tafeln .
    [Show full text]
  • The Pdftex Users Manual
    PDFTEX users manual Hàn Thê Thành Sebastian Rahtz Hans Hagen Hartmut Henkel Contents 1 Introduction 9 Character translation 2 About PDF 10 Limitations of PDFTEX 3 Getting started 4 Macro packages supporting PDFTEX Abbreviations 5 Setting up fonts Examples of HZ and protruding 6 Formal syntax specification Additional PDF keys 7 New primitives Colophon 8 Graphics and color GNU Free Documentation License 1 Introduction The main purpose of the pdfTEX project is to create and maintain an extension of TEX that can produce pdf directly from TEX source files and improve/enhance the result of TEX typesetting with the help of pdf. When pdf output is not selected, pdfTEX produces normal dvi output, otherwise it generates pdf output that looks identical to the dvi output. An important aspect of this project is to investigate alternative justification algorithms (e. g. a font expansion algorithm akin to the hz micro--typography algorithm by Prof. Hermann Zapf), optionally making use of multiple master fonts. pdfTEX is based on the original TEX sources and Web2c, and has been successfully compiled on Unix, Win32 and MSDos systems. It is under active development, with new features trickling in. Great care is taken to keep new pdfTEX versions backward compatible with earlier ones. For some years there has been a ‘moderate’ successor to TEX available, called ε-TEX. Because mainstream macro packages such as LATEX have started supporting this welcome extension, pdfTEX also is available as pdfeTEX. Although in this document we will speak of pdfTEX, we advise users to use pdfeTEX when available.That way they get the best of all worlds and are ready for the future.
    [Show full text]
  • The Verdana Font Package∗
    The verdana font package∗ Walter Daems ([email protected]) January 9, 2016 1 Introduction This package is only useful when using standard LATEX. If you use XELATEXor LuaLATEX, access to fonts has been greatly simplified. In that case, you don't need this package. 'Verdana' is a common font that can be downloaded from: http: //prdownloads.sourceforge.net/corefonts/verdan32.exe?download The font is readily available on machines with a Microsoft oper- ating system. The wrapper provides a T1 encoded font. The wrapper would be most straightforward weren't it for the ligature problems that Verdana exhibits. The core of the problem is that over the years, Microsoft removed several glyphs from the font, including the ligatures ’fi’ and ’fl’ (on the T1 octal positions 34 and 35). The font version 2006 (as it can be downloaded from sourceforge), still has the ligatures. In version 2008 they have been removed. In version 2010, even more glyphs have been removed. The reason for removing these glyphs is unclear to me. To overcome these issues, the wrapper provides an option 'nofligs' (shorthand for 'no f-ligatures'), that disables the invo- cation of these ligatures involving f. ∗This document corresponds to verdana 1.2b, dated 2016/01/08. 1 If a testpage, or a testfont page generated with TEX shows miss- ing ligatures, then just use the options 'nofligs'. Most standard TEX installations do embed fonts in PDF files. How- ever, in case your PDF document does not contain embedded fonts, make sure, when handing over a PDF document contain- ing Verdana to your publishing company, to check wether their version of Verdana contains the fi and fl glyphs.
    [Show full text]
  • Database Globalization Support Guide
    Oracle® Database Database Globalization Support Guide 19c E96349-05 May 2021 Oracle Database Database Globalization Support Guide, 19c E96349-05 Copyright © 2007, 2021, Oracle and/or its affiliates. Primary Author: Rajesh Bhatiya Contributors: Dan Chiba, Winson Chu, Claire Ho, Gary Hua, Simon Law, Geoff Lee, Peter Linsley, Qianrong Ma, Keni Matsuda, Meghna Mehta, Valarie Moore, Cathy Shea, Shige Takeda, Linus Tanaka, Makoto Tozawa, Barry Trute, Ying Wu, Peter Wallack, Chao Wang, Huaqing Wang, Sergiusz Wolicki, Simon Wong, Michael Yau, Jianping Yang, Qin Yu, Tim Yu, Weiran Zhang, Yan Zhu This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs) and Oracle computer documentation or other Oracle data delivered to or accessed by U.S.
    [Show full text]
  • Miktex Manual Revision 2.0 (Miktex 2.0) December 2000
    MiKTEX Manual Revision 2.0 (MiKTEX 2.0) December 2000 Christian Schenk <[email protected]> Copyright c 2000 Christian Schenk Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this manual under the con- ditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. Permission is granted to copy and distribute translations of this manual into another lan- guage, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by the Free Software Foundation. Chapter 1: What is MiKTEX? 1 1 What is MiKTEX? 1.1 MiKTEX Features MiKTEX is a TEX distribution for Windows (95/98/NT/2000). Its main features include: • Native Windows implementation with support for long file names. • On-the-fly generation of missing fonts. • TDS (TEX directory structure) compliant. • Open Source. • Advanced TEX compiler features: -TEX can insert source file information (aka source specials) into the DVI file. This feature improves Editor/Previewer interaction. -TEX is able to read compressed (gzipped) input files. - The input encoding can be changed via TCX tables. • Previewer features: - Supports graphics (PostScript, BMP, WMF, TPIC, . .) - Supports colored text (through color specials) - Supports PostScript fonts - Supports TrueType fonts - Understands HyperTEX(html:) specials - Understands source (src:) specials - Customizable magnifying glasses • MiKTEX is network friendly: - integrates into a heterogeneous TEX environment - supports UNC file names - supports multiple TEXMF directory trees - uses a file name database for efficient file access - Setup Wizard can be run unattended The MiKTEX distribution consists of the following components: • TEX: The traditional TEX compiler.
    [Show full text]
  • Latex2ε Font Selection
    LATEX 2" font selection © Copyright 1995{2021, LATEX Project Team.∗ All rights reserved. March 2021 Contents 1 Introduction2 1.1 LATEX 2" fonts.............................2 1.2 Overview...............................2 1.3 Further information.........................3 2 Text fonts4 2.1 Text font attributes.........................4 2.2 Selection commands.........................7 2.3 Internals................................8 2.4 Parameters for author commands..................9 2.5 Special font declaration commands................. 10 3 Math fonts 11 3.1 Math font attributes......................... 11 3.2 Selection commands......................... 12 3.3 Declaring math versions....................... 13 3.4 Declaring math alphabets...................... 13 3.5 Declaring symbol fonts........................ 14 3.6 Declaring math symbols....................... 15 3.7 Declaring math sizes......................... 17 4 Font installation 17 4.1 Font definition files.......................... 17 4.2 Font definition file commands.................... 18 4.3 Font file loading information..................... 19 4.4 Size functions............................. 20 5 Encodings 21 5.1 The fontenc package......................... 21 5.2 Encoding definition file commands................. 22 5.3 Default definitions.......................... 25 5.4 Encoding defaults........................... 26 5.5 Case changing............................. 27 ∗Thanks to Arash Esbati for documenting the newer NFSS features of 2020 1 6 Miscellanea 27 6.1 Font substitution..........................
    [Show full text]
  • About Basictex-2021
    About BasicTeX-2021 Richard Koch January 2, 2021 1 Introduction Most TeX distributions for Mac OS X are based on TeX Live, the reference edition of TeX produced by TeX User Groups across the world. Among these is MacTeX, which installs the full TeX Live as well as front ends, Ghostscript, and other utilities | everything needed to use TeX on the Mac. To obtain it, go to http://tug.org/mactex. 2 Basic TeX BasicTeX (92 MB) is an installation package for Mac OS X based on TeX Live 2021. Unlike MacTeX, this package is deliberately small. Yet it contains all of the standard tools needed to write TeX documents, including TeX, LaTeX, pdfTeX, MetaFont, dvips, MetaPost, and XeTeX. It would be dangerous to construct a new distribution by going directly to CTAN or the Web and collecting useful style files, fonts and so forth. Such a distribution would run into support issues as the creators move on to other projects. Luckily, the TeX Live install script has its own notion of \installation packages" and collections of such packages to make \installation schemes." BasicTeX is constructed by running the TeX Live install script and choosing the \small" scheme. Thus it is a subset of the full TeX Live with exactly the TeX Live directory structure and configuration scripts. Moreover, BasicTeX contains tlmgr, the TeX Live Manager software introduced in TeX Live 2008, which can install additional packages over the network. So it will be easy for users to add missing packages if needed. Since it is important that the install package come directly from the standard TeX Live distribution, I'm going to explain exactly how I installed TeX to produce the install package.
    [Show full text]
  • Latex2ε Font Selection
    LATEX 2" font selection c Copyright 1995{2000, LATEX3 Project Team. All rights reserved. 2 September 2000 Contents 1 Introduction 2 A 1.1 LTEX 2" fonts . 2 1.2 Overview . 2 1.3 Further information . 3 2 Text fonts 4 2.1 Text font attributes . 4 2.2 Selection commands . 6 2.3 Internals . 7 2.4 Parameters for author commands . 8 2.5 Special font declaration commands . 9 3 Math fonts 10 3.1 Math font attributes . 10 3.2 Selection commands . 11 3.3 Declaring math versions . 12 3.4 Declaring math alphabets . 12 3.5 Declaring symbol fonts . 13 3.6 Declaring math symbols . 14 3.7 Declaring math sizes . 16 4 Font installation 16 4.1 Font definition files . 16 4.2 Font definition file commands . 16 4.3 Font file loading information . 18 4.4 Size functions . 18 5 Encodings 20 5.1 The fontenc package . 20 5.2 Encoding definition file commands . 20 5.3 Default definitions . 23 5.4 Encoding defaults . 24 5.5 Case changing . 25 1 6 Miscellanea 25 6.1 Font substitution . 25 6.2 Preloading . 26 6.3 Accented characters . 26 6.4 Naming conventions . 27 7 If you need to know more . 28 1 Introduction A This document describes the new font selection features of the LTEX Document Preparation System. It is intended for package writers who want to write font- loading packages similar to times or latexsym. This document is only a brief introduction to the new facilities and is intended A for package writers who are familiar with TEX fonts and LTEX packages.
    [Show full text]
  • P Font-Change Q UV 3
    p font•change q UV Version 2015.2 Macros to Change Text & Math fonts in TEX 45 Beautiful Variants 3 Amit Raj Dhawan [email protected] September 2, 2015 This work had been released under Creative Commons Attribution-Share Alike 3.0 Unported License on July 19, 2010. You are free to Share (to copy, distribute and transmit the work) and to Remix (to adapt the work) provided you follow the Attribution and Share Alike guidelines of the licence. For the full licence text, please visit: http://creativecommons.org/licenses/by-sa/3.0/legalcode. 4 When I reach the destination, more than I realize that I have realized the goal, I am occupied with the reminiscences of the journey. It strikes to me again and again, ‘‘Isn’t the journey to the goal the real attainment of the goal?’’ In this way even if I miss goal, I still have attained goal. Contents Introduction .................................................................................. 1 Usage .................................................................................. 1 Example ............................................................................... 3 AMS Symbols .......................................................................... 3 Available Weights ...................................................................... 5 Warning ............................................................................... 5 Charter ....................................................................................... 6 Utopia .......................................................................................
    [Show full text]