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

learn more… | top users | synonyms

1
vote
1answer
255 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
337 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 ...
5
votes
1answer
520 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
961 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 ...
2
votes
2answers
736 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
171 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
291 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
456 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
423 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
166 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
135 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
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: ...
7
votes
1answer
189 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
277 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}} ...
5
votes
1answer
113 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
418 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
235 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
574 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
234 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
204 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
234 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
693 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
591 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
189 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
724 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
232 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
239 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
305 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
730 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
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
570 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
470 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
410 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
239 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, ...
6
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
801 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 ...
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 : ...
6
votes
1answer
372 views

How to use tkz-graph and tikz-qtree without conflict?

It seems that the tikz-qtree and tkz-graph packages 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
423 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
256 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
712 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 ...
5
votes
1answer
293 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 ...
3
votes
2answers
376 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) ...
9
votes
1answer
850 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 ...
4
votes
1answer
582 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 ...
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 ...
3
votes
1answer
918 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 ...