{trees} is for questions about drawing or constructing tree {diagrams} (for example, family trees).

learn more… | top users | synonyms

2
votes
2answers
558 views

[Tikz-]Qtree: force direction of single child to left or right?

I'm trying to draw a tree that has internal nodes with only one child, but which must be oriented. / \ /\ \ /\ Instead of the typical qtree where said children just "hang": ...
2
votes
0answers
296 views

Simple dendrogram [closed]

I am just trying to create a simple dendrogram in beamer to develop an intuition for heirarchical clustering and I have tried several sites and several tree diagrams but cannot get anything to do what ...
4
votes
1answer
241 views

Nodes within leaf text in tikz-qtree?

I'm trying to draw a box around only part of the text in a tikz-qtree tree, but the closest I can do is this: \documentclass{article} \usepackage{tikz} \usepackage{tikz-qtree} \begin{document} ...
4
votes
2answers
343 views

Restoring qtree spacing in tikz-qtree

Is it somehow possible to achieve the same node spacing in tikz-qtree as in the original qtree package? Compare the two: qtree: tikz-qtree: The spacing between nodes in one level should be the ...
14
votes
1answer
348 views

Is it possible to emulate qtree with forest?

This question was actually asked by Alan Munn in a comment to How do I create a LCM tree diagram?. I repeat (and self-answer) it here because the answer is too long to fit the margin :-) qtree is a ...
12
votes
1answer
404 views

draw a many edge from a node- Tree - tikz

i want to draw the tree in the following picture : i have write : \documentclass{article} \usepackage{tikz} \usepackage{color} \definecolor{red}{rgb}{1,0,0} \begin{document} ...
7
votes
2answers
159 views

Seeking improvement on a poor solution---for descendant charts

I've a solution to a problem that screams out for improvement. I'm working on a second edition of a family history (mine) that has a great number of descendant charts. I've cobbled together a way of ...
5
votes
1answer
398 views

How to fix the overlapped nodes with long text, in TikZ. Concept maps

I'd like to get helping from you. I want to have paragraphs in the nodes of the concept map with Tikz, I mean, texts with multiple lines. I have a problem with texts, the nodes are overlapped. Here's ...
0
votes
0answers
238 views

Example template for a hierarchy diagram [duplicate]

I wanted to draw a tree diagram so that i can put citations beside the node texts. Is there an example in code?
6
votes
3answers
907 views

drawing a syntax tree in tikz

I would like to draw a syntax tree, which resembles the below syntax tree. I know that I can use tikz to draw syntax trees, but I can't seem to figure out how to draw a straight line down to a node, ...
2
votes
0answers
209 views

How to convert Newick tree format to TikZ? [closed]

I need to draw a number of large phylogenetic tree diagrams in a document and it appears that tikz-qtree may be the best package for this task. A manual approach does not seem the best solution to ...
10
votes
1answer
565 views

Tikz tree and position of single leaf in binary tree

