Am 07.11.2010 22:22, schrieb Herbert Voss:
> The documentation says, that \cap converts the first
> letter of the word into a capital letter ...
> But it didn't
> 
> \starttext
> \Cap{foo}
> \stoptext
> 
> TeXLive and TLContrib

using the code from core-fnt.mkii it works with mkiv:

\unexpanded\def\CAPPED#1%
  {{\def\\##1{\smallcapped{##1}}#1}}
\unexpanded\def\SmallCapped#1%
  {\CAPPED{\\#1}}
\def\Cap{\mathortext\normalCap\SmallCapped}

\starttext
\Cap{foo bar baz}

\CAP{foo \\bar \\baz}
\stoptext

Herbert
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to