Difference between revisions of "Command/sc"

From ConTeXt wiki
 
Line 4: Line 4:
 
}}
 
}}
  
== [[Help:Reference|Syntax]] (autogenerated)] ==
+
== [[Help:Reference|Syntax]] (autogenerated) ==
 
<syntax>sc</syntax>
 
<syntax>sc</syntax>
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==

Latest revision as of 15:02, 15 October 2019

\sc

Syntax (autogenerated)

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

Help from ConTeXt-Mailinglist/Forum

All issues with: