summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/fontinst/latinmtx/resetsc.mtx
blob: 445e737525ea6f7ec746888493257e17b000e4c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
% Copyright 1998, 1999 the fontinst maintenance team and any individual
% authors listed elsewhere in this file.  All rights reserved.
%
% This file is part of the fontinst system version 1.9.
% -----------------------------------------------------
%
% It may be distributed under the terms of the LaTeX Project Public
% License, as described in lppl.txt in the base LaTeX distribution.
% Either version 1.0 or, at your option, any later version.
%
%%% ====================================================================
%%%  @TeX-font-metrics-file{
%%%     author          = "Ulrik Vieth",
%%%     version         = "1.927",
%%%     date            = "13 April 2004",
%%%     time            = "23:01:07 CET",
%%%     filename        = "resetsc.mtx",
%%%     email           = "fontinst@tug.org",
%%%     URL             = "http://www.tug.org/applications/fontinst/",
%%%     checksum        = "07130 161 332 5005",
%%%     codetable       = "ISO/ASCII",
%%%     keywords        = "metrics, raw, TeX, PostScript",
%%%     supported       = "yes",
%%%     abstract        = "This is a metrics file, for use with the
%%%                        fontinst utility.  It recodes glyph names
%%%                        for small capitals read from AFM files
%%%                        to glyph names with a `small' suffix.",
%%%     package         = "fontinst",
%%%     dependencies    = "fontinst.sty, fontdoc.sty",
%%%  }
%%% ====================================================================

\relax

\documentclass[twocolumn]{article}
\usepackage{fontdoc}

\title{The \texttt{resetsc.mtx} metrics file}
\author{Ulrik Vieth}
\date{16 November 1999 \\
Version 1.910}

\begin{document}
\maketitle

This document describes the \texttt{resetsc.mtx} metrics file, which is
used to recode raw glyph names for small capitals to glyph names with
a `small' suffix.

\metrics

\setcommand\smallcapsglyph#1#2{
  \ifisglyph{#2}\then
   \setglyph{#1}\glyph{#2}{1000}
   \endsetglyph
  \fi
}

\setcommand\smallcapskerning#1#2{
  \ifisglyph{#2}\then
   \setleftrightkerning{#1}{#2}{1000}
  \fi
}

% Renaming small caps glyphs.

\smallcapsglyph{Asmall}{a}
\smallcapsglyph{Bsmall}{b}
\smallcapsglyph{Csmall}{c}
\smallcapsglyph{Dsmall}{d}
\smallcapsglyph{Esmall}{e}
\smallcapsglyph{Fsmall}{f}
\smallcapsglyph{Gsmall}{g}
\smallcapsglyph{Hsmall}{h}
\smallcapsglyph{Ismall}{i}
\smallcapsglyph{Jsmall}{j}
\smallcapsglyph{Ksmall}{k}
\smallcapsglyph{Lsmall}{l}
\smallcapsglyph{Msmall}{m}
\smallcapsglyph{Nsmall}{n}
\smallcapsglyph{Osmall}{o}
\smallcapsglyph{Psmall}{p}
\smallcapsglyph{Qsmall}{q}
\smallcapsglyph{Rsmall}{r}
\smallcapsglyph{Ssmall}{s}
\smallcapsglyph{Tsmall}{t}
\smallcapsglyph{Usmall}{u}
\smallcapsglyph{Vsmall}{v}
\smallcapsglyph{Wsmall}{w}
\smallcapsglyph{Xsmall}{x}
\smallcapsglyph{Ysmall}{y}
\smallcapsglyph{Zsmall}{z}

\smallcapsglyph{Lslashsmall}{lslash}
\smallcapsglyph{Scaronsmall}{scaron}
\smallcapsglyph{Zcaronsmall}{zcaron}

\smallcapsglyph{Agravesmall}{agrave}
\smallcapsglyph{Aacutesmall}{aacute}
\smallcapsglyph{Acircumflexsmall}{acircumflex}
\smallcapsglyph{Atildesmall}{atilde}
\smallcapsglyph{Adieresissmall}{adieresis}
\smallcapsglyph{Aringsmall}{aring}
\smallcapsglyph{AEsmall}{ae}
\smallcapsglyph{Ccedillasmall}{ccedilla}
\smallcapsglyph{Egravesmall}{egrave}
\smallcapsglyph{Eacutesmall}{eacute}
\smallcapsglyph{Ecircumflexsmall}{ecircumflex}
\smallcapsglyph{Edieresissmall}{edieresis}
\smallcapsglyph{Igravesmall}{igrave}
\smallcapsglyph{Iacutesmall}{iacute}
\smallcapsglyph{Icircumflexsmall}{icircumflex}
\smallcapsglyph{Idieresissmall}{idieresis}
\smallcapsglyph{Ethsmall}{eth}
\smallcapsglyph{Ntildesmall}{ntilde}
\smallcapsglyph{Ogravesmall}{ograve}
\smallcapsglyph{Oacutesmall}{oacute}
\smallcapsglyph{Ocircumflexsmall}{ocircumflex}
\smallcapsglyph{Otildesmall}{otilde}
\smallcapsglyph{Odieresissmall}{odieresis}
\smallcapsglyph{OEsmall}{oe}
\smallcapsglyph{Oslashsmall}{oslash}
\smallcapsglyph{Ugravesmall}{ugrave}
\smallcapsglyph{Uacutesmall}{uacute}
\smallcapsglyph{Ucircumflexsmall}{ucircumflex}
\smallcapsglyph{Udieresissmall}{udieresis}
\smallcapsglyph{Yacutesmall}{yacute}
\smallcapsglyph{Thornsmall}{thorn}
\smallcapsglyph{Ydieresissmall}{ydieresis}

% Renaming small caps kern pairs.

\smallcapskerning{Asmall}{a}
\smallcapskerning{Bsmall}{b}
\smallcapskerning{Csmall}{c}
\smallcapskerning{Dsmall}{d}
\smallcapskerning{Esmall}{e}
\smallcapskerning{Fsmall}{f}
\smallcapskerning{Gsmall}{g}
\smallcapskerning{Hsmall}{h}
\smallcapskerning{Ismall}{i}
\smallcapskerning{Jsmall}{j}
\smallcapskerning{Ksmall}{k}
\smallcapskerning{Lsmall}{l}
\smallcapskerning{Msmall}{m}
\smallcapskerning{Nsmall}{n}
\smallcapskerning{Osmall}{o}
\smallcapskerning{Psmall}{p}
\smallcapskerning{Qsmall}{q}
\smallcapskerning{Rsmall}{r}
\smallcapskerning{Ssmall}{s}
\smallcapskerning{Tsmall}{t}
\smallcapskerning{Usmall}{u}
\smallcapskerning{Vsmall}{v}
\smallcapskerning{Wsmall}{w}
\smallcapskerning{Xsmall}{x}
\smallcapskerning{Ysmall}{y}
\smallcapskerning{Zsmall}{z}

\endmetrics

\section{Changes}

2004/04/13: Fixed typo (\texttt{Xsmall} instead of \texttt{Ysmall}).
(LH)
\end{document}