Debian Codegraph @

texmf-dist/tex/fontinst/latinmtx/resetsc.mtx

raw
1 % Copyright 1998, 1999 the fontinst maintenance team and any individual
2 % authors listed elsewhere in this file. All rights reserved.
3 %
4 % This file is part of the fontinst system version 1.9.
5 % -----------------------------------------------------
6 %
7 % It may be distributed under the terms of the LaTeX Project Public
8 % License, as described in lppl.txt in the base LaTeX distribution.
9 % Either version 1.0 or, at your option, any later version.
10 %
11 %%% ====================================================================
12 %%% @TeX-font-metrics-file{
13 %%% author = "Ulrik Vieth",
14 %%% version = "1.927",
15 %%% date = "13 April 2004",
16 %%% time = "23:01:07 CET",
17 %%% filename = "resetsc.mtx",
18 %%% email = "[email protected]",
19 %%% URL = "http://www.tug.org/applications/fontinst/",
20 %%% checksum = "07130 161 332 5005",
21 %%% codetable = "ISO/ASCII",
22 %%% keywords = "metrics, raw, TeX, PostScript",
23 %%% supported = "yes",
24 %%% abstract = "This is a metrics file, for use with the
25 %%% fontinst utility. It recodes glyph names
26 %%% for small capitals read from AFM files
27 %%% to glyph names with a `small' suffix.",
28 %%% package = "fontinst",
29 %%% dependencies = "fontinst.sty, fontdoc.sty",
30 %%% }
31 %%% ====================================================================
32
33 \relax
34
35 \documentclass[twocolumn]{article}
36 \usepackage{fontdoc}
37
38 \title{The \texttt{resetsc.mtx} metrics file}
39 \author{Ulrik Vieth}
40 \date{16 November 1999 \\
41 Version 1.910}
42
43 \begin{document}
44 \maketitle
45
46 This document describes the \texttt{resetsc.mtx} metrics file, which is
47 used to recode raw glyph names for small capitals to glyph names with
48 a `small' suffix.
49
50 \metrics
51
52 \setcommand\smallcapsglyph#1#2{
53 \ifisglyph{#2}\then
54 \setglyph{#1}\glyph{#2}{1000}
55 \endsetglyph
56 \fi
57 }
58
59 \setcommand\smallcapskerning#1#2{
60 \ifisglyph{#2}\then
61 \setleftrightkerning{#1}{#2}{1000}
62 \fi
63 }
64
65 % Renaming small caps glyphs.
66
67 \smallcapsglyph{Asmall}{a}
68 \smallcapsglyph{Bsmall}{b}
69 \smallcapsglyph{Csmall}{c}
70 \smallcapsglyph{Dsmall}{d}
71 \smallcapsglyph{Esmall}{e}
72 \smallcapsglyph{Fsmall}{f}
73 \smallcapsglyph{Gsmall}{g}
74 \smallcapsglyph{Hsmall}{h}
75 \smallcapsglyph{Ismall}{i}
76 \smallcapsglyph{Jsmall}{j}
77 \smallcapsglyph{Ksmall}{k}
78 \smallcapsglyph{Lsmall}{l}
79 \smallcapsglyph{Msmall}{m}
80 \smallcapsglyph{Nsmall}{n}
81 \smallcapsglyph{Osmall}{o}
82 \smallcapsglyph{Psmall}{p}
83 \smallcapsglyph{Qsmall}{q}
84 \smallcapsglyph{Rsmall}{r}
85 \smallcapsglyph{Ssmall}{s}
86 \smallcapsglyph{Tsmall}{t}
87 \smallcapsglyph{Usmall}{u}
88 \smallcapsglyph{Vsmall}{v}
89 \smallcapsglyph{Wsmall}{w}
90 \smallcapsglyph{Xsmall}{x}
91 \smallcapsglyph{Ysmall}{y}
92 \smallcapsglyph{Zsmall}{z}
93
94 \smallcapsglyph{Lslashsmall}{lslash}
95 \smallcapsglyph{Scaronsmall}{scaron}
96 \smallcapsglyph{Zcaronsmall}{zcaron}
97
98 \smallcapsglyph{Agravesmall}{agrave}
99 \smallcapsglyph{Aacutesmall}{aacute}
100 \smallcapsglyph{Acircumflexsmall}{acircumflex}
101 \smallcapsglyph{Atildesmall}{atilde}
102 \smallcapsglyph{Adieresissmall}{adieresis}
103 \smallcapsglyph{Aringsmall}{aring}
104 \smallcapsglyph{AEsmall}{ae}
105 \smallcapsglyph{Ccedillasmall}{ccedilla}
106 \smallcapsglyph{Egravesmall}{egrave}
107 \smallcapsglyph{Eacutesmall}{eacute}
108 \smallcapsglyph{Ecircumflexsmall}{ecircumflex}
109 \smallcapsglyph{Edieresissmall}{edieresis}
110 \smallcapsglyph{Igravesmall}{igrave}
111 \smallcapsglyph{Iacutesmall}{iacute}
112 \smallcapsglyph{Icircumflexsmall}{icircumflex}
113 \smallcapsglyph{Idieresissmall}{idieresis}
114 \smallcapsglyph{Ethsmall}{eth}
115 \smallcapsglyph{Ntildesmall}{ntilde}
116 \smallcapsglyph{Ogravesmall}{ograve}
117 \smallcapsglyph{Oacutesmall}{oacute}
118 \smallcapsglyph{Ocircumflexsmall}{ocircumflex}
119 \smallcapsglyph{Otildesmall}{otilde}
120 \smallcapsglyph{Odieresissmall}{odieresis}
121 \smallcapsglyph{OEsmall}{oe}
122 \smallcapsglyph{Oslashsmall}{oslash}
123 \smallcapsglyph{Ugravesmall}{ugrave}
124 \smallcapsglyph{Uacutesmall}{uacute}
125 \smallcapsglyph{Ucircumflexsmall}{ucircumflex}
126 \smallcapsglyph{Udieresissmall}{udieresis}
127 \smallcapsglyph{Yacutesmall}{yacute}
128 \smallcapsglyph{Thornsmall}{thorn}
129 \smallcapsglyph{Ydieresissmall}{ydieresis}
130
131 % Renaming small caps kern pairs.
132
133 \smallcapskerning{Asmall}{a}
134 \smallcapskerning{Bsmall}{b}
135 \smallcapskerning{Csmall}{c}
136 \smallcapskerning{Dsmall}{d}
137 \smallcapskerning{Esmall}{e}
138 \smallcapskerning{Fsmall}{f}
139 \smallcapskerning{Gsmall}{g}
140 \smallcapskerning{Hsmall}{h}
141 \smallcapskerning{Ismall}{i}
142 \smallcapskerning{Jsmall}{j}
143 \smallcapskerning{Ksmall}{k}
144 \smallcapskerning{Lsmall}{l}
145 \smallcapskerning{Msmall}{m}
146 \smallcapskerning{Nsmall}{n}
147 \smallcapskerning{Osmall}{o}
148 \smallcapskerning{Psmall}{p}
149 \smallcapskerning{Qsmall}{q}
150 \smallcapskerning{Rsmall}{r}
151 \smallcapskerning{Ssmall}{s}
152 \smallcapskerning{Tsmall}{t}
153 \smallcapskerning{Usmall}{u}
154 \smallcapskerning{Vsmall}{v}
155 \smallcapskerning{Wsmall}{w}
156 \smallcapskerning{Xsmall}{x}
157 \smallcapskerning{Ysmall}{y}
158 \smallcapskerning{Zsmall}{z}
159
160 \endmetrics
161
162 \section{Changes}
163
164 2004/04/13: Fixed typo (\texttt{Xsmall} instead of \texttt{Ysmall}).
165 (LH)
166 \end{document}