| 1 |
% Copyright 1993, 1994, 1995, 1996 Alan Jeffrey, |
| 2 |
% copyright 1998, 1999, 2002 the fontinst maintenance team and |
| 3 |
% any individual authors listed elsewhere in this file. |
| 4 |
% All rights reserved. |
| 5 |
% |
| 6 |
% This file is part of the fontinst system version 1.9. |
| 7 |
% ----------------------------------------------------- |
| 8 |
% |
| 9 |
% It may be distributed under the terms of the LaTeX Project Public |
| 10 |
% License, as described in lppl.txt in the base LaTeX distribution. |
| 11 |
% Either version 1.2 or, at your option, any later version. |
| 12 |
% |
| 13 |
\relax |
| 14 |
|
| 15 |
\documentclass[twocolumn]{article} |
| 16 |
\usepackage{fontdoc}[2002/03/16] |
| 17 |
|
| 18 |
\title{The \texttt{OT1} encoding for small-caps fonts} |
| 19 |
\author{Alan Jeffrey\and Ulrik Vieth\and Lars Hellstr\"om} |
| 20 |
\date{See also the normal \texttt{OT1} encoding} |
| 21 |
|
| 22 |
\begin{document} |
| 23 |
\maketitle |
| 24 |
|
| 25 |
This file is used to install a small-caps font in which the small-caps |
| 26 |
glyphs are named as $\langle$\textit{full cap glyph name}$\rangle +{}$% |
| 27 |
\texttt{small}. It is mainly used to install faked small-caps fonts, |
| 28 |
but it is also used to install small-caps fonts where the small-caps |
| 29 |
glyphs are taken from an Expert font. |
| 30 |
|
| 31 |
\showbranches |
| 32 |
|
| 33 |
\encoding |
| 34 |
|
| 35 |
\needsfontinstversion{1.909} |
| 36 |
|
| 37 |
\begincomment |
| 38 |
\section{Default values} |
| 39 |
\endcomment |
| 40 |
|
| 41 |
\setcommand\lc#1#2{#1small} |
| 42 |
\setcommand\uc#1#2{#1} |
| 43 |
\setcommand\lclig#1#2{#1small} |
| 44 |
\setcommand\uclig#1#2{#1} |
| 45 |
\setcommand\digit#1{#1} |
| 46 |
% \setcommand\currency{dollar} |
| 47 |
|
| 48 |
% \comment{The default letter spacing is 1/10 of the design size, with |
| 49 |
% small caps 80\% the size of full caps.} |
| 50 |
|
| 51 |
% \setint{smallcapsscale}{800} |
| 52 |
|
| 53 |
% \ifisglyph{space}\then |
| 54 |
% \setint{interword}{\width{space}} |
| 55 |
% \Else\ifisglyph{i}\then |
| 56 |
% \setint{interword}{\width{i}} |
| 57 |
% \Else |
| 58 |
% \setint{interword}{333} |
| 59 |
% \Fi\Fi |
| 60 |
|
| 61 |
% \ifisint{monowidth}\then |
| 62 |
% \setint{smallcapsextraspace} |
| 63 |
% {\div{\scale{\int{interword}}{\sub{1000}{\int{smallcapsscale}}}}{2}} |
| 64 |
% \setint{smallcapsspacing}{0} |
| 65 |
% \Else |
| 66 |
% \setint{smallcapsextraspace}{0} |
| 67 |
% \setint{smallcapsspacing}{50} |
| 68 |
% \Fi |
| 69 |
|
| 70 |
\ifisint{capspacing}\then |
| 71 |
\setint{letterspacing}{\int{capspacing}} |
| 72 |
\Else\ifisint{smallcapsspacing}\then |
| 73 |
\setint{letterspacing}{\int{smallcapsspacing}} |
| 74 |
\Fi\Fi |
| 75 |
|
| 76 |
\comment{Then we call \texttt{ot1.etx}.} |
| 77 |
|
| 78 |
\inputetx{ot1} |
| 79 |
|
| 80 |
\endencoding |
| 81 |
|
| 82 |
\section{Changes} |
| 83 |
|
| 84 |
1999/10/26: Added \textsf{fontdoc} markup, made changes for |
| 85 |
\verb|\showbranches|, and code for things that was moved from encoding |
| 86 |
to metric files ages ago commented out. (LH) |
| 87 |
|
| 88 |
2002/07/31: Minor fixes. (LH) |
| 89 |
|
| 90 |
\end{document} |
| 91 |
|
| 92 |
|