%%%======================================================================== %%% @TeX-font-encoding-file{ %%% author = "Alan Jeffrey", %%% version = "1.30", %%% date = "29 December 1993", %%% time = "20:12:28 BST", %%% filename = "OT1Ctt.etx", %%% address = "School of Cognitive and Computing Sciences %%% University of Sussex %%% Brighton BN1 9QH %%% UK", %%% telephone = "+44 273 606755 x 3238", %%% FAX = "+44 273 678188", %%% checksum = "???", %%% email = "alanje@cogs.sussex.ac.uk", %%% codetable = "ISO/ASCII", %%% keywords = "encoding, Cork, TeX, PostScript", %%% supported = "yes", %%% abstract = "This is the Cork encoding as a TeX font %%% encoding file, for use with the fontinst %%% font installation package.", %%% docstring = "The checksum field above contains a CRC-16 %%% checksum as the first value, followed by the %%% equivalent of the standard UNIX wc (word %%% count) utility output of lines, words, and %%% characters. This is produced by Robert %%% Solovay's checksum utility.", %%% package = "fontinst", %%% dependencies = "fontinst.sty, ltugboat.sty, OT1.etx", %%% } %%%======================================================================== \relax \encoding % We define the parameters for OT1.etx to produce a typewriter c&sc font. \setcommand\lc#1#2{#1small} \setcommand\uc#1#2{#1} \setcommand\lclig#1#2{#1small} \setcommand\uclig#1#2{#1} \setcommand\digit#1{#1} \setcommand\tty{y} \setcommand\currency{dollar} % 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{monoweight}\then \setint{smallcapsspacing} {\scale{\int{interword}}{\sub{1000}{\int{smallcapsscale}}}} \else \setint{smallcapsspacing}{100} \fi \setglyph{everyglyph} \movert{\div{\int{smallcapsspacing}}{2}} \endsetglyph \setglyph{everyendglyph} \movert{\div{\int{smallcapsspacing}}{2}} \endsetglyph % Then we call OT1.etx. \inputetx{OT1} \endencoding