Difference between revisions of "Command/sc"

From Wiki
Jump to navigation Jump to search
m
m (Use {{See also casing commands}})
Line 36: Line 36:
  
 
== See also ==
 
== See also ==
* {{cmd|sc}} -- start using small caps (preserve capitals)
+
{{See also casing commands}}
* {{cmd|cap}} -- turn text into small caps
 
* {{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 ==

Revision as of 09:02, 26 March 2013

\sc

Syntax

{\sc...}
... text


Description

This font switch means 'start using small caps'. The switch remains in effect until the end of the current group. (A group is a block of text, usually, delimited by { ... }). This command preserves ordinary capital letters.

Example

These commands

% The \tf is to switch back to text font
Eve and \sc* Adam and Eve \tf

% Prefix notation doesn't work
Eve and \sc*{(Adam and)} Eve \tf 

% Containing the \sc inside a {...} block
Eve and {(\sc* Adam and)} Eve

% Manually switching back
Eve and \sc* Adam and \tf+ Eve

respectively yield:

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: