{tikz-qtree} concerns drawing of tree diagrams using the TikZ-qtree package
4
votes
1answer
80 views
Multi-rooted Tree-like Structures and Nodes with Multiple Parents in LaTeX
The qtree package seems to facilitate the drawing of simple trees only. Is there a way to incorporate:
Multiple roots &
Nodes with multiple parents
in a tree in LaTeX?
2
votes
2answers
80 views
How to reflect duplicating a tree horizontally?
I'm following the solution from this post to construct a tree using tikz-qtree. It's working very well as you can see on the image below.
The tree is to show the matches of a championship.
But ...
6
votes
2answers
79 views
How do I skip a level with tikz-qtree?
I'm trying to draw a tree, but I can't get it to skip one level. This is my code.
\documentclass[border=1cm]{standalone}
\usepackage{tikz-qtree}
\begin{document}
\begin{tikzpicture}
[every tree ...
3
votes
4answers
138 views
What is a more efficient way to draw this tree?
I have drawn the following tree in TikZ. What I don't like about it is
that I have to manually adjust the sibling distance for each level; and
the syntax is too cumbersome.
It has been suggested ...
11
votes
2answers
125 views
Successively reveal tree bottom up
I am trying build a tree bottom up in a beamer document, i.e. to draw it on screen starting from the most deeply embedded leaves. I've found a lot of Q&As and discussions on how to have trees ...
5
votes
1answer
157 views
How to create syntactic trees and align them in LaTeX?
I want to create syntactic trees and align them in LaTeX as in the picture below.
Can you help me?
0
votes
0answers
73 views
TikZ - same label for every left/right edge
Is there a way to give every edge on the left the same label up to a specific level (I don't want labels on my leaf nodes).
I want to build a Huffman-Code, so it would be nice to have every left edge ...
2
votes
2answers
113 views
Drawing tree like structure
I have to draw the following figure. What I have now is uggly. Somehow the structure should be more balanced. Is there a way to do this with tikz-qtree? The point is that it is multiple dominance and ...
4
votes
1answer
116 views
Square edges in forest package
I can easily do trees with horizontal (square) edges in tikz-qtree (see MWE). The forest package is however a far superior alternative for my purposes. However, every attempt to do either horizontal ...
1
vote
1answer
86 views
How to draw dotted line between two nodes
\begin{tikzpicture}
\tikzset{grow'=right,level distance=60 pt}
\Tree [.I \edge node[auto=left]{M};[.II \edge node[auto=left]{L};$3,3$ \edge node[auto=right]{R};[.$x,0$ ]]
\edge ...
1
vote
2answers
91 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":
...
5
votes
1answer
74 views
How to save space in qtree
Suppose, I have a qtree:
\documentclass{article}
\usepackage{tikz}
\usepackage{tikz-qtree,tikz-qtree-compat}
\begin{document}
\begin{tikzpicture}
\tikzset{
% Define arrow style
pil/.style={
...
4
votes
1answer
103 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}
...
7
votes
1answer
271 views
TikZ flowchart child
Is it possible to show block C as a single block rather than having 3 blocks?
\documentclass[landscape]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
...
4
votes
2answers
136 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 ...
4
votes
1answer
270 views
Positioning labels on edges of tikz-qtree
I'm making a tree in a document with tikz-qtree and I managed to make the tree.
I've also added labels to the edges, without any problems.
However, the labels appear at the top of the edge, i.e. a lot ...
4
votes
1answer
91 views
bug in tikzqtree/tikzscale
Background
I was trying to find out if I can use tikzscale to scale the tikz-qtree figure in Text tree using tikz-qtree is too wide, don't know how to break lines and make the tree compact to fit ...
3
votes
1answer
82 views
allowing only horizontal edges (with labels) by using boxes of varying height for nodes
I would like to take advantage of tikz-qtree's spacing algorithm to draw (horizontal) trees of the following form
S _ C
---| |---------
| | B
|a|---------
| | A _ U
|_|---| ...
7
votes
2answers
253 views
Text tree using tikz-qtree is too wide, don't know how to break lines and make the tree compact
I want to make a tree like this one:
It doesn't need to be exactly the same, but I want to translate the text, so I need to rebuild it, I'd also want to add a node, but that's easy.
My first try:
...
7
votes
1answer
105 views
Is it possible to use {tikz-qtree} along with {qtree}?
I've already drawn too many trees with qtree, but I've discovered that I'll need tree-dvips to draw movements, and this package is incompatible with pdf. I saw that it's quite simple to draw syntactic ...
6
votes
1answer
91 views
Division by 0 when combining tikzpicture and resizebox
To draw a larger tree, I tried to use
\documentclass[11pt]{article}
\usepackage{tikz-qtree, tikz-qtree-compat}
\tikzset{every tree node/.style={align=center, anchor=north}}
...
4
votes
1answer
58 views
** ERROR ** DVI stack exceeded limit. with tikz-qtrees in xelatex
I've got a snippet of tikz-qtree which causes
** ERROR ** DVI stack exceeded limit.
when compiling with xelatex, but works fine with pdflatex. But I need xelatex because I've got a lot of unicode ...
8
votes
1answer
288 views
Snow on tikz-qtrees
Is it possible to add some snow on the syntax trees drawn by tikz-qtree? A simple example:
\documentclass[11pt]{article}
\usepackage{fontspec}
\usepackage{savetrees}
...
2
votes
1answer
149 views
Connecting two nodes in tree rectangular
I want to draw a tree like this:
The closest I could get to this was the following code:
\documentclass{minimal}
\usepackage{tikz-qtree}
\begin{document}
\begin{tikzpicture}
\tikzset{level ...
8
votes
1answer
278 views
Edged arrows with tikz-qtree
I've seen this nice little example tree drawn with LaTeX, afaik not tikz. Can I draw similar arrows with tikz-qtree by specifying start and end point only?
2
votes
0answers
136 views
How to convert Newick tree format to TikZ?
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 ...
4
votes
1answer
134 views
tikz-qtree mangles edge anchors in trees [duplicate]
Possible Duplicate:
tikz-qtree spoils tikz trees
When I draw a tree using TikZ, for example
\documentclass{article}
\usepackage{tikz}
\begin{document}
\tikzset{every ...
3
votes
0answers
134 views
tikz-qtree with scope ? (how to draw the Cayley formula)
I want to make a tree for the Cayley formula as this :
(But with a vertical layout)
I can use the tikz-qtree environments as show in section 1 below
I can draw the graph as show in section 2
But ...
6
votes
1answer
288 views
Shrink tikz trees
How can I reduce the overall size of trees drawn by tikz-qtree? I've got a huge parse tree that doesn't even try to fit on one page. I'd like to either resize the full tree or tweak the placing ...
0
votes
0answers
62 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. ...
3
votes
1answer
317 views
Dimension too large with tikz-qtree
I want to draw a tree with tikz-qtree, but it bails with Dimension
too large.
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{pdflscape}
\usepackage{tikz}
...
3
votes
1answer
114 views
Shifting parts of a tree to the left, create overlapping sisters in tikz-qtree?
I have a problem with a very large tree. What I woul like to do is moving the first node (1 NP) to the left to give more room for the others. The second node V_e1 dominating er could also go to the ...
8
votes
1answer
386 views
tikz-qtree: curved lines & multiple parent nodes
I am quite new to LaTeX, and I am stuck with a problem Google can't seem to help me with.
Basically, I need some hand holding in doing something that is more complicated than my skills can handle at ...
4
votes
1answer
139 views
Can I remove the last leaf line in tikz-qtree?
I've got
\Tree [.CP [.TP [.NP [.D the ] [.N woman ] [.CP [.TP [.NP [.N who
] ] [.VP [.V stole ] [.NP [.D my ] [.N necklace ] ] ] ] ] ] [.VP
[.V entered ] ] ] ]
which gives me a nice tree, but the ...
1
vote
1answer
159 views
Making roofs smaller in tikz-qtree
Is there a way to decrease the size of roofs in tikz-qtree? I want the roofs not to stick out but match the strings below them.
\documentclass{scrbook}
\usepackage{tikz}
\usepackage{tikz-qtree}
...
1
vote
1answer
174 views
Adding space between triangle nodes in separate levels in tikz-qtree
I now switched to tikz-qtree and want to add more space between the two triangle nodes. I cannot figure out a way to do this, since the nodes are on different levels.
Is this possible?
...
4
votes
2answers
374 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 ...
5
votes
1answer
560 views
How to add decorations to tikz-qtree branches (for example, create AND-branches and OR-branches)?
Suppose I want to show the expression
a IF b OR c
b IF d AND e
c IF f OR g
as a tree, using tikz-qtree. I'd want to do something like this:
\documentclass{article}
\usepackage{tikz-qtree}
...
6
votes
1answer
387 views
tikz-qtree spoils tikz trees
When I enable the tikz-qtree package, the tree I am drawing with the tikz trees library looks different. Specifically the edges are no longer pointing to proper places on the nodes. In the example ...
3
votes
1answer
291 views
tikz-qtree: edge overlaps with nodes
I'm drawing a tree using the tikz-qtree package. There is a lot of text in the nodes. I'm finding it difficult to get the edges to meet the edge of the nodes. For some nodes with lots of text, the ...
3
votes
1answer
218 views
Creating level labels for (horizontal) tikz trees
I want to create labels and the corresponding lines cutting through the branch levels of a (horizontal) tikz-qtree. Here's the idea.
I tried for quite some time and searched the net, but could not ...
2
votes
1answer
173 views
Pushing siblings together in tikz tree
I tried several approaches, but none of them worked...
Here is my tree code:
\begin{figure}[bh!]
\centering
\begin{tikzpicture}[ level distance=1cm, growth parent anchor=east, grow=right,scale=0.78,
...
5
votes
1answer
381 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 ...
14
votes
1answer
435 views
How to typeset a prefix tree (aka trie)
I am currently trying to typeset a prefix tree (also called a trie). I can make a tree just fine with TiKZ, but I find myself unable to make the prefix tree nodes draw acceptably. I have attached a ...
15
votes
5answers
2k views
drawing tree using tikz, child overlap
I am trying to draw a tree but unfortunately i have some childs overlap each other,I increased the sibling distance , even i have used the option scale but i have the same problem. here is my code :
...
4
votes
1answer
204 views
How to use tikz-graph and tkz-qtree without conflict?
It seems that the tikz-qtree and tkz-graph package both define (or redefine) the \edge macro... I'd like to use both, but it doesn't seem possible:
\documentclass{article}
\usepackage{tikz}
...
6
votes
1answer
274 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}
...
5
votes
1answer
197 views
tikz-qtree and tikz trees not playing nice with each other
I have the following problem: I have tikz with tikz-qtree installed.
Hence, if I draw a tree with q-tree it works perfectly.
However, I have to recycle one drawing done without q-tree, so that the ...
9
votes
1answer
468 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 ...
10
votes
1answer
504 views
macro for empty nodes in tikz-qtree
I'm trying to define a macro for writing empty nodes in a binary tree using tikz-qtree.
Referring to the code below, I want the string \missing in my code to be replaced by \edge[draw=none]; {} as-is ...
