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

learn more… | top users | synonyms

1
vote
1answer
29 views

Prooftrees logic tree preamble for an example

The following example is out of the documentation of prooftrees (I suppose that an updated version of TeX Live is needed to make use of that package). The problem is that the documentation's .tex file ...
2
votes
1answer
15 views

How to a draw a tree with n edges and show count of edges at each level?

I am trying to draw a combinatorics tree starting with n_1 edges at level 1, n_2 edges at level 2, ... , n_k edges at level k. Something like this: I found a binary tree code from this site: ...
1
vote
2answers
56 views

Write same vertex labels with TikZ

I am writing an article on graph coloring and trying to make this type of labeled tree in TikZ. (See the attached Figure) The problem is that I have to use same color label (English letter) for many ...
3
votes
1answer
21 views

Add an Ellipsis at the end of the tree with forest

I have an tree and I need to make it so it feels like it's infinite. I need to draw an ellipsis at the end of each branch. I would like the ellipsis to be vertical oriented if possible (not a big ...
4
votes
0answers
36 views

Draw and-or trees' arc with tikz tree library

I'm trying to get a similar result of this question: Drawing AND/OR trees in Tikz. However, I'm trying the trees library from tikz and was trying to get the automatic arc that is produced with the ...
1
vote
1answer
38 views

Tikz Tree with added notes

