Difference between revisions of "Command/sc"

From Wiki
Jump to navigation Jump to search
m
 
(4 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>sc</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
Line 17: Line 20:
  
 
== 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 ==
Line 36: Line 39:
  
 
== 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 19:39, 13 January 2020

\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
  • typo-cap.mkiv

Help from ConTeXt-Mailinglist/Forum

All issues with: