Tagged Questions

{pst-tree} is about a PSTricks package addressing issues related to a high-level interface for making {trees}.

learn more… | top users | synonyms (1)

1
vote
1answer
32 views

Align horizontal tree node labels in pstree

I'm trying to create a listing, with pstricks, that has its entrys on top of the line. Unlike normal tree nodes/leaves, the entry is not at the end. The clue is now to left (or right) align all ...
2
votes
1answer
47 views

Treating psTree object as a figure

I created the following probability tree diagram using psTree then running XeLaTeX in texmaker. \documentclass[12pt]{article} \usepackage{graphics,graphicx} \usepackage{pstricks,pst-node,pst-tree} ...
1
vote
0answers
97 views

How to draw phylogenetic tree?

I'm using Mac OSX Mavericks and have downloaded LaTex. I am currently learning how to draw phylogenetic tree. Can someone teach me? I have copied a sample of code for the phylogenetic tree. it uses ...
5
votes
1answer
86 views

I cannot run pst-tree in my TeX Live 2013 environment

Why this does not work? \documentclass{minimal} \usepackage{pstricks} \usepackage{pst-node,pst-tree} \begin{document} \pstree{\Tdot} { \Tdot \pstree{\Tdot} { \Tdot \Tdot } } ...
3
votes
1answer
98 views

cannot draw graph with many nodes in latex

here is the latex code generated by a package \documentclass[11pt]{article} \usepackage{auto-pst-pdf,pstricks,pst-node,pst-tree,geometry} \usepackage{lscape} ...
4
votes
1answer
128 views

Why does adding one more subtree make a cropped output?

\documentclass[preview,border=12pt]{standalone} \usepackage{pst-tree} \psset{treemode=R,edge=\ncline} \def\ABCD{% \psTree{\Tcircle{A}} \psTree{\Tcircle{B}} ...
3
votes
1answer
88 views

How to get a tight output when using pst-tree package and standalone class?

\documentclass[preview,border=3pt,varwidth]{standalone} \usepackage{pst-tree} \psset{levelsep=2,treesep=-2,angleA=90,angleB=-90,arm=12pt} \def\psedge#1#2{\ncangle{#2}{#1}} \begin{document} ...
3
votes
2answers
112 views

Compile a pspicture under Emacs

I copied the solution from this link to a file try.tex under Emacs: \documentclass{article} \usepackage{pst-tree} \begin{document} Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. ...
2
votes
1answer
222 views

conflict with pst-tree and align: auto-pst-pdf problems?

There appears to be a problem when using the pst-tree package together with the align environment and pdflatex (dvi-ps-pdf works, but there are reasons for me not to use it). Attached is a code ...
4
votes
1answer
153 views

How to do y-split for tree nodes in pstree?

As I need to draw lines between edges, I'd like to have y-splits when there are multiple child nodes. At the moment I realized it through a hidden node and nodesep=0. Unfortunately, I don't know of ...
3
votes
1answer
262 views

Create line between two edges in pstree

Basically I want to create a (dashed) line between two tree edges. I tried cheating a bit and created such line manually between two hidden nodes. The problem is, I don't get them hidden! There's ...
2
votes
2answers
760 views

pstricks generated image doesn't fit into page.

I have a pstricks image in a document like \documentclass[12pt]{article} \usepackage{fullpage} \usepackage{pstricks} \usepackage{pst-eps} \usepackage{pstricks-add} \usepackage{pst-node} ...
3
votes
2answers
610 views

Offset for node - psbrace around nodes

I already asked in the question Describing leaves of a tree with an underbrace using pstree/pstricks how to use a underbrace. Now I'd like to use \Tfan instead of \Tf, but the trick with the angle ...
6
votes
1answer
2k views

pspicture environment overlays text in figure float

I have a strange problem witih PSTricks, pst-tree and the pspicture environment. I use a figure float and a simple tree. When I put a pspicture environment around it, the picture is placed above the ...
2
votes
2answers
386 views

Describing leaves of a tree with an underbrace using pstree/pstricks

I'd like to have a discription for some of the leaves. It doesn't need to be an underbace, if somebody has better graphical suggestions... :) Consider this example: ...
3
votes
2answers
636 views

\pstree and crossed branches [closed]

Still a TeX newbie. I'm working with PSTricks pstree, and wish a tree whose branches cross: I / \ G H / \ / \ F / E / \ / \ / / \ / / \ \ A B ...
2
votes
1answer
1k views

Error with pstree

\documentclass{article} \usepackage{graphics,graphicx} \usepackage{pstricks,pst-node,pst-tree} \begin{document} \pstree[levelsep=35pt]{\Tcircle{10}} { \Tcircle{11} \Tcircle{21} } \end{document} Why ...
3
votes
1answer
2k views

Vertical alignment of subfigures

So I have a document which in a lot of places uses one pstree (part of the pstricks package) and a simple tabular side by side...I do this with subfigures. The problem is that because the pstree image ...
1
vote
1answer
184 views

Highlighting/Bolding Tcircle elements

So I am using PSTricks PSTree package to build a tree using TCircle ... now I want to bold out some branches by making the lines of the circle and the connecting lines thicker ... can I do this ...
0
votes
2answers
893 views

PSTree creates confusing Undefined control sequence

This bit of code generates an undefined control sequence on the last curly brace. What am I doing wrong? \psset{levelsep=1cm,treesep=.75cm,nodesep=4pt} \begin{center} \pstree{\Tr{$z$}} { ...
2
votes
1answer
457 views

Alignment in pst-tree

In this example, using pst-tree package: \def\psedge{\ncangles[armA=.5, angleB=180, linearc=.2]} \pstree[treemode=R, levelsep=3cm] {\Toval{ root }} { \Toval{ Tom } \Toval{ Cat } \Toval{ Very ...
6
votes
3answers
803 views

pstree: How can I force a tree node to one side?

I'm drawing some binary search trees using pstricks and pstree, but I don't see anything in the docs to push a node to one side. In a binary search tree, every child must be either right or left, but ...