On Jun 9, 1:38 pm, Alex <
broscutama...@gmail.com> wrote:
> Thanks. This did the trick:
>
> line (0,0,0)(1,1,0)
> line[draw=white, style=double=red, style=very thick](1,0,0)(0,1,0)
>
> global {language tikz}
>
> The red line was a bit thicker than the white one, so I added this to
> get them at the same thickness:
>
> line[draw=white, style=double=red, double distance=0.5pt,
> style=very thick](1,0,0)(0,1,0)
>
> So... style=ABCD is copied unmodified into TikZ (i.e. ABCD) ?
>
> Alex
>
Not exactly. The manual talks about this:
"The style option can contain both face and edge information, so
sketch must check the style value. Values known to sketch include
dashed, densely dashed, densely dotted, dotted, double, loosely
dashed, loosely dotted, nearly opaque, nearly transparent, semithick,
semitransparent, solid, thick, thin, transparent, ultra nearly
transparent, ultra thick, ultra thin, very nearly transparent, very
thick, and very thin."
These options are split appropriately into line and polygon options
and applied to the correct primitives. Anything else causes a warning
and is copied to both.
The style option used to be covered in the TikZ manual. It does not
seem to be any more. Anyway, the next maintenance release will have
double=<color> as an allowed tikz option.