| 1 |
%%% ==================================================================== |
| 2 |
%%% @TeX-font-metrics-file{ |
| 3 |
%%% author = "Alan Jeffrey and Ulrik Vieth and |
| 4 |
%%% Lars Hellstr{\"o}m", |
| 5 |
%%% version = "1.923", |
| 6 |
%%% date = "2003-03-29", |
| 7 |
%%% time = "16:18:07 +01:00", |
| 8 |
%%% filename = "lsmisc.mtx", |
| 9 |
%%% email = "[email protected]", |
| 10 |
%%% URL = "http://www.tug.org/applications/fontinst/", |
| 11 |
%%% checksum = "", |
| 12 |
%%% codetable = "ISO/ASCII", |
| 13 |
%%% keywords = "metrics, TeX, PostScript", |
| 14 |
%%% supported = "yes", |
| 15 |
%%% abstract = "This is a font metrics file, for use with the |
| 16 |
%%% fontinst utility. It sets some miscellaneous |
| 17 |
%%% glyphs in latin smallcaps.", |
| 18 |
%%% package = "fontinst", |
| 19 |
%%% dependencies = "fontinst.sty, fontdoc.sty", |
| 20 |
%%% } |
| 21 |
%%% ==================================================================== |
| 22 |
|
| 23 |
\relax |
| 24 |
|
| 25 |
\documentclass[twocolumn]{article} |
| 26 |
|
| 27 |
\usepackage{fontdoc}[2002/03/01] |
| 28 |
\showbranches |
| 29 |
|
| 30 |
\title{Smallcaps miscellanea} |
| 31 |
\author{Alan Jeffrey\and Ulrik Vieth\and Lars Hellstr\"om} |
| 32 |
\date{5 January 2003\\Version 1.923} |
| 33 |
|
| 34 |
\begin{document} |
| 35 |
\maketitle |
| 36 |
|
| 37 |
\section{Introduction} |
| 38 |
|
| 39 |
This file sets some miscellaneous smallcaps glyphs, most of which |
| 40 |
serve mainly to complete some family of glyphs whose names are built |
| 41 |
according to some simple pattern. It should work just as well will |
| 42 |
real smallcaps as with faked smallcaps. |
| 43 |
|
| 44 |
\metrics |
| 45 |
|
| 46 |
\needsfontinstversion{1.917} |
| 47 |
|
| 48 |
\ProvidesMtxPackage{lsmisc} |
| 49 |
|
| 50 |
\begincomment |
| 51 |
\section{Miscellaneous smallcaps} |
| 52 |
|
| 53 |
\subsection{Some glyph aliases} |
| 54 |
|
| 55 |
The next few glyphs are usually available (if any smallcaps glyphs are), |
| 56 |
but may come under a name different from that which ETX files expect. |
| 57 |
\endcomment |
| 58 |
|
| 59 |
\ifisglyph{Ismall}\then |
| 60 |
\setglyph{dotlessIsmall} |
| 61 |
\glyph{Ismall}{1000} |
| 62 |
\setleftrightkerning{dotlessIsmall}{Ismall}{1000} |
| 63 |
\endsetglyph |
| 64 |
\Fi |
| 65 |
|
| 66 |
\ifisglyph{Jsmall}\then |
| 67 |
\setglyph{dotlessJsmall} |
| 68 |
\glyph{Jsmall}{1000} |
| 69 |
\setleftrightkerning{dotlessJsmall}{Jsmall}{1000} |
| 70 |
\endsetglyph |
| 71 |
\Fi |
| 72 |
|
| 73 |
|
| 74 |
\begincomment |
| 75 |
\subsection{Smallcap ligatures} |
| 76 |
|
| 77 |
Smallcap letters usually do not form ligatures, but many font encodings |
| 78 |
nonetheless reserve slots for them, and in particular many ETX files |
| 79 |
will try to put smallcap ligatures in the ligature slots. Hence there |
| 80 |
is some point in making these glyphs, even though they are only what |
| 81 |
one would get if there was no ligature. |
| 82 |
|
| 83 |
\medskip |
| 84 |
\endcomment |
| 85 |
|
| 86 |
\setint{smallcapsspacing}{0} |
| 87 |
\comment{In case some letterspacing will be applied to the smallcaps, |
| 88 |
then that amount should also be added between the glyphs below. |
| 89 |
In most cases however, such spacing should already have been |
| 90 |
included in the base glyphs, and in that case, $0$ is the correct |
| 91 |
value.} |
| 92 |
|
| 93 |
\ifisglyph{Fsmall}\then |
| 94 |
|
| 95 |
\setglyph{FFsmall} |
| 96 |
\glyph{Fsmall}{1000} |
| 97 |
\movert{\add{\kerning{Fsmall}{Fsmall}}{\int{smallcapsspacing}}} |
| 98 |
\glyph{Fsmall}{1000} |
| 99 |
\endsetglyph |
| 100 |
\setrightkerning{FFsmall}{Fsmall}{1000} |
| 101 |
|
| 102 |
\ifisglyph{Ismall}\then |
| 103 |
\setglyph{FIsmall} |
| 104 |
\glyph{Fsmall}{1000} |
| 105 |
\movert{\add{\kerning{Fsmall}{Ismall}}{\int{smallcapsspacing}}} |
| 106 |
\glyph{Ismall}{1000} |
| 107 |
\endsetglyph |
| 108 |
|
| 109 |
% \setleftkerning{FIsmall}{Fsmall}{1000} |
| 110 |
\setrightkerning{FIsmall}{Ismall}{1000} |
| 111 |
|
| 112 |
\setglyph{FFIsmall} |
| 113 |
\glyph{FFsmall}{1000} |
| 114 |
\movert{\add{\kerning{Fsmall}{Ismall}}{\int{smallcapsspacing}}} |
| 115 |
\glyph{Ismall}{1000} |
| 116 |
\endsetglyph |
| 117 |
|
| 118 |
% \setleftkerning{FFIsmall}{Fsmall}{1000} |
| 119 |
\setrightkerning{FFIsmall}{Ismall}{1000} |
| 120 |
\Fi |
| 121 |
|
| 122 |
\ifisglyph{Lsmall}\then |
| 123 |
\setglyph{FLsmall} |
| 124 |
\glyph{Fsmall}{1000} |
| 125 |
\movert{\add{\kerning{Fsmall}{Lsmall}}{\int{smallcapsspacing}}} |
| 126 |
\glyph{Lsmall}{1000} |
| 127 |
\endsetglyph |
| 128 |
|
| 129 |
% \setleftkerning{FLsmall}{Fsmall}{1000} |
| 130 |
\setrightkerning{FLsmall}{Lsmall}{1000} |
| 131 |
|
| 132 |
\setglyph{FFLsmall} |
| 133 |
\glyph{FFsmall}{1000} |
| 134 |
\movert{\add{\kerning{Fsmall}{Lsmall}}{\int{smallcapsspacing}}} |
| 135 |
\glyph{Lsmall}{1000} |
| 136 |
\endsetglyph |
| 137 |
|
| 138 |
% \setleftkerning{FFLsmall}{Fsmall}{1000} |
| 139 |
\setrightkerning{FFLsmall}{Lsmall}{1000} |
| 140 |
\Fi |
| 141 |
\Fi % ifisglyph{Fsmall} |
| 142 |
|
| 143 |
|
| 144 |
\ifareglyphs{Ismall,Jsmall}\then |
| 145 |
\setglyph{IJsmall} |
| 146 |
\glyph{Ismall}{1000} |
| 147 |
\movert{\add{\kerning{Ismall}{Jsmall}}{\int{smallcapsspacing}}} |
| 148 |
\glyph{Jsmall}{1000} |
| 149 |
\endsetglyph |
| 150 |
% \setleftkerning{IJsmall}{Ismall}{1000} |
| 151 |
\setrightkerning{IJsmall}{Jsmall}{1000} |
| 152 |
\Fi |
| 153 |
|
| 154 |
\comment{That the above glyphs only kern on the right is deliberate. |
| 155 |
Since they are only put in a horizontal list due to a ligature, |
| 156 |
they will never occur as the right party when kerning is considered. |
| 157 |
Not having any kerns on the left simplifies reusing ligature slots |
| 158 |
as right boundary characters. \texttt{SSsmall} is however a |
| 159 |
different matter, since that is (in a sense, and probably only if |
| 160 |
some German spelling reforms are ignored) a proper letter.} |
| 161 |
|
| 162 |
\ifisglyph{Ssmall}\then |
| 163 |
\setglyph{SSsmall} |
| 164 |
\glyph{Ssmall}{1000} |
| 165 |
\movert{\add{\kerning{Ssmall}{Ssmall}}{\int{smallcapsspacing}}} |
| 166 |
\glyph{Ssmall}{1000} |
| 167 |
\endsetglyph |
| 168 |
\setleftrightkerning{SSsmall}{Ssmall}{1000} |
| 169 |
\Fi |
| 170 |
|
| 171 |
|
| 172 |
|
| 173 |
\endmetrics |
| 174 |
|
| 175 |
|
| 176 |
\section{Changes} |
| 177 |
|
| 178 |
This file was part of \texttt{latin.mtx} until 2000/10/20. Its was set |
| 179 |
up as a separate file 2003/01/02--05. (LH) |
| 180 |
|
| 181 |
\end{document} |
| 182 |
|
| 183 |
% Copyright 1993, 1994, 1995, 1996 Alan Jeffrey, |
| 184 |
% hacked and maintained 1997, 1998 Sebastian Rahtz, |
| 185 |
% copyright 1998, 1999 the fontinst maintenance team and any individual |
| 186 |
% authors listed elsewhere in this file. All rights reserved. |
| 187 |
% |
| 188 |
% This file is part of the fontinst system version 1.9. |
| 189 |
% ----------------------------------------------------- |
| 190 |
% |
| 191 |
% It may be distributed under the terms of the LaTeX Project Public |
| 192 |
% License, as described in lppl.txt in the base LaTeX distribution. |
| 193 |
% Either version 1.0 or, at your option, any later version. |
| 194 |
% |