[tex-eplain] sections and letterspacing

Robert w.m.l at gmx.net
Sun Aug 16 05:14:24 CEST 2009


Adam Fenn <acwfenn at ...> writes:
> 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?

Instead of soul, you might want to try the letterspace package (part of
microtype, see microtype.pdf, section 7):

\input eplain
\beginpackages
\usepackage{letterspace}
\endpackages

\def\section{%
  \vfill\supereject       		
               \begingroup
               \begingroup\center\Section}
               \def\Section#1{\uppercase{\textls{#1}}\endgroup
               \endgroup
               }

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

Regards,
-- 
 Robert





More information about the tex-eplain mailing list