Difference between revisions of "Command/Words"
< Command
Jump to navigation
Jump to search
(Created page with "Documentation for \Words") |
|||
(One intermediate revision by the same user not shown) | |||
Line 23: | Line 23: | ||
<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">turn first character into uppercase</cd:commandref> | <cd:commandref name="Word">turn first character into uppercase</cd:commandref> | ||
− | <cd:commandref name="WORDS">turn text into uppercase</cd:commandref></cd:seealso> | + | <cd:commandref name="WORDS">turn text into uppercase</cd:commandref> |
+ | <cd:commandref name="Caps">turn first character of each word into small caps</cd:commandref> | ||
+ | <cd:commandref name="Cap">turn first character into small caps</cd:commandref> | ||
+ | <cd:commandref name="cap"> turn text into small caps</cd:commandref> | ||
+ | <cd:commandref name="sc">start using small caps (preserve capitals)</cd:commandref></cd:seealso> | ||
</cd:commandgroup> | </cd:commandgroup> |
Latest revision as of 12:07, 5 September 2020
Contents
\Words
Summary
The command \Words capitalizes the first character of each word in the text.
Settings
Description
Capitalizes the first character of each word in the text.
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 text into uppercase
- \Caps turn first character of each word into small caps
- \Cap turn first character into small caps
- \cap turn text into small caps
- \sc start using small caps (preserve capitals)