stretching text in subject title
Hello, I would like to replace the default subject title with one that is centered and a bit stretched. Besides the examples in core-fnt.tex, I found found the following example on the mailing list. \def\CapStretchAmount{0.3em} \def\CapStretch#1{\def\stretchedspaceamount{\CapStretchAmount}\stretchednormalcase{#1}} \def\mysubject#1#2{\midaligned{\CapStretch{\sc #2}}} \setuphead [subject][command={\mysubject}] The \CapStretch macro works as advertised, but assigning it to the command argument in \setuphead invokes the following error: The control sequence marked <to be read again> should not appear between \csname and \endcsname. I would be grateful if someone can suggest how to stretch text in a title With kind regards, Michael Guravage
M.guravage wrote:
\setuphead [subject][command={\mysubject}]
The \CapStretch macro works as advertised, but assigning it to the command argument in \setuphead invokes the following error:
You need to remove the braces, like so: \setuphead [subject][command=\mysubject] Cheers, Taco
participants (2)
-
M.guravage
-
Taco Hoekwater