Skip to main content

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
1 answer
123 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: \...
Justin Colley's user avatar
1 vote
0 answers
117 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 ...
Lilly Nguyen's user avatar
4 votes
2 answers
257 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 ...
Furdzik Zbignew's user avatar
1 vote
1 answer
58 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 ...
Stefan Müller's user avatar
1 vote
1 answer
460 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 ...
axme100's user avatar
  • 113
-1 votes
1 answer
2k views

How can i build the tree diagram? [closed]

I want as in the picture
John Williams's user avatar
3 votes
1 answer
675 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 (...
TexNoob's user avatar
  • 31
2 votes
2 answers
772 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,...
user102953's user avatar
0 votes
2 answers
278 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,...
SandyM's user avatar
  • 2,869
1 vote
2 answers
322 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} \...
Jee's user avatar
  • 35
1 vote
3 answers
500 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 '...
Johnny Canuck's user avatar
1 vote
1 answer
386 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 ...
Philip's user avatar
  • 65
3 votes
1 answer
868 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} \...
Maria Reyes's user avatar
1 vote
0 answers
981 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 ...
programmer's user avatar
4 votes
1 answer
166 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{...
user41855's user avatar
2 votes
1 answer
243 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} \...
wangshuai's user avatar
4 votes
1 answer
151 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{...
kiss my armpit's user avatar
2 votes
1 answer
231 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{...
kiss my armpit's user avatar
3 votes
3 answers
229 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. ...
SoftTimur's user avatar
  • 20.1k
2 votes
1 answer
379 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 ...
Benjamin Sanderse's user avatar
4 votes
1 answer
291 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 ...
letmaik's user avatar
  • 1,967
3 votes
1 answer
539 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 ...
letmaik's user avatar
  • 1,967
3 votes
2 answers
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{...
UmNyobe's user avatar
  • 155
4 votes
2 answers
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 ...
lumbric's user avatar
  • 4,279
6 votes
1 answer
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 ...
lumbric's user avatar
  • 4,279
2 votes
2 answers
690 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{$\...
lumbric's user avatar
  • 4,279
3 votes
2 answers
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 ...
Amadan's user avatar
  • 175
2 votes
1 answer
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 ...
ptrcao's user avatar
  • 6,623
3 votes
1 answer
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 ...
Veles's user avatar
  • 317
1 vote
1 answer
383 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 ...
Veles's user avatar
  • 317
1 vote
2 answers
2k 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{...
Mantas Vidutis's user avatar
2 votes
1 answer
638 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 ...
Lenik's user avatar
  • 1,085
10 votes
3 answers
2k 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 ...
erjiang's user avatar
  • 397