Difference between revisions of "Command/CAP"

From Wiki
Jump to navigation Jump to search
m
(Add note: Obsolete in MkIV.)
Line 18: Line 18:
 
== 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>

Revision as of 21:15, 29 March 2012

\CAP

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

  • \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

Help from ConTeXt-Mailinglist/Forum

All issues with: