| 1 |
% THIS IS THE OFFICIAL COMPUTER MODERN SOURCE FILE textit.mf BY D E KNUTH. |
| 2 |
% IT MUST NOT BE MODIFIED IN ANY WAY UNLESS THE FILE NAME IS CHANGED! |
| 3 |
|
| 4 |
% The Computer Modern Text Italic family (by D. E. Knuth, 1979--1985) |
| 5 |
|
| 6 |
mode_setup; font_setup; |
| 7 |
|
| 8 |
input itall; % lower case (minuscules) |
| 9 |
input italsp; % lowercase specials (dotless \i, ligature \ae, etc.) |
| 10 |
if ligs>1: font_coding_scheme:="TeX text"; |
| 11 |
spanish_shriek=oct"074"; spanish_query=oct"076"; |
| 12 |
input italig; % letter ligatures |
| 13 |
else: font_coding_scheme:=if ligs=0: "TeX typewriter text" |
| 14 |
else: "TeX text without f-ligatures" fi; |
| 15 |
spanish_shriek=oct"016"; spanish_query=oct"017"; fi |
| 16 |
|
| 17 |
font_slant slant; font_x_height x_height#; |
| 18 |
if monospace: font_normal_space 9u#; % no stretching or shrinking |
| 19 |
font_quad 18u#; |
| 20 |
font_extra_space 9u#; |
| 21 |
letter_fit#:=letter_fit:=0; |
| 22 |
else: font_normal_space 6u#+2letter_fit#; |
| 23 |
font_normal_stretch 3u#; font_normal_shrink 2u#; |
| 24 |
font_quad 18u#+4letter_fit#; |
| 25 |
font_extra_space 2u#; fi |
| 26 |
|
| 27 |
input romanu; % upper case (majuscules) |
| 28 |
input greeku; % upper case greek letters |
| 29 |
input itald; % numerals |
| 30 |
input italp; % ampersand, question marks, currency sign |
| 31 |
input romspu; % uppercase specials (\AE, \OE, \O) |
| 32 |
input punct; % punctuation symbols common to roman and italic text |
| 33 |
input accent; % accents common to roman and italic text |
| 34 |
if ligs>0: input comlig; fi % ligatures common with roman text |
| 35 |
if ligs<=1: input romsub; fi % substitutes for ligatures |
| 36 |
|
| 37 |
ligtable "!": "`" =: spanish_shriek; |
| 38 |
ligtable "?": "`" =: spanish_query; |
| 39 |
|
| 40 |
if not monospace: |
| 41 |
k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning |
| 42 |
ligtable "d": "w": "l": "l" kern +u#; |
| 43 |
ligtable "F": "V": "o" kern kk#, "e" kern kk#, |
| 44 |
"u" kern kk#, "r" kern kk#, "a" kern kk#, "A" kern kkk#, |
| 45 |
"K": "X": "O" kern k#, "C" kern k#, "G" kern k#, "Q" kern k#; |
| 46 |
ligtable "T": "y" kern kk#, |
| 47 |
"Y": "e" kern kk#, "o" kern kk#, "r" kern kk#, "a" kern kk#, "u" kern kk#, |
| 48 |
"P": "W": "A" kern kk#; |
| 49 |
ligtable "O": "D": "X" kern k#, "W" kern k#, "A" kern k#, |
| 50 |
"V" kern k#, "Y" kern k#; |
| 51 |
ligtable "A": "R": "n" kern k#, "l" kern k#, "r" kern k#, "u" kern k#, |
| 52 |
"m" kern k#, "t" kern k#, "i" kern k#, "C" kern k#, "O" kern k#, "G" kern k#, |
| 53 |
"h" kern k#, "b" kern k#, "U" kern k#, "k" kern k#, "v" kern k#, "w" kern k#, |
| 54 |
"Q" kern k#, "L": "T" kern kk#, "Y" kern kk#, "V" kern kkk#, "W" kern kkk#, |
| 55 |
"b": "c": "e": "o": "p": "r": "e" kern -u#, "a" kern -u#, "o" kern -u#, |
| 56 |
"d" kern -u#, "c" kern -u#, "g" kern -u#, "q" kern -u#; |
| 57 |
ligtable "n": "'" kern kkk#; fi |
| 58 |
% there are ligature/kern programs for |"f"| in the {\tt italig} file |
| 59 |
% and for |"-"|, |"`"|, and |"'"| in the {\tt comlig} file |
| 60 |
bye. |