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 should I give as the style? I have tried the following: style=WORD -> no effect style=Caps -> no effect style=uppercased -> no effect style=CAP -> no effect style=Cap -> no effect style=cap -> error style=kap -> error style=smallcaps -> small caps (when the font supports) It is interesting to get an error message for the "style=cap", because this is one of the listed options in the definition of \setuphead in the manual. What did a do wrong? - Ville
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@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
participants (2)
-
Adam Lindsay
-
Ville Voipio