I am constructing a binary tree which looks as follows: \begin{tikzpicture} \node {root} child { node {left} } child { node {right} child { node {rightmost} } ...
10
votes
1answer
142 views

Indefinite Subtrees

While doing tree proofs, sometimes we need to consider a root with some subtrees, but we don't know the exact properties of the subtrees, so we just represent them using triangles. Is it possible to ...
1
vote
0answers
141 views

Using tree-dvips with pdflatex? [closed]

It seems like using tree-dvips with pdflatex is not very easy. It has been documented in various places in the web. I wouldn't mind using latex and then convert to PDF, but I am actually interested ...
0
votes
0answers
64 views

Strange line width problem with tikz-qtree [duplicate]

Possible Duplicate: TikZ borders showing through when they shouldn’t (overlapping circles) I have a strange problem with using tikz-qtree where the thickness of the lines are a bit odd. ...
4
votes
2answers
664 views

complex nodes with tikz-qtree

I am trying to convert my tree-dvips trees into something that is compatible with xelatex. I had a look at the tikz-qtree package, but it seems to be impossible to set complex nodes. In the old qtree ...
3
votes
2answers
330 views

Using tree-dvips with XeLaTeX

I try to switch to XeLaTeX, but the package tree-dvips causes problems. It seems to require PostScript and pdftricks which causes a lot of other problems (puts a \begin{center} environment around ...
3
votes
1answer
425 views

A simple tree for a website structure?

I would create a simple picture of a small websitestructure and i found these nice example http://www.texample.net/tikz/examples/family-tree/. But I would change some things and I don't know if it is ...
5
votes
1answer
1k views

I'm getting the error: ! Paragraph ended before \@@label was complete

I've scoured this forum and it looks to me like I'm setting up the tree correctly, but I'm still getting this error, I have \usepackage{tikz} \usepackage{tikz-qtree} in the header. Here is the ...
3
votes
2answers
685 views

place several figure into one -tikz

I draw several trees and now I want to place them in a figure ( side by side or one below the other ) \documentclass{report} \usepackage{tikz} \usetikzlibrary{fit,shapes} \begin{document} ...
5
votes
1answer
556 views

Incomplete arrows and missing arrow heads in TikZ

I have the following plot which looks good, but there are two issues: Not all arrows have arrow-heads. I have no idea why this is. Some edges are not long enough. For example, the left edge of the ...
6
votes
1answer
397 views

How do I draw curve crossing one edge of a tree (using tikz-qtree)?

I am using tikz-qtree, and I'd like to draw a curve separating a set of nodes from the rest of the tree. For example, \documentclass{article} \usepackage{tikz} \usepackage{tikz-qtree} ...
1
vote
1answer
366 views

Draw a tree with variable node number

I would like to draw a tree in tex that is more like a sketch of a tree: It should contain variable node numbers. Important is, that the dots are contained in the tree drawn. Is that possible with ...
8
votes
3answers
294 views

Problem using macros to define tree substructures

Relatively simple problem: I want to use macros to define substructures of a tree. In the following example for illustration, I want to define some children (left and right) to be used several times ...
2
votes
0answers
115 views

Draw Tree using tikz [duplicate]

Possible Duplicate: Drawing a tree where many nodes have the same child in TikZ I'm trying the draw a tree using the TikZ package, \begin{center} \begin{tikzpicture} ...
5
votes
1answer
416 views

Tree using Latex

I want to to reduce the size of the node to which they perceived better in my presentation; the problem is that the nodes are overlap. I have the code from Drawing a tree where many nodes have the ...
9
votes
1answer
647 views

draw an ellipse into a Tree picture -tikz package

I have draw a tree using tikz package like this \begin{tikzpicture} \tikzstyle{level 1}=[sibling distance=40mm] \tikzstyle{level 2}=[sibling distance=20mm] \tikzstyle{level 3}=[sibling ...
7
votes
1answer
859 views

How to draw a joining line between two picture tikz-pgf

I'am having draw two tree using the tikz-pgf package \begin{frame} \begin{columns}[c] \begin{column}{2cm} \begin{tikzpicture}[scale=0.5] \tikzstyle{level 1}=[sibling distance=10mm] ...
3
votes
2answers
248 views

Demonstrating syntax of a sentence [duplicate]

Possible Duplicate: How to draw syntactical trees with parallel leafs for a natural language? Consider page 4 in following paper: Pantcheva 2007 Which package can be used to draw a ...
6
votes
1answer
2k views

TikZ: Draw a B+ Tree

Having consulted this and this thread, I think the multipart feature of TikZ might just do what I need (see picture below). Is there any way to hide the vertical lines between node parts and still be ...
3
votes
1answer
1k views

AVL Trees in TikZ: draw outside of node

I'm trying to draw an AVL tree with TikZ. I got the basic tree structure covered, but I'm not sure how to draw the balance factor outside of the node (see picture below). Any suggestions?
2
votes
1answer
1k views

TikZ - game tree representation with continuum of moves

I have been using TikZ to draw game-trees for my game-theory lectures (mostly using the automata package) but I could not figure out how to draw an arc across the edges the leave a given node. When we ...
6
votes
1answer
239 views

What is a suitable package for drawing term algebra style trees

I want to be able to draw something like nested triangles that are arranged in a tree-like fashion. Or explicitly, a node of a tree is represented as an isosceles triangle pointed upward. Each ...
1
vote
1answer
354 views

Aligning trees built with tikzpicture

I want to align some trees I am creating. I want the root node of all the trees to be on the same line. Currently for each tree I create, the root node of each subsequent tree is on a line after the ...
6
votes
2answers
3k views

Tools for tree diagram

I would like to make a simple scheme looking like tree diagram (structure like this or that). The problem is that all the packages I did try, could make nice binary trees with little information in ...
2
votes
1answer
386 views

Writing a line from two sibling nodes in a TikZ tree

Recently I am struggling on TikZ and it is really difficult to find options and solutions considering it is such a huge and comprehensive library. What I actually would like to do is drawing, in a ...
1
vote
1answer
717 views

Problems with tikz tree growth on secondary levels in trees

I have the following code: \begin{tikzpicture}[grow=right, sloped] \tikzstyle{level 1}=[level distance=1.3cm, sibling distance=1cm] \tikzstyle{level 2}=[level distance=1.2cm, sibling distance=1cm] ...
4
votes
2answers
2k views

How to draw a horizontal tree with branches on the right and left?

I need to draw trees but they should extend (from the root) on both sides. TikZ seems a good solution but do not how to manage it.
4
votes
1answer
1k views

TikZ-tree: edge-alignment in horizontal org-chart

I'm working on some sort of org-chart/hierarchy-tree and ran into issues with the edge-alignment. As a guideline I used the family-tree-TeXample. See the TeX.sx-dicussion here. However, the text in ...
3
votes
1answer
840 views

Alignment of node labels in tikz-qtree

I am trying to draw a refutation tree: \documentclass{article} \usepackage{tikz} \usepackage{tikz-qtree} \begin{document} \begin{tikzpicture} \Tree [.\node[label= {$\langle ...
6
votes
1answer
884 views

How to specify left and right node of a tikz-qtree

I'm drawing a binary tree using tikz-qtree. In my binary tree the order of children is important, so I need distinguish which edge is the left one and the right one. In my sample code I can't ...
3
votes
1answer
252 views

How to generate labels next to junctions and avoid self-collision with tikz?

I have an ASCII-art phylogenetic tree that looks (in part) like /------ PLN /-----+ 0.9 | \------ IL1 /--------+ 1.8 | | /----- PVD | ...
5
votes
1answer
443 views

How to align a vertical tree to the upper-left corner?

How do I align vertical trees to to the top? This is my current tree:       I want to get this tree:                  ^ That's a part of ...
4
votes
1answer
352 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 ...
4
votes
1answer
787 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 ...
23
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
334 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
2k 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.
152
votes
11answers
22k 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
2k 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 ...