Difference between revisions of "Command/Cap"
< Command
Jump to navigation
Jump to search
(Improve example) |
(More elaborate example) |
||
Line 21: | Line 21: | ||
== Example == | == Example == | ||
− | <context source='yes | + | Uppercase to small caps |
− | + | <context source='yes'> | |
− | \Cap{Mayday, | + | \Cap{Mayday, Mayday}, Mayday |
</context> | </context> | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Lowercase to small caps | ||
+ | <context source='yes'> | ||
+ | \Cap{mayday, mayday}, mayday | ||
+ | </context> | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Punctuation to small caps | ||
+ | <context source='yes'> | ||
+ | \Cap{'ayday, mayday}, 'ayday | ||
+ | </context> | ||
+ | |||
== See also == | == See also == |
Revision as of 17:04, 28 March 2012
\Cap
Syntax
\cap{...} | |
{...} | text |
Description
Turns the first character of the text into a small capital, regardless of case.
Example
Uppercase to small caps
\Cap{Mayday, Mayday}, Mayday
Lowercase to small caps
\Cap{mayday, mayday}, mayday
Punctuation to small caps
\Cap{'ayday, mayday}, 'ayday
See also
Help from ConTeXt-Mailinglist/Forum
All issues with: