Changes

Jump to navigation Jump to search
371 bytes removed ,  14:55, 15 October 2019
no edit summary
}}
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>Cap</syntax>
== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
</tr>
</table>
 
== 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 ==
Uppercase to small caps
<context source='yes'>
\setupbodyfont[9pt]Uppercase or lowercase to small caps:\crlf\Cap{Mayday, Mayday}; \Cap{mayday, Mayday</context> ----mayday}.\crlf
Lowercase to small caps<context source='yes'>Punctuation counts as the first character:\crlf\Cap{mayday'ayday, mayday'ayday}, mayday.\crlf
</context>
 
----
 
Punctuation to small caps
<context source='yes'>
\Cap{'ayday, mayday}, 'ayday
</context>
 
== See also ==
* {{cmd|capSee also casing commands}} -- turn text into small caps* {{cmd|Cap}} -- turn first character into small caps* {{cmd|Caps}} -- turn first character of each word into small caps* {{cmd|CAP}} -- doesn't work * {{cmd|Word}} -- turn first character into uppercase* {{cmd|Words}} -- turn first character of each word into uppercase* {{cmd|WORD}} -- turn first word into uppercase* {{cmd|WORDS}} -- turn text into uppercase
== Help from ConTeXt-Mailinglist/Forum ==

Navigation menu