Difference between revisions of "Command/Word"

From ConTeXt wiki
Jump to navigationJump to search
(Create reference page)
 
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<!-- please remove this and the following line if you have checked this page -->
 
{{Reference_Cleanup}}
 
 
{{Reference
 
{{Reference
|name=WORD
+
|name=Word
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>Word</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
   <tr>
 
   <tr>
     <td colspan="2" class="cmd">\WORD<span class="first" >{...}</span></td>
+
     <td colspan="2" class="cmd">\Word<span class="first" >{...}</span></td>
 
   </tr>
 
   </tr>
 
   <tr valign="top" class="first">
 
   <tr valign="top" class="first">
Line 18: Line 19:
  
 
== Description ==  
 
== Description ==  
 
+
Capitalizes the first character of the text.
 
 
  
 
== Example ==
 
== Example ==
<!-- Please fill in an example if you can -->
+
<context source=yes text=yields>
 +
\Word{on the origin of species}\crlf
 +
\Word{'on the origin of species}
 +
</context>
  
 
== See also ==
 
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
+
{{See also casing commands}}
 +
 
 +
== Help from ConTeXt-Mailinglist/Forum ==
 +
All issues with:
 +
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Reference/en|word]]
+
[[Category:Command/Fonts|word]]

Latest revision as of 19:40, 13 January 2020

\Word

Syntax (autogenerated)

\Word{...}
{...}text


Syntax

\Word{...}
{...}


Description

Capitalizes the first character of the text.

Example

\Word{on the origin of species}\crlf
\Word{'on the origin of species}

yields

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: