Open main menu
Wiki
Search
Changes
← Older edit
Command/Cap
(view source)
Revision as of 14:55, 15 October 2019
463 bytes added
,
14:55, 15 October 2019
no edit summary
{{Reference
|name=
cap
Cap
|attributes=
}}
== [[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
Punctuation counts as the first character:\crlf
\Cap{'ayday, 'ayday}.\crlf
</context>
==
Example
See also
==
<!-- Please fill in an example if you can -->
{{See also casing commands}}
==
See also
Help from ConTeXt-Mailinglist/Forum
==
<!-- something like [[cmd
All issues with
:
goto
{{Forum
|
\goto]] -->
{{SUBPAGENAME}}}}
[[Category:
Reference
Command
/
en
Fonts
|
cap
Cap
]]
Usonianhorizon
973
edits