[pstricks] pst-tree

Poul Riis Poul.Riis at skolekom.dk
Wed Nov 20 23:18:00 CET 2013


Thank you, but I cannot get exactly the node that I want - the one at the
end of the arrow....

Poul Riis


\documentclass[10pt,a4paper,landscape]{article}
\usepackage[x11names]{xcolor}
\usepackage{pst-tree}

\topmargin=-5cm
\textwidth=27cm
\textheight=20cm
\hoffset=-7cm

\begin{document}

\begin{pspicture}(0,0)(17,18)

\pnode(7,9.5){E2}

\def\psedge#1#2{\ncangle{#2}{#1}}
\psset{armB=3.0, angleB=0, angleA=180, arrows=-, nodesepA=3pt}%

\uput{0pt}[0]{0}(E2){\pstree[treemode=R, treesep=2.0,
levelsep=4.0]{\Tp}{\Tr{declarative}\pstree[armB=4.0,treemode=R,
treesep=1.2,
levelsep=5.5]{\Tr[name=Tree1]{modality}\taput[labelsep=1.3]{\hspace{-5em}\color{Red1}INDICATIVE}\tbput[labelsep=-0.9]{\hspace{-8.5em}\color{Red1}TYPE}}{\Tr[name=Tree2]{\color{Blue1}yes/no}\taput[labelsep=-0.5]{\hspace{-2em}\color{Red1}INTERROGATIVE}\
tbput[labelsep=0.9]{\hspace{-3em}\color{Red1}TYPE}\Tr{\color{Blue1}wh-}}}}
\pscircle*[linecolor=Blue2](Tree1){5pt}
\pscircle*[linecolor=Red2](Tree2){5pt}
\psline[linecolor=Green3,arrows=->](14,6)(15.6,8.7)
\end{pspicture}

\end{document}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20131120/9f87ead7/attachment.html>


More information about the PSTricks mailing list