Open main menu

Changes

243 bytes added ,  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 ==
<context source='yes'>
\setupbodyfont[9pt]
Uppercase or lowercase to small caps:\crlf
\Cap{Mayday, Mayday}; \Cap{mayday, mayday}.\crlf
== Example ==<context source='yes' text='yields'>Punctuation counts as the first character:\enableregime[utf]crlf\Cap{Mayday'ayday, \Cap{mayday'ayday}, Mayday, mayday.}\crlf
</context>
== See also ==
<!-- something like {{cmd|gotoSee also casing commands}} -->
== Help from ConTeXt-Mailinglist/Forum ==
{{Forum|{{SUBPAGENAME}}}}
[[Category:CommandsCommand/Fonts|capCap]]