File: lcyctt.etx

package info (click to toggle)
tetex-src 3.0.dfsg.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 122,292 kB
  • ctags: 2,709
  • sloc: makefile: 2,323; perl: 1,820; sh: 1,378; lisp: 448; python: 335; xml: 175; sed: 138; ansic: 138; yacc: 52
file content (48 lines) | stat: -rw-r--r-- 1,051 bytes parent folder | download | duplicates (36)
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
\relax

% LCYctt.etx -- install an LCY-encoded faked typewriter small-caps font
%
% This is used exclusively to install faked small-caps fonts;
% real small caps fonts are installed using the default LCY.etx.

\encoding

\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{monowidth}\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

\inputetx{LCY}

\endencoding