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

learn more… | top users | synonyms

6
votes
1answer
339 views

Customized edge in forest tree

Following the examples in the documentation, it is not too difficult to customize the edge of trees using the tikz-qtree package. The following code illustrates it: \documentclass{standalone} ...
4
votes
3answers
450 views

Adding nodes outside a tree and drawing arrows to them with tikz-qtree and tikz

I try to draw a picture that is supposed to explain the sentence dass er das Lied wird haben singen müssen that he the song will have sing must The idea is to write down the sentence and have the ...
2
votes
1answer
445 views

Drawing a tree with bottom-aligned leaves

I'd like to align all leaves of a tree at the bottom, so what I'd like to achieve should look like: p / \ / /\ c d e What I've tried so far (using tikz-qtree) results in: p / \ ...
7
votes
1answer
319 views

How to align parent nodes to the left/top in a tree

I am drawing trees in LATEX. The qtree library seems to be what I need but the parent is always placed in the center of its children like this: parent / \ child_1 child_2 (I'm a new ...
8
votes
1answer
1k 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?
3
votes
2answers
210 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 ...
7
votes
2answers
541 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
735 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
276 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 ...
6
votes
1answer
600 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 ...
6
votes
1answer
437 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?
2
votes
2answers
360 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 ...
2
votes
2answers
884 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
1k 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
189 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
346 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
483 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
501 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 ...
6
votes
1answer
3k 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
178 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 ...
8
votes
2answers
1k 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
141 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
202 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
310 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}} ...
17
votes
5answers
6k 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
134 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
430 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} ...
20
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
243 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
610 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
267 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
219 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
617 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
808 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. ...
4
votes
1answer
639 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
210 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
255 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
793 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
497 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
776 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
337 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
262 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
1k 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
605 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
245 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
429 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 ...
6
votes
1answer
2k 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
844 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
447 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} ...