Difference between revisions of "Command/Cap"
< Command
Jump to navigation
Jump to search
m (Remove unneeded example) |
m (→See also: Add \sc to see also) |
||
Line 29: | Line 29: | ||
== See also == | == See also == | ||
+ | * {{cmd|sc}} -- start using small caps (preserve capitals) | ||
+ | |||
* {{cmd|cap}} -- turn text into small caps | * {{cmd|cap}} -- turn text into small caps | ||
* {{cmd|Cap}} -- turn first character into small caps | * {{cmd|Cap}} -- turn first character into small caps |
Revision as of 11:18, 14 May 2012
\Cap
Syntax
\cap{...} | |
{...} | text |
Description
Turns the first character of the text into a small capital, regardless of case. In Mkii, this works as a solution for fonts lacking small capitals.
Example
\setupbodyfont[9pt] Uppercase or lowercase to small caps:\crlf \Cap{Mayday, Mayday}; \Cap{mayday, mayday}.\crlf Punctuation counts as the first character:\crlf \Cap{'ayday, 'ayday}.\crlf
See also
- \sc -- start using small caps (preserve capitals)
- \cap -- turn text into small caps
- \Cap -- turn first character into small caps
- \Caps -- turn first character of each word into small caps
- \CAP -- change specific letters to small capitals (MkII)
- \Word -- turn first character into uppercase
- \Words -- turn first character of each word into uppercase
- \WORD, \WORDS -- turn text into uppercase
Help from ConTeXt-Mailinglist/Forum
All issues with: