* \Cap
@ 2010-11-07 21:22 Herbert Voss
2010-11-07 22:48 ` \Cap Herbert Voss
0 siblings, 1 reply; 2+ messages in thread
From: Herbert Voss @ 2010-11-07 21:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
Herbert
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: \Cap
2010-11-07 21:22 \Cap Herbert Voss
@ 2010-11-07 22:48 ` Herbert Voss
0 siblings, 0 replies; 2+ messages in thread
From: Herbert Voss @ 2010-11-07 22:48 UTC (permalink / raw)
To: mailing list for ConTeXt users
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 : ntg-context@ntg.nl / 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-07 22:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-07 21:22 \Cap Herbert Voss
2010-11-07 22:48 ` \Cap Herbert Voss
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).