![](https://secure.gravatar.com/avatar/1930c667fbd3884fd581e95eb4d5b15c.jpg?s=120&d=mm&r=g)
Hi Hans,
\WORD and \WORDS always have been synonyms
Noted in the wiki.
(if needed we can have \FIRSTWORD
If needed. I expect quite some people will do it for themselves in Lua before someone comes asking for a command for it.
I would expect \Cap to change a string to small capitals with the first letter of the string uppercase.
The cap you want is something \Word{\smallcaps ...}. The old mkii cap code is mostly a solution for fonts lacking small capitals.
This works for me at home (MkIV), but not on the wiki (MkII). I'm running 2012.02.08 MkIV at home, while the wiki runs 2011.10.08 MkII.
(3) \CAP{some \\{text}} does nothing; the double backslash only produces a newline. According to the manual, \CAP changes letters that are preceded by \\ into capital letters.
(Actually, turns out this works under MkII, but not MkIV.)
Hm. Do we need that kind of stuff? If not (no longer) than we need to fix the (fonts) manual.
I can't imagine anyone being in a position that they *can* insert
backslashes, but *can't* just capitalize the letters. I see no
objection to marking this command obsolete, myself. I'm not in a
position to edit the fonts manual, though.
Cheers, and thanks for your reply,
Sietse
On Wed, Mar 28, 2012 at 18:38, Hans Hagen
On 28-3-2012 00:15, Sietse Brouwer wrote:
Hi all,
(1) In MkIV, \WORD{some text} and \WORDS{some text} both turn the entire text to uppercase ("SOME TEXT"). By analogy with \Word and \Words, I would expect \WORD to only uppercase the first word ("SOME text"),
\WORD and \WORDS always have been synonyms (if needed we can have \FIRSTWORD
(2) \Cap produces the amsmath \Cap even in text mode. That's the double intersection symbol. Link to picture: http://www.marathon-studios.com/unicode/U22D2/Double_Intersection According to the manual, "\Cap changes the first character of a word into a capital". \Caps already changes a string to small capitals, with the first letter of every word uppercase; so, I would expect \Cap to change a string to small capitals with the first letter of the string uppercase. (I think the manual might be saying this; it's not quite clear.)
The cap you want is something \Word{\smallcaps ...}. The old mkii cap code is mostly a solution for fonts lacking small capitals.
(3) \CAP{some \\{text}} does nothing; the double backslash only produces a newline. According to the manual, \CAP changes letters that are preceded by \\ into capital letters. The documentation comments in typo-cap.mkiv also mention the \CAP{ ... .... \\{...} ...} syntax, but the comments don't say what it should do.
Hm. Do we need that kind of stuff? If not (no longer) than we need to fix the (fonts) manual.
They're not terribly important commands, to be sure, but they might also be easy fixes. I don't need them for myself; I simply picked a random command + its relatives to improve on the Wiki.
Best fix the wiki. Especially with regards to fonts some of the more obscure things have become obsolete due to the fact that opentype fonts are more complete. For instance the concept of small caps and old style font as a separate entity has gone.
Thanks for noticing,
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------