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

learn more… | top users | synonyms

9
votes
1answer
768 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
332 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
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) ...
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 ...
4
votes
1answer
625 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
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}% ...
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 ...
4
votes
1answer
829 views

Visualizing broad Tikz tree graph

Modules of software I created produce Tikz QTree diagrams for visualisation. The problem is that some trees grow quite broad... Even when I try to massively shrink them by Tikz settings, I cannot ...
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
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
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
815 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' ...
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: ...
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? ...
11
votes
4answers
2k views

How to draw syntactical trees with parallel leafs for a natural language?

I need to draw syntactical trees for a natural language. The problem is that I need all the leafs to be parallel. How the other nodes are sorted in relation to the other at the same depth is not ...
9
votes
1answer
889 views

Positioning of numbers in gb4e.sty examples

I'm planning to use the following numbered examples in a document (see example below). I would like the number to be at the top of the example, but for the ones with diagrams it ends up in the middle. ...