stretching text in subject title
![](https://secure.gravatar.com/avatar/1c37095aadc0077d960f4f44d90acce7.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
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