{tikz-trees} is for questions addressing issues related to trees in {tikz-pgf}.

learn more… | top users | synonyms

0
votes
1answer
20 views

How to edit forest tree?

Here is the sample latex code i found for drawing tree \begin{forest} shade me/.style={% bottom color=#1!25, top color=#1!5, draw=#1, drop shadow, ...
2
votes
1answer
50 views

How to combine these tree diagrams in TikZ?

So I just made these two tree diagrams, and I would like to combine both. That is, I would like to replace the tree diagram of Beyond CMOS in the first figure, with the more detailed Beyond CMOS ...
1
vote
2answers
40 views

Rooted trees in TeX using tikz

I'm trying to draw rooted trees in TeX. I found the following example: \begin{tikzpicture} \node {root} child {[fill] circle (2pt)} child {[fill] circle (2pt)}; \end{tikzpicture} My ...
10
votes
1answer
192 views

Connecting tree nodes with double arrows a la chef

I'm trying to draw a tree with double arrows. To that end, I have combined the file system tree from texample.net with the basic idea of double arrows a la chef: \documentclass{standalone} ...
1
vote
1answer
32 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 ...
1
vote
1answer
34 views

Grouping child nodes in mindmap

I tried to group the children nodes around a parent with different distances between them, depending on how they are written they form three groups. For example seeing it as a clock, I would like to ...
2
votes
1answer
16 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: ...
3
votes
1answer
83 views

Animated proof of quadratic formula

I have the following code earlier posted by Alenanno. I want to give an animated proof of quadratic formula. My question is: I want to improve the code so that when I am multiplying with $4a$, ...
0
votes
1answer
91 views

animated proof in latex [closed]

How can I make something like this? I would prefer tikz.
3
votes
1answer
34 views

Large Nodes in Tikz Tree Leads to Overlap

In the previous question Large Quantity of Nodes Result in Overlap, I, foolishly, tried to create a tree using Nodes. That approach resulted in overlapping nodes as the tree got larger. User Ignasi ...
4
votes
1answer
61 views

Node relative positions and arrows with texts (Tikz)

I'm struggling to generate a Tikz Image... I've progressed so far to generate the following image: However, I want to generate something like this: I can't straight the arrow from B to A, nor ...
4
votes
2answers
116 views

Create a tree where all left edges are 0 and right edges are label 1 and node are circle draw

\documentclass[paper=a4, fontsize=10pt]{article} % A4 \usepackage{tikz} \tikzstyle{every node}=[circle,draw] \begin{document} \begin{tikzpicture}[level/.style={sibling distance=50mm/#1}] \node {6} ...
4
votes
0answers
39 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 ...
4
votes
2answers
47 views

Tikz: order of execution of child options when foreach operation is present

I'm trying to write a code that will draw a tree consisting of 2 children for each node up to a specified depth. The drawing of the tree itself works but applying the styles (which are numbered ...
1
vote
1answer
33 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
77 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 ...
12
votes
1answer
113 views

In tikz, why does a pic with a tree get distorted upon positioning with e.g. `right=of`

I'm trying to connect with edges tikz pics. I thought of using (sub)graphs like subgraph I_n and specifying the nodes with the V key, but I get an error: Undefined control sequence. ...
1
vote
1answer
77 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 ...
18
votes
1answer
305 views

How to improve my semantic tableau?

I have to typeset some semantic tableaux in my document, looking similar to the example underneath. My first idea was to use tikz for this, so I created the following monster: ...
15
votes
3answers
628 views

Recursive Stern-Brocot tree definition

I am trying to build a Stern-Brocot tree (enumeration of rationals). The result is nearly acceptable, but I am still dissatisfied with the following points. The edge from the parents goes to the ...
2
votes
1answer
59 views

How to create this Curly brackets around tikz-tree?

If I'm using lyx and I have a tikz-tree, how can I create Curly brackets like those and write above them:
2
votes
0answers
52 views

Recursive tree in Tikz

I'm trying to build a large inverted tree structure in Tikz, like the one below (except much larger, and ideally recursive): In this tree structure, each 'line' is made up of three nodes, and each ...
1
vote
0answers
27 views

tikz node generating error

Okey so I am doing my project with tikz, where is states and nodes. When I want to generate my node, it shows error message: Package tikz Error: (, +, coordinate, pic, or node expected. My code: ...
2
votes
3answers
145 views

Getting a landscape Tikz figure to fit on page

I have the following large tree in tikz that I am trying to display as part of my thesis. Needless to say, the tree is to large to fit in portrait mode, so I have been trying to get it to fit in ...
1
vote
2answers
83 views

Tikzpicture Overlap

What is a simple solution to prevent overlapping in tikzpicture. I tried changing sibling distance and level distance but as you can see in my code / picture euqation2 is not visible because it's ...
2
votes
1answer
48 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 ...
1
vote
1answer
41 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 ...
3
votes
1answer
84 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 ...
2
votes
1answer
97 views

How to draw the following automaton

How does one draw the elliptical blue background and the nodes? I am quite lost here.
2
votes
1answer
61 views

How can I adjust the position of a hierarchical tree

I am using tikz-qtree to draw a hierarchical tree. However, the position of the tree out of the page. Could you help me to adjust the tree to center of page? Thank you My current code that manually ...
2
votes
1answer
53 views

Drawing a linked list as a tree

I'd like to draw this as a TikZ: \ \ +---+---+ | * | * | +/--+---\ / \ 1 +---+---+ | * | * | +/--+---\ / \ ...
3
votes
1answer
116 views

TIKZ Tree: Change angle between Nodes

I am struggling to find out how to change the angle between nodes in tikz trees. I have already tried the attribute sibling angle=... specifically for child nodes or as level 1/.style=... attribute at ...
5
votes
1answer
77 views

custom forest style: dimension too large / dividing by zero?

I've written myself a custom style for forest, to get trees looking the way I'd like them to. The idea of the style is to keep the branches at a fixed angle, and automatically handle empty nodes ...
6
votes
1answer
4k views

Decision trees in Tikz

So I can do this: But I want to do this: That is, its easy to add text alongside the connectors (either slanting alongside them or straight), but I would like part of the connector to be flat ...
5
votes
1answer
32 views

Node on the side of a horizontal tree

I am struggling to understand how to put a node on the branch of the first level of a tree of bernoulli trials. When I try to draw it out, the node label in the center of the branch becomes the ...
5
votes
2answers
100 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 ...
2
votes
2answers
90 views

how to modify the code to change the size of blocks or nodes with maintaining the symmetry

How I can change the size of nodes to add some text in it. Below is code and second diagram is generated from this code. \begin{figure} \usetikzlibrary{trees} \begin{tikzpicture}[sibling ...
2
votes
1answer
116 views

Custom PSTricks directory tree to TikZ

I have a PSTricks implementation of a custom directory tree which I find quite appealing. I basically want to convert the whole thing to TikZ. I managed to get the very basic idea running in TikZ: I ...
2
votes
1answer
59 views

Tikz Tree Spacing in a Subfigure

I have been trying to create decision trees in a subfigure format as below, but not matter what kind of spacing I try, there are always over-lapping nodes at some point or another. In the example ...
2
votes
1answer
67 views

Is there a possibility to make a circle around a node like on the photo?

I would really like to have a circle around the first node of my tree like you can see on the photo. Is there a possibility? I only startet with latex and there is so much new for me... Thank you!! ...
2
votes
2answers
37 views

Is there a possible way to make these tikz-tree smaller?

I do have a little question about my tikz-tree you can see on the photo below. If you polt it on a paper it is quite a bit big and takes almost half of an a4 paper. Now my question: Is there a ...
3
votes
1answer
38 views

how to change font-size of a tikz tree

Is there a possibility to change the font size of the text right on the line of the following tree? I would like to reduce it, so that the tree does not appear such big. I hope someone may help me. ...
2
votes
1answer
44 views

is there a possibility to rotate text in a tree (tikz)?

Is there a possibility to make my tree a bit more well-arragend? At the moment I think, there is a lot of mess and you do not get which description refers to wich line and so on. I hope you understand ...
5
votes
1answer
85 views

Layered Graph from Tikz Manual

I suppose I have quite some experience with vanilla latex (which I have used to write several documents), but I am making my first baby steps with tikz. In particular, I am trying to reproduce the ...
1
vote
0answers
22 views

Tikz-qtree strange placement problem [duplicate]

I'm having issues with the placement of the values in my tree, i'm not quite sure whats the cause of it. Any help is appreciated. \documentclass{article} \usepackage{mathtools} \usepackage{newfloat} ...
3
votes
0answers
82 views

Make an organisation Chart on Latex

I am looking to make an organisation chart on latex for a group project. I have never done this before, and I saw that I can use the Forest package or using tikz. My coworker, made the chart using ...
2
votes
2answers
59 views

highlight a node in tikz

\begin{frame} {Family work up } \begin{tikzpicture}[level 1/.style={sibling distance=5cm},level 2/.style={sibling distance=2.5cm}] \node {Patient}[edge from parent fork down] child { node ...
0
votes
0answers
20 views

How to get overlay options in mindmaps? [duplicate]

I am using the following codes to construct my mind map. \documentclass{article} \usepackage{tikz} \usetikzlibrary{mindmap,trees} \usepackage{verbatim} \begin{document} \begin{tikzpicture} ...
2
votes
2answers
48 views

How to write on connecting lines in Tikz?

So I am trying to do a similar diagram: I have done this so far: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} % Circles \draw[fill=white] (0,0) ...
-1
votes
2answers
107 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.