[pstricks] How can I make a double line with no color in between?

Herbert Voss Herbert.Voss at FU-Berlin.DE
Fri Sep 23 18:26:48 CEST 2016


Am 23.09.2016 um 17:37 schrieb Luis Sequeira:

> I am trying to connect two nodes using doubleline:
>
>    \ncline[doubleline]{A}{B}
>
> It connects the two nodes as expected.
> It draws the lines in black and the space between the two lines in white, which works fine in an article.
>
> I know that this can be changed, e.g.,
>
>       \ncline[doubleline,doublecolor=blue]{A}{B}
>
> draws the space between the two lines in blue. But I am doing a beamer presentation and I would like this in-between space to just be transparent.
> I tried fillstyle=none, but that does not work. I tried opacity=0 and that does not work. Is there any way to do a double line without filling?

with pstricks.tex from
http://comedy.dante.de/~herbert/texnik/tex/generic/pstricks/

\documentclass[a4paper,12pt]{article}
\usepackage{pst-node}
\begin{document}

\begin{pspicture}[showgrid](4,4)
\pnodes{A}(0,0)(0,4)(4,4)(4,0)
\ncline[doubleline,doublecolor=blue,linecolor=red,linewidth=3mm]{A0}{A2}
\ncline[doubleline,doublecolor=blue,linecolor=red,linewidth=3mm,strokeopacity=0.5]{A1}{A3}
\end{pspicture}

\end{document}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bildschirmfoto vom 2016-09-23 18-26-27.png
Type: image/png
Size: 16716 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20160923/81f9b199/attachment-0001.png>


More information about the PSTricks mailing list