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

learn more… | top users | synonyms

1
vote
1answer
46 views

How to position this tikz figure in the center of a A4paper?

% Mindmap % Author: Stefan Kottwitz % https://www.packtpub.com/hardware-and-creative/latex-cookbook \documentclass[border = 100pt]{standalone} \usepackage[landscape]{geometry} ...
2
votes
1answer
52 views

Tikz and drawing siblings on one line tree

I'm using tikz to create a graph of a network. Currently, I'm having difficulties with one tree, where I would like to set it up like the picture below to save space. 1 is the parent and connects ...
0
votes
2answers
22 views

Straight Line to the lower line in tikzpicture

As you can see in the picture the line between the second and third level is not straight. What do I need to change in the code to get it straight? \documentclass[ 12pt, % font size a4paper, ...
6
votes
1answer
104 views

Vertical alignmend tikz node

I'm trying to produce a tree diagram with tikz with vertically and horizontally centered text in my nodes. The second is working but the text is not vertically aligned although I'm using "text ...
5
votes
2answers
381 views

Probability tree is colliding

I need to make a probability tree with 3 outcomes per event. Here is the code I am using: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{fullpage} \usepackage{amsmath} ...
2
votes
1answer
84 views

Making concept maps in Latex

I found a very nice concept map which was adapted from beamer here: Drawing concept maps in Beamer and I was hoping to apply something like this to a tex document. So far what I have is as follows: ...
0
votes
1answer
31 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
64 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
48 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 ...
1
vote
1answer
33 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 ...
10
votes
1answer
208 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
35 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
21 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
94 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
102 views

animated proof in latex [closed]

How can I make something like this? I would prefer tikz.
3
votes
1answer
37 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
71 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
126 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
44 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
37 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 ...
4
votes
2answers
49 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 ...
0
votes
2answers
91 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
117 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. ...
2
votes
1answer
62 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
59 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
31 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: ...
18
votes
1answer
319 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: ...
2
votes
3answers
159 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
99 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 ...
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 ...
2
votes
1answer
54 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
95 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
85 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 ...
2
votes
1answer
100 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
64 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
54 views

Drawing a linked list as a tree

I'd like to draw this as a TikZ: \ \ +---+---+ | * | * | +/--+---\ / \ 1 +---+---+ | * | * | +/--+---\ / \ ...
5
votes
1answer
35 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 ...
2
votes
2answers
99 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
62 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
132 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
2answers
40 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 ...
2
votes
1answer
70 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!! ...
3
votes
1answer
41 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
91 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} ...
2
votes
2answers
62 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 ...
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 ...
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} ...
-1
votes
2answers
113 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.