[pstricks] pst-tree and pst-circ

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sat Nov 8 17:28:50 CET 2008


Patrice Mégret schrieb:

> I have a trouble with the packages pst-tree and pst-circ:

Patrice,
try it with http://perce.de/LaTeX/pst-circ/pst-circ.tex

and put the tree in a group

\documentclass{article}
\listfiles
\usepackage{pstricks}
\usepackage{pst-tree}
\usepackage{pst-circ}

\begin{document}

\begingroup
\pstree[levelsep=1.5cm,treesep=0.5cm,nodesep=3pt]%
  {\Tr{Refractive index change}}{%
          \Tr{Internal writing}%
          \Tr{External writing}%
}%
\endgroup

\begin{pspicture}(5,5)
\dotnode(1,1){A}
\dotnode(3,1){B}
\resistor(A)(B){$R$}
\end{pspicture}


\end{document}


Herbert


More information about the PSTricks mailing list