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

learn more… | top users | synonyms

15
votes
1answer
851 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
450 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
263 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
767 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
876 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
412 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
331 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
979 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
1k 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
603 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
817 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} ...
1
vote
1answer
336 views

Japanese tikz-qtree

I'm having trouble using the example code from tikz-qtree to typeset a Japanese syntax tree. Here's my MWE: \documentclass[10pt,letterpaper]{article} \usepackage{xeCJK} \setCJKmainfont{MS Mincho}% ...
2
votes
2answers
521 views

Tree in a graph's node

I am trying to figure out how I can draw a tree in a graph's node with tikz. Meaning, the node is not supposed to have a value or name but a tree inside of the circle around it. I tried the following ...
4
votes
1answer
692 views

adding a node to a qroof in tikz-qtree

I need a node in the head element of a qroof in tikz-qtree (using tikz-qtree-compat). I need the 'np' to be a node so I can draw an arrow to it. However, the following breaks: ...
4
votes
2answers
559 views

How to balance binary branches and repair shorthand triangles in LFG style c-trees using tikz-qtree

I have modified the example from the tikz-qtree documentation to form this LFG style c-tree, but am having difficulty balancing the binary branches in general, and the IP branches and roof/triangle DP ...
13
votes
2answers
813 views

TiKZ make lines connecting nodes have the same endpoints

Using the MWE below: \documentclass{standalone} \usepackage{tikz} \usepackage{tikz-qtree} \usepackage{tikz-qtree-compat} \usepackage{ textcomp } \begin{document} \begin{tikzpicture} \Tree [ .TP [ ...
4
votes
1answer
1k views

Arrows in tikz-qtree with symbols in node names

I have a syntax tree with angle brackets to represent movement: \begin{tikzpicture} \Tree [ .TP [ .T' \node{T+verb}; [ .vP \qroof{`ana}.DP [ .v' ...
3
votes
1answer
548 views

Graph-like structures with Qtree

The Qtree package is "a LaTeX package for drawing tree diagrams." Is it possible to draw simple graph-like diagrams with it, similar to the one depicted below? If not, should I resort to TikZ-qtree? ...