On 3-12-2010 3:19, Yury G. Kudryashov wrote:
Hi!

Color is not the only place where TikZ treats "!" in a special way. For
example, in TikZ/LaTeX you can say:

\coordinate (A) at (0, 0);
\coordinate (B) at (1, 0);
\coordinate (C) at ($ (A)!.3!(B) $); % z.C = .3[z.A, z.B] in MetaPost
\coordinate (D) at (2, 1);
\coordinate (E) at ($ (A)!(B)!(D) $); % projection of (B) to (A)--(D).

This code fails in ConTeXt because "!" is made a "normal" character.

if tokens have a special meaning, then it's up to tikz to deal with it

-----------------------------------------------------------------
                                          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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to