Difference between revisions of "Command/WORDS"

From Wiki
Jump to navigation Jump to search
 
Line 21: Line 21:
 
<cd:wikipage originator="system" page="Category:Fonts"></cd:wikipage>
 
<cd:wikipage originator="system" page="Category:Fonts"></cd:wikipage>
 
<cd:commandref name="setcharactercasing">Pass casing command (Word, WORD, etc) as a keyword</cd:commandref>
 
<cd:commandref name="setcharactercasing">Pass casing command (Word, WORD, etc) as a keyword</cd:commandref>
<cd:commandref name="Word"></cd:commandref>
+
<cd:commandref name="Word">turn first character into uppercase</cd:commandref>
<cd:commandref name="Words"></cd:commandref>
+
<cd:commandref name="Words">turn first character of each word into uppercase</cd:commandref>
<cd:commandref name="Cap"></cd:commandref>
+
<cd:commandref name="Cap">turn first character into small caps</cd:commandref>
<cd:commandref name="Caps"></cd:commandref>
+
<cd:commandref name="Caps">turn first character of each word into small caps</cd:commandref>
<cd:commandref name="sc"></cd:commandref></cd:seealso>
+
<cd:commandref name="sc">use caps and small caps (preserve casing)</cd:commandref>
 +
<cd:commandref name="cap">turn text into small caps</cd:commandref></cd:seealso>
 
</cd:commandgroup>
 
</cd:commandgroup>

Latest revision as of 11:57, 5 September 2020


\WORDS

Summary

The command \WORDS changes a text to all uppercase.

Settings

\WORDS{...}
{...}text

Description

Changes the entire text to uppercase. The command \WORD is a synonym to this command.

Examples

Example 1

\WORDS{On the 'gin of species, by Charles Darwin}

yields

Notes

See also

  • typo-cap.mkiv
  • \setcharactercasing Pass casing command (Word, WORD, etc) as a keyword
  • \Word turn first character into uppercase
  • \Words turn first character of each word into uppercase
  • \Cap turn first character into small caps
  • \Caps turn first character of each word into small caps
  • \sc use caps and small caps (preserve casing)
  • \cap turn text into small caps

Help from ConTeXt-Mailinglist/Forum

All issues with: