Difference between revisions of "Command/CAP"

From Wiki
Jump to navigation Jump to search
m
 
(4 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
}}
 
}}
  
 +
== [[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">
Line 18: Line 20:
 
== Description ==  
 
== Description ==  
  
Changes letters preceded by <code>\\</code> to small capitals. May go away in the future.
+
Obsolete in MkIV. In MkII, changes letters preceded by <code>\\</code> to small capitals.
  
 
== Example ==
 
== Example ==
 
<context source=yes>
 
<context source=yes>
 +
\contextversionnumber\crlf
 
\CAP{A \\user \\sometimes \\needs a SMAL\\L cap\\ital}
 
\CAP{A \\user \\sometimes \\needs a SMAL\\L cap\\ital}
 
</context>
 
</context>
  
 
== See also ==
 
== See also ==
* {{cmd|cap}} -- turn text into small caps
+
{{See also casing commands}}
* {{cmd|Cap}} -- turn first character into small caps
 
* {{cmd|Caps}} -- turn first character of each word into small caps
 
* {{cmd|CAP}} -- change specific letters to small capitals (MkII)
 
 
 
* {{cmd|Word}} -- turn first character into uppercase
 
* {{cmd|Words}} -- turn first character of each word into uppercase
 
* {{cmd|WORD}}, {{cmd|WORDS}} -- turn text into uppercase
 
  
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==

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: