[texhax] tikz-options as macro
Arno.Trautmann at gmx.de
Sun Jul 25 17:38:27 CEST 2010
I have some problems using tikz: I try to pass some options in a macro,
in the following way:
\draw[\reddot] (1,1) to (1,2);
but this gives me:
! Package pgfkeys Error: I do not know the key '/tikz/red,dotted' and I
g to ignore it. Perhaps you misspelled it.
See the pgfkeys package documentation for explanation.
Type H <return> for immediate help.
(1,1) to (1,2);
So pgf thinks I am passing “red,dotted” as one option. Is there any
trick to avoid this behaviour? I would like to use this way of passing
several options in a package – an alternative would be to pass
\red,\dot, but that is not very nice …
Thanks for any help,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 262 bytes
Desc: OpenPGP digital signature
More information about the texhax