Difference between revisions of "Command/CAP"

From Wiki
Jump to navigation Jump to search
m (cleanup)
 
(20 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Reference
 
{{Reference
|name=cap
+
|name=CAP
 
|attributes=
 
|attributes=
 
}}
 
}}
  
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>CAP</syntax>
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
   <tr>
 
   <tr>
     <td colspan="2" class="cmd">\cap<span class="first" >{...}</span></td>
+
     <td colspan="2" class="cmd">\CAP<span class="first" >{...}</span></td>
 
   </tr>
 
   </tr>
 
   <tr valign="top" class="first">
 
   <tr valign="top" class="first">
Line 18: Line 20:
 
== Description ==  
 
== Description ==  
  
 
+
Obsolete in MkIV. In MkII, changes letters preceded by <code>\\</code> to small capitals.
  
 
== Example ==
 
== Example ==
<!-- Please fill in an example if you can -->
+
<context source=yes>
 +
\contextversionnumber\crlf
 +
\CAP{A \\user \\sometimes \\needs a SMAL\\L cap\\ital}
 +
</context>
  
 
== See also ==
 
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
+
{{See also casing commands}}
 +
 
 +
== Help from ConTeXt-Mailinglist/Forum ==
 +
All issues with:
 +
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Reference/en|cap]]
+
[[Category:Command/Fonts|CAP]]

Latest revision as of 14:55, 15 October 2019

\CAP

Syntax (autogenerated)

Syntax

\CAP{...}
{...} text


Description

Obsolete in MkIV. In MkII, changes letters preceded by \\ to small capitals.

Example

\contextversionnumber\crlf
\CAP{A \\user \\sometimes \\needs a SMAL\\L cap\\ital}

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
  • \setcharactercasing — Pass casing command (Word, WORD, etc) as a keyword
  • typo-cap.mkiv

Help from ConTeXt-Mailinglist/Forum

All issues with: