Difference between revisions of "Command/sc"

From ConTeXt wiki
m
 
(2 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
}}
 
}}
  
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>sc</syntax>
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
<table cellspacing="4" cellpadding="2" class="cmd">
Line 36: Line 38:
  
 
== 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 ==

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: