{trees} is for questions about drawing or constructing tree {diagrams} (for example, family trees).
4
votes
1answer
318 views
Package for energy budget trees
Is there a package that can typeset trees used for energy budgets?
The image is an extract from Dynamic Energy and Mass Budgets in Biological Systems by B.Kooijman which is easily identifiable as ...
2
votes
0answers
625 views
Visualizing broad Tikz tree graph
Modules of software I created produce Tikz QTree diagrams for visualisation. The problem is that some trees grow quite broad...
Even when I try to massively shrink them by Tikz settings, I cannot ...
20
votes
1answer
2k views
How can I improve this family tree in TikZ?
To answer a question about how to draw family tree on LaTeX-Community.org, I created an example:
\documentclass{minimal}
\usepackage{tikz}
\usetikzlibrary{trees}
\begin{document}
...
2
votes
2answers
259 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:
...
7
votes
1answer
1k views
LaTeX probability tree
Please could you tell me if the Probability tree posted on 2006-12-14 by Kjell Magne Fauske can be done with three branches instead of just two.
122
votes
9answers
12k views
How can we draw a Christmas tree with decorations, using TikZ?
I would like to use TikZ for drawing a christmas tree. Here's a start, I used the lindenmayersystems library for drawing a tree:
\documentclass{article}
\usepackage{tikz}
...
18
votes
2answers
1k views
How to change the level distance in tikz-qtree for one level only?
I am trying to draw a tree for a game theory problem. The problem is that the label p1=0.5 crosses label I.
I would like to adjust the level distance of the first level, but the \tikzset{level ...
1
vote
2answers
392 views
Tree in a graph's node
I am trying to figure out how I can draw a tree in a graph's node with tikz. Meaning, the node is not supposed to have a value or name but a tree inside of the circle around it.
I tried the following ...
4
votes
2answers
350 views
How to balance binary branches and repair shorthand triangles in LFG style c-trees using tikz-qtree
I have modified the example from the tikz-qtree documentation to form this LFG style c-tree, but am having difficulty balancing the binary branches in general, and the IP branches and roof/triangle DP ...
4
votes
1answer
736 views
Arrows in tikz-qtree with symbols in node names
I have a syntax tree with angle brackets to represent movement:
\begin{tikzpicture}
\Tree [
.TP [
.T' \node{T+verb}; [
.vP \qroof{`ana}.DP [
.v' ...
7
votes
1answer
789 views
Tikz - Marking nodes in a binary tree?
I need help marking nodes in a binary tree. I've tried drawing this using the fitting library in tikz, but the fit would cover other undesired nodes as well. Please help.
The code I tried is here
...
4
votes
1answer
327 views
adding a node to a qroof in tikz-qtree
I need a node in the head element of a qroof in tikz-qtree (using tikz-qtree-compat). I need the 'np' to be a node so I can draw an arrow to it. However, the following breaks:
...
1
vote
0answers
147 views
lingtrees on Miktex [closed]
I'm using MikTex 2.9 on Windows 7. I also have python 2.7 installed and added to my path. I'm trying to install and use lingtrees to draw syntax trees. Unfortunately it doesn't have a MikTex ...
9
votes
1answer
170 views
tikzpicture has a node whose text is a tree: unevenly formatting
I want to typeset a picture similar to the following one, using tikz.
For that purpose I have written the following latex document
\documentclass{minimal}
\usepackage{tikz}
\usetikzlibrary{chains}
...
2
votes
1answer
280 views
How does one use \node[inner node]{}?
I'm trying to reproduce a TikZ tree from a Till Tantau presentation
(see pg.33 of this .pdf)
My code is as follows:
\documentclass{article}
\usepackage[latin1]{inputenc}
...
15
votes
2answers
2k views
Drawing a directory listing a la the tree command in TikZ
Good day everyone -
Is there a fast and efficient way to draw directory tree structures (aka depth-indented listings) like the unix's tree command, that is, is there a way to draw the following using ...
3
votes
3answers
503 views
On syllabic trees
I have to typeset some syllabic trees. They look like this:
I’m currently using the qtree package to typeset them, but I can’t figure out how to put all the last letters on the same level — like ...
8
votes
3answers
2k views
beamer & TikZ: gradually unveil trees
Imagine a simple tree:
\begin{tikzpicture}
\node {Selbstregulation}
[edge from parent fork down]
child {node {Kognition}}
child {node {Metakognition}
child {node {Planung}}
...
9
votes
1answer
729 views
How to draw a tree diagram where its rectangular nodes have a floating numbering label each?
This is a graph someone send me in Word:
Ignoring the Hebrew text, how can I produce such a graph in LaTeX (I actually use LyX, but I suppose it won't help me so much)?
If there's an elegant and ...
9
votes
3answers
3k views
How to control spacing in a TikZ tree?
I want to draw a tree and I don't know how to enforce the spacing between them. Some are overlapping.
This is my code:
\begin{tikzpicture}
\tikzstyle{every node}=[circle,draw]
\node {A}
child { node ...
8
votes
2answers
3k views
How to draw up a hierarchical tree diagram for taxonomic classification
Please show me the most simple, elegant code for this:
How to do it in other words.
10
votes
3answers
1k views
How to draw syntactical trees with parallel leafs for a natural language?
I need to draw syntactical trees for a natural language. The problem is that I need all the leafs to be parallel. How the other nodes are sorted in relation to the other at the same depth is not ...
4
votes
1answer
2k views
Probability Tree-diagram with TikZ
Thanks for helping me out.
How can I make the following tree-diagrams?
http://www.vias.org/tmdatanaleng/cc_prob_cond_independ.html
10
votes
2answers
3k views
How do I draw a B+ tree in latex?
Is there some way to draw a B+ tree in latex? It would look something like the picture below (ignoring the animations)
Animation linked here: http://i.stack.imgur.com/JRcmY.gif
Screenshot of the ...
3
votes
3answers
1k views
Why is this tree overlapping and missing edges?
\node [circle, draw] at (6, 0) {63}
child{node [circle, draw] (left node) {26}
child{node [rectangle,draw] (left node) {A:12}}
child{node [circle, draw] (right node) {14}
...
2
votes
1answer
346 views
TeXMaker crashes with this TikZ tree [closed]
\node [rectangle,draw] at (0,-13) {I:18};
\node [circle, draw] at (2,-13) {19}
child{node[rectangle,draw] (left node) {S:9}}
child{node[rectangle,draw] (right node) {M:10}};
\node [circle, ...
2
votes
1answer
1k views
Bad math delimiter in tikz tree
I'm trying to diagram an extensive form game using TikZ trees. The following code generates errors at compile time. Specifically, it complains about missing $'s and a bad math delimiter. I've been ...
3
votes
2answers
1k views
How to make a tree more compact?
I'm using the qtree package, and I've made a tree that stretches far too much, and as a result, won't fit on the page. Here is my code:
\Tree [.1/1 [.1/2 [.1/3 [.1/4 [.1/5 1/6 2/9 ] [.2/7 3/11 ...
1
vote
1answer
400 views
Tree in a treenode
Is there a way to insert a Tree (with depth 1) in a Tree-node? Which package to use and how to accomplish that?
6
votes
3answers
753 views
tree list in a table
I would like to put a tree list into a table environment. Smth. like:
+--------------------------+---------------------------+-------------+
| Heading 1 | Heading 2 | ...
7
votes
1answer
2k views
Triangle node with adjustable height
I'm trying to draw AVL trees with TikZ, what I need is:
Binary tree with simple circle nodes, and adjustable height triangle (or rectangle)
nodes for subtrees, both containing only single ...
7
votes
1answer
1k views
Tikz Mindmap - how to get more nodes
% Author: Till Tantau
% Source: The PGF/TikZ manual
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{mindmap,trees}
\usepackage{verbatim}
\begin{document}
\pagestyle{empty}
\begin{comment}
...
13
votes
4answers
2k views
How to automatically draw a graph in LaTeX
clarification: when I say "graph", I mean the computer science term.
I want to draw a full binary tree of h height. It means that there's one root with two sons, each son has two sons and so forth.
...
26
votes
1answer
8k views
How can I draw simple trees in LaTeX?
I need to draw a tree, and constantly using dotty and including the PNGs is starting to be a pain. Is there a way to get LaTeX to draw it's own trees that doesn't involve learning an entirely new ...
17
votes
3answers
1k views
TikZ: “skipping” levels when drawing trees
I'm interested in using TikZ to draw rooted trees whose leaves should all be on the same level, pretty much like this:
Please don't pay attention to the fancy style and colours, I'm only interested ...
14
votes
1answer
3k views
Making a (simple) directory tree
I'm trying to make a simple directory tree representation in LaTeX. Something like:
spam
|
+-- ham
+-- eggs
|
+-- more spam
+-- dead parrots
The tree won't be that long (say, ...
6
votes
3answers
653 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 ...
4
votes
1answer
718 views
Lining up edges of a tree with TikZ
I'm drawing trees with TikZ and
\begin{tikzpicture}
\node {$C$}
child[missing]
child{node {$i$}
child[missing]
child{node {$j$}}
};
\end{tikzpicture}
produces edges that don't ...
11
votes
3answers
4k views
How to make a 3 level deep tree with tikz
I am busy making a full binary tree of three levels deep.
The code I am having now is (using the trees library):
\begin{tikzpicture}
\node {root}
child {node {left}
child {node {lleft}}
...
11
votes
2answers
1k views
How two connect any arbitrary nodes of tree in tikz
I need to be able to connect any arbitrary nodes in a tree to each other. I am using the tree package in tikz to create my tree. I cannot figure out though how to connect to nodes by let say a draw ...
18
votes
3answers
2k views
Rounded corners in TikZ trees.
When I use TikZ tree with nodes with rounded corners, the connecting lines do not touch the nodes (near corners) but end where would rectangle end. Is there an easy way around it?
...