Questions tagged [trees]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

Library graphs - mixture between layered layout and tree - How to do?

the creation of a graph with some specific attributes is for me not possible. Maybe you have some helpfully ideas how to realize?! The attributes of the graphs in 1. and 2. have to be "mixed", while ...
2
votes
2answers
40 views

Tikz: tree and reverse tree combined together

I need to reproduce the following image in tikz: I started by drawing the upper part: the "normal" tree. I used forest to do this. But, I have no idea on how to do the lower part...the "reversed ...
4
votes
1answer
51 views

Is there a way to factorize the tree decoration of several trees?

I have a LaTeX document with several trees made with the forest package and would like to define a decoration style for these trees in a way that avoids code duplication. In other words, I would like ...
1
vote
0answers
55 views

No ordinary family tree. Howto insert Son/Daughter in Law?

With the tree above in mind, i am trying to get something like this: So far little luck, this is where i am now: I also tried forest, but still can't get the job done. \documentclass{article} \...
4
votes
3answers
116 views

How to include horizontal arrows in between nodes in TiKz

I’ve been attempting to recreate this language tree, and attempted to do it in TiKz, but I’m open to other solutions. However, I’m not sure how to approach the horizontal arrows which are located in ...
3
votes
1answer
32 views

Tree diagram has lopsided branch

I'm attempting to draw a tree diagram using the forest package that shows the morphological derivation of a word. However, when I align the terminal nodes, the highest branch looks lopsided. This is ...
2
votes
1answer
27 views

Align text and bottom of forest tree

How can I align text around forest tree's bottom node? Fox \begin{forest} [PAST [jumped]] \end{forest} over fence Or are there more cleaner ways to insert text above words?
2
votes
1answer
59 views

How can I insert a tree diagram into text?

I've made a tree diagram using the forest package. To prevent the diagram stretching beyond the page I've placed it in a box. How can I place this box within the text such that Latex can determine its ...
4
votes
2answers
77 views

Tree in Diagram not centered

while the diagram seems to be centered (as seen by the caption), the tree inside is not. The narrower the tree, the farther to the right it is positioned. Any thoughts? Here's my code \...
0
votes
1answer
38 views

How to draw hierarchical overlapping models

I am trying to draw hierarchical models with overlapping nodes. I am able to use Use tikz to draw a hierarchical model (mult-level model from statistics) to make hierarchical models, but I am not able ...
2
votes
1answer
35 views

Depth first step by step construction on forest tree

Currently using forest to display Tableaux trees on beamer. For some cases i want a depth first step by step animation for the construction of the tree. The idea is to start with the root visible, ...
1
vote
1answer
39 views

Draw a particular hierarchy tree diagram with a connector of the before to last level to the last one

I use the code found here To draw a hierarchy tree diagram \documentclass[tikz,border=10pt]{standalone} \usepackage[edges]{forest} \usetikzlibrary{arrows.meta} \begin{document} \begin{forest} for ...
7
votes
2answers
183 views

Decision tree nodes overlapping with Tikz

Does anyone know how to prevent the branches of a decision tree from converging on each other? This is with Tikz - I've tried tweaking the sibling distance and things like that, but two of the ...
3
votes
1answer
153 views

How do you use environments that have the same name within a single LaTeX document?

I'm trying to typeset some proof tree exercises. But I need to use the prooftree environment from the bussproofs package, as well as the prooftree environment from the prooftrees package. Is there a ...
1
vote
1answer
32 views

Display count of leaves(depth) at each level in tree

