| 1 |
% txsymb.mf |
| 2 |
% |
| 3 |
% (c) Copyright 1995, 1996, 1997 J"org Knappen |
| 4 |
% |
| 5 |
% This file is part of ecfonts version 1.0 |
| 6 |
% |
| 7 |
% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and |
| 8 |
% copyrite.txt for further information |
| 9 |
% |
| 10 |
% You find some documentation in ecdoc.tex (needs LaTeX2e) |
| 11 |
% |
| 12 |
% EC Version 1.0 |
| 13 |
% 19-JAN-1997 |
| 14 |
% |
| 15 |
% Driver file for the tc fonts |
| 16 |
% Modified and name changed to ltxsymb.mf by Claudio Beccari 2007 |
| 17 |
|
| 18 |
version_check(1,0); % |version_check| was introduced in dc1.3 |
| 19 |
|
| 20 |
input exaccess; % accent accessories |
| 21 |
input txpseudo; % pseudoparameters |
| 22 |
|
| 23 |
mode_setup; font_setup; pseudo_setup; |
| 24 |
|
| 25 |
input txaccent; % flat accents for capital letters |
| 26 |
input txgen; % genealogical symbols (by DEK) |
| 27 |
input txsymbol; % misc. symbols |
| 28 |
if variant_g: % italics? |
| 29 |
input txitlod; % old style digits (by GJL) |
| 30 |
input txisuper; % superscript 1,2,3 |
| 31 |
input txifract; % fractions 1/4, 1/2, 3/4 |
| 32 |
else: % roman |
| 33 |
input txromod; % old style digits (by DEK) |
| 34 |
input txrsuper; % superscript 1,2,3 |
| 35 |
input txrfract; % fractions 1/4, 1/2, 3/4 |
| 36 |
fi; |
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
ecchar "Euro currency sign"; % jk |
| 41 |
beginchar(oct"277",14u#,1.1cap_height#,0);% cap_height= 197/36pt# |
| 42 |
italcorr cap_height#*slant-beak_jut#-.5u#; |
| 43 |
adjust_fit(0,0); |
| 44 |
pickup fine.nib;% fine=8/36pt# |
| 45 |
numeric larg; larg:=slab;% slab=19/36pt# --> larg= 19/36pt# |
| 46 |
pos2(larg,90); pos1(larg,0); |
| 47 |
top y2r=h; x2=hround 8.5u; rt x1r=hround(w-u); y1=good.y(y2l-1.5u)-eps; |
| 48 |
pos3(larg,180); pos4(larg,270); pos5(larg,0); |
| 49 |
bot y4r=0; x4=x2; rt x5r=hround(w-u); y5=good.y(y4l+1.6u)+eps; |
| 50 |
lft x3r =hround 2.5u; y3=.52h; |
| 51 |
filldraw stroke z1e..z2e{left}..z3e{down}..z4e{right}..z5e;% arc |
| 52 |
pos6(larg,-90); pos7(larg,-90); pos8(larg,90); pos9(larg,90); |
| 53 |
bot y6r=top y8r+if hefty: 1.333 else: 2 fi vair |
| 54 |
=vround(y3+if hefty: .667 fi vair+eps); |
| 55 |
y7l=good.y(y6l)+eps; y9l=good.y(y8l)-eps; |
| 56 |
x6=x8=hround u; x7=x9=hround 10u; |
| 57 |
filldraw stroke z6e--z7e; filldraw stroke z8e--z9e; % strokes |
| 58 |
penlabels(1,2,3,4,5,6,7,8,9); endchar; |
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
% Ligtable |
| 63 |
|
| 64 |
if not monospace: |
| 65 |
ligtable "-": oct"177" =: oct"177"; % <hyphen><hyphenchar> => <hyphenchar> |
| 66 |
fi |
| 67 |
|
| 68 |
% Fontparameter |
| 69 |
% |
| 70 |
font_coding_scheme:="TeX text companion symbols 1---TS1"; |
| 71 |
boundarychar:=oct"027"; |
| 72 |
font_slant slant; |
| 73 |
font_x_height x_height#; |
| 74 |
font_cap_height cap_height#; |
| 75 |
font_asc_height asc_height#; |
| 76 |
font_acc_cap_height (cap_height#+acc_height#); |
| 77 |
font_desc_depth desc_depth#; |
| 78 |
font_max_height(max(asc_height#,body_height#, |
| 79 |
cap_height#+acc_height#)); |
| 80 |
font_max_depth(max(desc_depth#,paren_depth#,the_ogonek_depth#)); |
| 81 |
% font_digit_width % set inside the digits file |
| 82 |
font_cap_stem cap_stem#; % No letter capital I in the symbols |
| 83 |
font_baselineskip max(1.2*designsize,body_height#+paren_depth#); |
| 84 |
|
| 85 |
if monospace: font_normal_space 9u#; % no stretching or shrinking |
| 86 |
font_quad 18u#; |
| 87 |
font_extra_space 9u#; |
| 88 |
else: font_normal_space 6u#+2letter_fit#; |
| 89 |
font_normal_stretch 3u#; font_normal_shrink 2u#; |
| 90 |
font_quad 18u#+4letter_fit#; |
| 91 |
font_extra_space 2u#; |
| 92 |
fi |
| 93 |
|
| 94 |
bye. |