[tex-eplain] sections and letterspacing

Oleg Katsitadze olegkat at gmail.com
Sun Aug 16 17:25:37 CEST 2009


On Wed, Aug 12, 2009 at 05:33:58PM +0100, Adam Fenn wrote:
> I have a section macro which  produces two centred lines but I would
> like to have these letter spaced using the \so{stuff} command from
> soul.sty.
> Is this possible?

This seems to work for me:

\input eplain
\input soul.sty

\def\section{%
  \vfill\supereject
  \begingroup
    \begingroup
      \center\Section
}

\def\Section#1{%
      \uppercase{\so{#1}}%
    \endgroup
  \endgroup
}

\section{A Very long section title that needs to be %
  letter spaced and spread across two lines}

\bye

HTH,
Oleg


More information about the tex-eplain mailing list