{tikz-qtree} concerns drawing of tree diagrams using the TikZ-qtree package

learn more… | top users | synonyms

2
votes
2answers
559 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": ...
1
vote
1answer
765 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 ...
5
votes
1answer
152 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
242 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
419 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
349 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 ...
5
votes
1answer
2k 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
150 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 ...
7
votes
2answers
812 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: ...
3
votes
1answer
129 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
1answer
173 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
225 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}} ...
15
votes
5answers
5k 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 : ...
5
votes
1answer
97 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
396 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} ...
18
votes
2answers
2k views

How to change the level distance in tikz-qtree for one level only?

I am trying to draw a tree for a game theory problem. The problem is that the label p1=0.5 crosses label I. I would like to adjust the level distance of the first level, but the \tikzset{level ...
2
votes
1answer
225 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
508 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
209 views

How to convert Newick tree format to TikZ? [closed]

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
184 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 ...
4
votes
1answer
542 views

How to draw custom nodes attached to tikz-qtree?

I want to draw a tree which is similar to the Merge sort recursion tree in this Tikz sample from TeXample.net: However, I don't want to draw all the + and = signs, I just want two columns: one from ...
6
votes
1answer
587 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
64 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
548 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
174 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 ...
4
votes
1answer
202 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 ...
8
votes
1answer
629 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 ...
3
votes
1answer
426 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 ...
4
votes
2answers
664 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 ...
1
vote
1answer
273 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? ...
1
vote
1answer
224 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} ...
5
votes
1answer
912 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
517 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 ...
2
votes
1answer
224 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, ...
3
votes
1answer
365 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 ...
5
votes
1answer
1k 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 ...
15
votes
1answer
677 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 ...
6
votes
1answer
401 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
243 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
648 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
1k 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 ...
9
votes
1answer
785 views

\draw alignment when connecting nodes using tikz-qtree, getting line centered

Here is my code and I will post a picture showing what it generates. I will manually draw in red where I would like to draw a line from. I am producing a family tree and I need to connect lines from ...
3
votes
2answers
343 views

Alter only one branch properties

I have a diagram in tikz-qtree like figure A, but I'd like something like figure B. Is it possibe, to alter the properties of only one brach? (these figures made with Dia and arrows not important) ...
5
votes
1answer
269 views

How can I align captions with each level of a tree drawn with tikz-qtree?

I have drawn a binary tree using the TikZ-qtree package. 1) I now would like to align captions on the right of tree with each of its level---and I would like the placement to be automatic (ideally I ...
5
votes
2answers
2k views

LaTeX, qtree: Color and Animation for branches of a graph tree

I'm trying to do a beamer animation of a parse of a simple binary branching tree. I'd like to either use different colored branches and node labels to code the different steps of the parser and/or ...
7
votes
1answer
2k views

Horizontal hierarchy tree in tikz-qtree: bad layout for longer node-names

I'm trying to set a number of hierarchy trees directly in LaTeX and found tikz-qtree quite helpful for this task. Since the descriptions for the nodes and children are rather long words, the layout ...
3
votes
1answer
844 views

Alignment of node labels in tikz-qtree

I am trying to draw a refutation tree: \documentclass{article} \usepackage{tikz} \usepackage{tikz-qtree} \begin{document} \begin{tikzpicture} \Tree [.\node[label= {$\langle ...
6
votes
1answer
887 views

How to specify left and right node of a tikz-qtree

I'm drawing a binary tree using tikz-qtree. In my binary tree the order of children is important, so I need distinguish which edge is the left one and the right one. In my sample code I can't ...
5
votes
0answers
536 views

Can't draw ending arrow using tikz [closed]

I need that red edges become arrows, I use \draw[->] but the end of the drawn line is the same as the beginning, this is not an arrow! This is my code: \documentclass[demo]{article} ...
10
votes
2answers
665 views

How do I center this qtree?

I am trying to draw a tree using the tikz-qtree package, however I am having issues with the nodes of the tree being not centered. \documentclass[10pt]{article} \usepackage{tikz} ...