%% This file is part of the OFNTINST project version 0.2 %% ----------------------------------------------------- %% %% 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. %% Copyright (C) 2002 -- 2003 by Alexej Kryukov %% Please report errors to: A.M. Kryukov \relax % UT1c.etx -- install a Unicode faked small-caps font % % This is used exclusively to install faked small-caps fonts; % real small caps fonts are installed using the default UT1.etx. \encoding % We define the parameters for T1.etx to produce a c&sc font. \setcommand\lc#1#2{#1small} \setcommand\uc#1#2{#1} \setcommand\lctop#1#2{#1small} \setcommand\uctop#1#2{#1} \setcommand\lclig#1#2{#1small} \setcommand\uclig#1#2{#1spaced} \setcommand\digit#1{#1} % The default letter spacing is 1/10 of the design size, with small % caps 80% the size of large caps. \setint{smallcapsscale}{800} \ifisglyph{space}\then \setint{interword}{\width{space}} \else\ifisglyph{i}\then \setint{interword}{\width{i}} \else \setint{interword}{333} \fi\fi \ifisint{monowidth}\then \setint{smallcapsextraspace} {\div{\scale{\int{interword}}{\sub{1000}{\int{smallcapsscale}}}}{2}} \setint{smallcapsspacing}{0} \else \setint{smallcapsextraspace}{50} \setint{smallcapsspacing}{50} \fi \ifisint{capspacing}\then \setint{letterspacing}{\int{capspacing}} \fi % Then we call UT1.etx. \inputetx{UT1} \endencoding