I need to add notes where "Write Text Here" is. I do not want it to be part of the node. Is there a way to add notes next to a node. Below is my code; Thank you \tikzstyle{every ...
1
vote
1answer
31 views

Depth labels in Recursion Tree using Forest

I have a recursion tree very similar to the one below built using the Forest package. The only problem is that I do not know how to add labels to the right hand side for each depth of the tree. In ...
0
votes
2answers
61 views

How do I typeset this parsing tree for propositional logic formula with forest or something else?

The following parsing tree is from Mathematical Logic published in 2007 and written by Ian Chiswell & Wilfrid Hodges. It looks like a forest tree, but I guess it could be typeset better by another ...
0
votes
0answers
41 views

Operad theory, trees and an identity

Please Ignore the stuff I am writing, it is incomplete, and I am just building a skeleton for a paper I am writing, just focus on the image. I just caught an error, m is supposed to be a. And there ...
3
votes
1answer
44 views

saving horizontal space in tree diagram

About a week ago @cfr already provided a very decent solution for saving vertical space in my tree diagram. Unfortunately my initial situation has changed now and I am facing a horizontal tree which ...
6
votes
2answers
54 views

Saving vertical space in tree diagram

I have many nodes on one tier. Thus I use the grow east option already. But this is not enough... I would like to save a bit more vertical space for instance through pulling two of the branches a ...
1
vote
1answer
40 views

How can I make this tree shrink to fit standard page?

\documentclass{article} \usepackage{tikz} \usetikzlibrary{trees} \begin{document} % Set the overall layout of the tree \tikzstyle{level 1}=[level distance=3.5cm, sibling ...
2
votes
1answer
47 views

how to draw skewed (unbalanced) tree with tikz-qtree?

\begin{figure}[H] \centering \begin{tikzpicture}[scale=0.7] \Tree [.Appl [.DP ] [.V [.DP ] [.v ] ]] \end{tikzpicture} \end{figure} is giving me the above picture: But, what I really want is left ...
3
votes
1answer
107 views

Improving tree diagram

Does anyone have an idea how to improve this diagram? I don't know, but it doesn't really blows my mind, yet. For instance, I am not able to manage a good-looking line length and positioning where ...
3
votes
1answer
82 views

How to draw big circles around selected nodes of a tree with tikz?

I have drawn the following tree using tikz with the following code. My question is: How can I draw one big circle enclosing all the „A“ nodes, one for all „B“ nodes and so on (maybe with different ...
1
vote
1answer
75 views

How can I make horizontal direction for last node using Tree

I am using tikz to draw my tree. I want to adjust the location of last nodes as expected figure(last figure). Second, I want to locate the tree in centering on page. Could you help me to fix the latex ...
1
vote
0answers
34 views

How to prune nodes in a tree using graph syntax

I want to indicate that nodes have been removed from a tree. Lets say the code looks like this: \documentclass{article} \usepackage{tikz} \usetikzlibrary{graphs} \usetikzlibrary{graphdrawing} ...
30
votes
3answers
2k views

Write trees in LaTeX

I think this would be a good question how to bring a customized flowchart (your own) in MS Word to LaTeX. Well, I have attached a World file, and I am trying to convert that in LaTex. The Save as ...
6
votes
2answers
50 views

nice empty nodes broken by forest 2.0?

I've been using the "nice empty nodes" style from the forest manual for trees for quite a while now. Today I updated the package, and now it throws an error (though the output still seems to work). ...
2
votes
1answer
74 views

TikZ/PGF error when using forest

I am trying to make a linguistics tree using the forest package, as in the second example in this thread. I was able to generate the tree for the most part, but I cannot draw the triangle for some ...
-1
votes
2answers
105 views

How can I reproduce this tree diagram?

I want to reproduce the tree diagram shown below. My major problem is how to put text (Yes/No/Exposure...) next to the lines.
0
votes
0answers
11 views

Separating Nodes [duplicate]

How come my tree is combined for Player 3 in the middle, when I want each Player 2 to produce two Player 3s? And same for the Player 3s leading to combined outcomes, each branch should lead to a ...
2
votes
1answer
86 views

How do I concisely typeset propositional proof trees?

I want to draw things like and optionally I don't need to typeset proof trees as in the second picture, but it would be nice to know how to typeset it if anyone could do it without a sweat. But, ...
3
votes
3answers
154 views

Multilevel hierachical tree/taxonomy with linebreaks and “empty items” in Tikz

I would like to include graphics like the following in my document. Since this is just one example and there will be different models, I can't just include it, but will rather need to be able to build ...
2
votes
1answer
77 views

Rich phylogenetic trees accompanied with a non-linear timeline

I wish to draw a phylogenetic tree which is graphically rich (the edges may have several colours/styles), and more importantly, the tree would be aligned with a timeline, which need not be linear. ...
0
votes
0answers
41 views

How to align/indent proof trees on beamer class?

I am working on beamer, using the package bussproofs and I need to be able to move and indent the different proofs so they can all fit in my screen. Does anyone know how to do it? Thank you in ...
7
votes
2answers
166 views

Present a list as a “tree”

I want to present an "itemize" list as a tree. I.e, the current list is: Root Child 1 Child 2 Child 3 And I want it to look something like this (but with continuous lines): ...
2
votes
2answers
56 views

Special characters in parsetree

I am using the parsetree package, which according to this documentation can have special characters like parentheses in leaf nodes when not using shortcuts like ".N.". However even if I follow these ...
2
votes
2answers
160 views

Analytic Tableaux Smullyan's Style

Is there a simple and intuitive way to drawn with latex this kind of tree? I tried to check in the site "LATEX for LOGICIANS", but I can't find this kind of tree, with this kind of layout. Thank you ...
3
votes
2answers
96 views

Drawing trees with xymatrix

I would like to draw trees using xymatrix, however using for example \xymatrix{\ar@{-}[dr] & & \ar@{-}[dl]\\ & \ar@{-}[d] & \\ & & } returns the image My problem with ...
0
votes
0answers
27 views

How to draw a labeled rooted tree? [duplicate]

I would like to know how to draw simple rooted trees like this but with labels.
5
votes
2answers
96 views

Copying non-epsilon terminal nodes in parse trees using forest

I'm drawing parse trees for formal grammar using the forest package and would like to have all terminals, that are not Epsilon, to be copied to the bottom and connected to the original node with a ...
3
votes
2answers
290 views

tikz trees: How to not draw a single edge

I want to draw a tree and not draw specific edges. I try it like this \documentclass[preview]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}[every node/.style={circle,draw}] ...
1
vote
1answer
71 views

Can I typeset a certain proof tree in ConTeXt?

Now, I know that the below picture can be done in LaTeX. Can it be done in ConTeXt? Because I have yet to learn any TeX system, I'm not asking how to do it in ConTeXt, but I am primarily interested in ...
0
votes
2answers
119 views
1
vote
2answers
151 views

Tikzpicture inside forest node label

I would like to embed a tikzpicture in a forest node label: \documentclass[ ,crop=true ,varwidth=\maxdimen ]{standalone} \usepackage{forest} \begin{document} \Forest{ ...
2
votes
1answer
88 views

Derivation tree for type evaluations

I’d like to create derivations trees for a type evaluation (dunno what this is exactly called). Basically I want to reproduce this bottom up „tree“ on page 15 from ...
2
votes
2answers
125 views

Square Edge and Horizontal Tree Diagramm with forest

I am basically trying to re-create the Aves Cladogram as illustrated in this wikipedia page. After trying to use Newicktree package for a while, I decided to migrate to forest. I am trying to make ...
-1
votes
1answer
52 views

Drawing tree with arrow that indicates height

I'm trying to create the following tree with tikz-tree, but don't how to add the arrow that indicates height. Please help. Thank you!
4
votes
3answers
97 views

Alignment in directory tree

I want to draw a directory tree, see the code below. I can't get the alignment right in the following areas: The H of Here is text and the T of This is some more text must align. All horizontal ...
0
votes
0answers
28 views

How to draw a simple picture? [duplicate]

I think this problem should be relatively simple, but I don't know how to do it.
2
votes
1answer
118 views

“\Tree” doesn't work even with qtree package

ERROR: Undefined control sequence. --- TeX said --- l.59 \Tree [.SD [.D El][.SN [.N gato][.SP [.P con][.SN [.N botas]]]]] --- HELP --- TeX encountered an unknown command name. You probably ...
2
votes
1answer
114 views

Line break in qtree edge labels

I am using tikz-qtree to create a (horizontal) game tree. While I have managed to create line breaks in the node labels, this does not seem to work for the edge labels, see MWE below. My questions ...
3
votes
2answers
194 views

Colouring the branches of tikz trees

I want to colour the branches of the following tree: \documentclass[12pt,a4paper]{article} \usepackage{tikz-qtree} \usepackage{tikz-qtree-compat} \tikzset{every tree ...
0
votes
1answer
34 views

Reducing the width of a prooftree without changing the font size

How can I change the width of the following prooftree without changing its font size? I would like to remove the big space between T1 and T5 \begin{prooftree} %T1 \AxiomC{$\langle {\tt y:=1}, ...
3
votes
2answers
215 views

Tikz tree diagram with 4 levels

This is the first time I use TikZ so please bear with me. With the following code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows,shapes,positioning,shadows,trees} \tikzset{ ...
3
votes
1answer
322 views

How to create classification taxonomies for Literature Review using Latex?

I have to make a literature review taxonomy for my final thesis, highlighting the salient features of each paper referred, its categories etc. I want to represent this diagrammatically using a ...
7
votes
1answer
148 views

Horizontally aligned terminal nodes in trees with nice empty nodes using forest

When horizontally aligning terminal nodes in trees using the package forest, I run into problems when I try to use the 'nice empty nodes' option, which makes sure that unlabeled nodes connect (this ...
5
votes
1answer
118 views

Is it possible to draw a tree using standard syntax without overlapping, if graphdrawing is loaded?

It seems that merely loading the graphdrawing library can mess up drawing a tree using the standard TikZ syntax. Is there a way to avoid this unwanted effect? For example: ...
1
vote
1answer
190 views

drawing game trees: forest or qtree? [duplicate]

I hope this question actually is in order since it does not seem to have a "correct" answer: I am about to get into drawing game-theoretic trees and while I am familiar with LaTeX in general, I am ...