[NTG-context] Capitalized headings
Adam Lindsay
atl at comp.lancs.ac.uk
Tue May 3 00:53:12 CEST 2005
Ville Voipio said this at Mon, 2 May 2005 20:49:45 +0300:
>I've been trying to make capitalized (uppercase)
>headings with little success. I'd like to have
>the titles simply capitalized as with \cap or
>\WORD.
>
>A minimal example:
>
>---
>
>\setuphead[title][style=WORD]
>
>\starttext
>\title{This is a title}
>
>The title should be \cap{capitalized} or \WORD{capitalized}.
>
>\stoptext
>
>---
>
>What did a do wrong?
I'm not sure you did do anything wrong: WORD is indeed a legal defined
alternativestyle, but it's not working.
However, this is a workaround, another way of attacking it (it can be
better, too, stylistically, as you can change the font independently):
\setuphead [title] [textcommand=\uppercase]
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Adam T. Lindsay, Computing Dept. atl at comp.lancs.ac.uk
Lancaster University, InfoLab21 +44(0)1524/510.514
Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
More information about the ntg-context
mailing list