Questions tagged [pst-tree]

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

Filter by
Sorted by
Tagged with
4
votes
0answers
71 views

Labels placed incorrectly in pst-jtree

When trying to draw a tree with pst-jtree, the node labels end up all stacked on top of each other. The following code (which requres xelatex) should place the labels at the terminal nodes: \...
1
vote
0answers
42 views

Multiple line node labels in Decision Tree diagram

I've been struggling with this and am hoping someone will be able to help me. I'm trying to recreate the following diagram (picture attached) using the pstree package. However it doesn't seem to let ...
4
votes
2answers
131 views

Choose between xymatrix, forest and pst-tree

I'm embarrassed about the choice of the package used to produce rooted trees like this I have the option of the forest package Example1, The xymatrix package example2, or pst-tree package Example3 ...
1
vote
1answer
45 views

shifting/aligning nodes with pst-tree

The following code produces nice trees with pst-trees. I have to gloss the leaves of the tree, so I put tabular environments in there and added the glosses. The problem is that the code does not align ...
1
vote
1answer
309 views

Trouble drawing Role and Reference grammar trees in latex using rrgtrees package

I'm currently trying to draw trees using the rrgtrees package in latex. This package is used to draw syntactical trees for Role and Reference Grammar. Here is the link to the package and the ...
-1
votes
1answer
984 views

How can i build the tree diagram? [closed]

I want as in the picture
3
votes
1answer
491 views

Drawing a "feature tree" with PSTricks or Tikz

I know that Tikz and PSTricks both offer many packages and options to draw trees, but I have no clue how I would go about drawing a feature tree as seen in Karl Wiegers guide Software Requirements (...
2
votes
2answers
557 views

Undefined control sequence problem with \pstree

I installed the latest MikTex2.9 and tested the following simple code trying to create a node in a tree diagram. \documentclass{article} \usepackage{graphics,graphicx} \usepackage{pstricks,pst-node,...
0
votes
2answers
268 views

What is the problem in the codes?

See the code given below. Actually, I am looking for a tree of number 36. Can somebody let me know what I did wrong? \documentclass[12pt, a4paper]{article} \usepackage[a4paper,top=1 in,bottom=1 in,...
1
vote
2answers
268 views

New here, using \pstree and want to put vertical dots between two edges

This is what I have so far. The vertical dots go beyond the two edges. I want them to end before they reach them. \documentclass[fleqn]{article} \usepackage{amsmath,amsthm,amssymb,amsfonts} \...
1
vote
3answers
451 views

drawing a horizonatl tree (graph) with variable break points

Part of what I work on involves sequential product multinomials, and analysis of same. In papers, or lectures, it is often useful to describe the underlying probability structure uing what we call a '...
1
vote
1answer
347 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 ...
3
votes
1answer
651 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
872 views

How to draw phylogenetic tree? [closed]

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 ...
4
votes
1answer
160 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 } } \end{...
2
votes
1answer
235 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
149 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}} \pstree{\Tcircle{...
2
votes
1answer
220 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} \psTree{...
3
votes
3answers
219 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
368 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
270 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
499 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 ...
3
votes
2answers
2k 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} \usepackage{...
4
votes
2answers
1k 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
3k 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
636 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: \pstree[levelsep=35pt]{\Tcircle{$\...
3
votes
2answers
2k 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
2k 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
3k 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
347 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 ...
1
vote
2answers
1k 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$}} { \pstree{...
2
votes
1answer
623 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 ...
8
votes
3answers
1k 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 ...