I am drawing a tree like given below. The MWE for it is below: \documentclass[]{article} \usepackage{forest} \title{} \author{} \begin{document} \date{} \begin{forest} [n ...
2
votes
2answers
216 views

Simple trees for mathematics

I have to draw many simple trees similar to the ones depicted for instance at page 128 or 133 of this beautiful book by Cheng and Lauda. I used to have some knowledge of the package forest, but ...
2
votes
1answer
60 views

Create separate double arrows as edge of a tree

I'd like to create a tree with edges made from two separate arrows as shown in picture: But I don't know how to change the edge to 'two separate arrows for each edge' Currently, I could only do the ...
2
votes
2answers
147 views

forest tree nodes

I'd like to clean up my tree by drawing an edge between parent nodes. In the following, I'd like to have the 0 nodes (which are children now) adjacent to the numbered nodes (ie on the "parent" level). ...
3
votes
1answer
34 views

Adding coordinates to forest edge path

I've got: I'd like something like: Code: \documentclass{article} \usepackage{tikz} \usepackage{forest} \begin{document} \begin{forest} for tree={rectangle,rounded corners,draw, l sep=20pt, if ...
3
votes
1answer
94 views

trees with straight spines, and not too much vertical space?

I want to be able to typeset syntactic trees in a way that will achieve the following: straight spine when there is no label on the nonterminal node obtuse angle at each (binary) branch (so the tree ...
4
votes
1answer
138 views

How to add multi-line text below a node in a tree in forest

I want to make a tree which has bulleted lists centered below the child nodes, like so: I've searched on TeX SE and found questions which describe putting labels below nodes, but it doesn't quite ...
1
vote
1answer
169 views

Improving a decision tree drawn with TikZ / forest

I'm trying to create a decision tree in TeX, currently using the forest package, which uses TikZ under the hood. TikZ is black magic to me, and as a result so's the forest package, but I found a very ...
0
votes
1answer
24 views

Labels are missing in the Tree

In the following tree, the labels are concatenated to their parent node. For example in the first branch of the tree from left, I would like to have "the" as a leaf, but it sticks to D (its parent). ...
3
votes
1answer
77 views

Drawing a centrally aligned tree using LaTeX

I am trying to draw a tree in LaTeX via following code. It works; however, it is always aligned to the left. How I can make it aligned to the centre? \usepackage[T1]{fontenc} \usepackage[utf8]{...
3
votes
1answer
44 views

Help with branches

I'm trying to do something like this, but I doon't know how to creat [+silábico] or organize "NUC" in an equal high. Thanks!! Here is what I used: (I've tried "[{[-silábico]},before drawing Vocálico={...
4
votes
1answer
68 views

How to position a single child node so it is in the same level with parent using forest?

Here is my tree diagram built using forest package. How to move the node in the red pen to the position of the blue pen? Here is my code. \begin{forest} for tree={calign=last}, [HEAD ...
4
votes
1answer
100 views

prooftrees.sty - why are line numbers overlapping and how to avoid?

Why are the "6" and "7" overlapping here and how can I avoid it? \documentclass[border=10pt]{standalone} \usepackage{prooftrees} \begin{document} \begin{prooftree}{} [A [A [A [...
3
votes
2answers
172 views

Problem with Texpad - Forest package Tree results in error: TeX capacity exceeded, sorry [parameter stack size=120]"

I recently got back reviews for a paper I submitted eight months ago. Upon opening my file, I discovered it wouldn't compile properly anymore. After some troubleshooting, I narrowed it down to the ...
4
votes
0answers
64 views

prooftrees tree nodes on different line

While trying to write a tableaux proof tree with prooftrees, I had some difficulty with putting single and branching nodes on the same line. \documentclass{article} \usepackage{prooftrees} \begin{...
1
vote
1answer
37 views

How to layout a vertical Icicle tree with the forest package

This page presents a way to create icicle trees. It works very well as soon as the content of each node is drawn on one line. For the following example, (that contains only few additional nodes), the ...
4
votes
1answer
36 views

How do I add labels to node connectors in a tree diagram using TikZ

I would like to add the labels "H" and "L" to the X and Y connectors like those included below the Z nodes. Here is my code so far: \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows} \...
4
votes
2answers
122 views

Forest: How do I automatically align tiers and have parent anchor=south

I am trying to make basic linguistic trees in Forest that do two things: 1) have the bottom leaves aligned on a single tier, and 2) have parent anchor=south. (Actually I have a third requirement as ...
0
votes
1answer
204 views

Using native Tikz tree or forest?

I just have a very philosophical(?) question. At this time i am well in drawing pictures with tikz. Now i have to make some tree-like diagramms and ask myself which "package" i should use for this? In ...
4
votes
1answer
173 views

{genealogytree} How to model my Cousins

I am working with the "genealogytree" package for a long time, but im struggling again about modeling my Cousins. After i got Trouble Merging my multiple (completed) Family Trees (Link) with ~150 ...
7
votes
2answers
225 views

Radial node arrangement in Forest

I have a number of 'decision tree' type of charts I am trying to produce dynamically (rather than in Illustrator or OmniGraffle). Each chart contains a few hundred nodes. Because of the number of ...
1
vote
2answers
119 views

Switch between list and tree in latex (dynamic typesetting)

Is it possible to switch between a list and an equivalent tree (both already coded) with a clickable link with latex i.e. toggle between them ? Does LaTeX allow to typeset dynamically with a ...
1
vote
0answers
37 views

How to draw this tree?? (maybe hard) [duplicate]

I want to draw the tree like this, but it's arrow not direct to just down, and I don't know how to draw the 'box' and tint the boxs and words.
1
vote
1answer
136 views

Overlay of edges of a tree created with one command

The title of this question might not be very accurate (I don't know for a better one so far), I am open to suggestion. I have the nodes of a tree linked together with the command [edge from parent ...
5
votes
1answer
121 views

How to color some areas of a branching diagram

do you have an idea how could I reproduce the brancing-diagram in this picture? I suppose that it was made with tikz or pst-tree but I don't know how, especially how to get those coloured areas. The ...
3
votes
2answers
88 views

Extend three-tier tree to four tier using forest

I would like to extend the three tier in the answer here to a four-tier tree. To something as shown in the figure below. This is the MWE provided here. The question appears quite simple, but I have ...
2
votes
1answer
69 views

How can I place an empty box on the branches of this tree diagram?

\documentclass{article} \usepackage[latin1]{inputenc} \usepackage{tikz} \usetikzlibrary{trees} \begin{document} \pagestyle{empty} % Set the overall layout of the tree \tikzstyle{level 1}=[level ...
3
votes
2answers
306 views

How to create Bärnighausen Trees?

In crystallograpy exists an established visual representation for symmetry relations between different structures/phases which are called Bärnighausen trees. Typical examples look like (from U. ...
12
votes
3answers
1k views

How to draw a tree diagram with 90º degrees branches

I'm trying to replicate the following tree in LaTeX: I'm having problems, because (1) I never drew a tree diagram with 90º degrees branches, like this, and (2) I never drew a tree diagram together ...
3
votes
1answer
184 views

Create horizontal hierarchy tree SmartArt

I was trying to draw a horizontal hierarchy SmartArt as shown below. I looked for this forum but I did not find any similar. Thank you very much.
5
votes
1answer
107 views

Draw a complex tree - forest

Please, how can I do something like this? Thanks! That's what I'm doing: \documentclass[showtrims, 10pt]{memoir} \usepackage{forest} \begin{document} \begin{forest} [,phantom,s sep=2cm [X ...
0
votes
0answers
51 views

Drawing bare phrase structure trees with the forest package

I need to emulate these two trees and I've been trying different things but I can't get them exactly right. Every time I try the nice empty nodes option the tree ends up too elongated vertically, but ...
1
vote
1answer
262 views

trees dashed lines

I would like reproduce the following tree in a mathematical text. But for copyright reasons, I cannot use includegraphics{} and I must draw this figure in latex. What do you advise me ? What is the (...
0
votes
1answer
79 views

Tree structure with text boxes at the edges

Could you show me how to draw a simple chart like the one given in the image attached. I need to enter text in the bullet format. Thank you Chana
3
votes
1answer
66 views

How can I add child nodes to child nodes in mindmaps?

I would like to organize the following mind mapping by: Formatting it Add children "level 1-2-1, Level 1-2-3, Level 1-2-3 " to node level 1-2 \documentclass{article} \usepackage{tikz} \...
4
votes
1answer
88 views

Triangle tree with node positioning

I am trying to recreate the image shown below. While the numbers are blurry that is not relevant. The relevant part is making the tree look like a triangle. Here is how far I have gotten What is ...