Difference between revisions of "Command/sc"

From Wiki
Jump to navigation Jump to search
m
m
Line 17: Line 17:
  
 
== Description ==  
 
== 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 <code>{</code> ... <code>}</code>). This commands preserves ordinary capital letters.
+
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 <code>{</code> ... <code>}</code>). This command preserves ordinary capital letters.
  
 
== Example ==
 
== Example ==

Revision as of 23:03, 14 May 2012

\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

Help from ConTeXt-Mailinglist/Forum

All issues with: