9

Is it possible globally to change the interletter spacing in plain TeX?

Toothrot
  • 3,346

2 Answers2

7

It's quite easy with pdftex; adjust the 100 to suit: the value adds 10% to each character width (but the excess space is trimmed out at line breaks, of course).

\input plipsum % mock text

% the font we want to space out
\font\tensc=cmcsc10
\letterspacefont\spacedtensc\tensc 100

\lipsum{2}

{\spacedtensc\lipsum{3}}

{\tensc\lipsum{3}}

\bye

enter image description here

egreg
  • 1,121,712
5

There are some possibilities:

  • You can manipulate the font sources (when they are written in METAFONT, there is a parameter letter_fit usually set to 0pt# in the source files like cmr10.mf).
  • You can write some advanced macros to parse the stream of letters entering TeX's mouth and add letterspacing, see, e.g., this article: Phil Taylor Letterspacing in TEX, TUGboat 14(2), p. 141–145, https://www.tug.org/TUGboat/tb14-2/tb39taylor-letterspacing.pdf