Tagged Questions

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

learn more… | top users | synonyms

2
votes
2answers
76 views

How to elongate the branches attached to one specific node?

I'd like to make longer only two immediate branches attached to the VP node (red ones in the picture) without altering the height of the other branches above and below. Any idea? Thanks! ...
2
votes
1answer
57 views

gb4e item numbers with tikz-qtree trees

I am using gb4e for numbered examples in my dissertation, since most of my examples are interlinear glosses. I am also including syntax trees, using tikz-qtree. One problem, though, is how to keep ...
4
votes
0answers
76 views

How to change the color of subtrees in tikz-qtree?

Is there an elegant way to color subtrees in tikz-qtree, without going through each of the respective nodes and edges by hand? The following code example shows the ugly way: ...
6
votes
2answers
155 views

How to add text around/below a node using tikz-qtree?

I read many examples in tikz-qtree, but I didn't find one which illustrates how to add text around/below a node using qtree. Anyone knows how to draw the following tree using tikz-qtree?
2
votes
1answer
51 views

qtree with fullstop

I want to draw a constituent tree for a sentence ending with a full stop, but this gives errors in qtree. This is the example without a full stop. Now I want to add a full stop to the end, which is ...
7
votes
1answer
326 views

tikz complex mindmap of all disciplines and subdisciplines of knowledge

just started using LaTex yesterday and I am stuck on my very ambitious diagram of all disciplines of knowledge. Problems (some simple, some probably more complicated): change the page size to even ...
8
votes
3answers
400 views

Mendelian Inheritence Chart

I would like to be able to create a simple chart that depicts Mendelian Inheritence, like this one: I'm not too picky about how it looks, as long as it depicts it accurately. Thanks!
2
votes
1answer
112 views

Regular Expression AST with forest or qtree

I would like to represent an abstract syntax tree over a regular expression. Preferable in the form of the following tree: <regexp> | ...
6
votes
3answers
324 views

Upside-down syntax trees for linguistics with horizontal lines

I know that syntax analysis can be done in Latex using using TikZ, but the tree-structure that produces isn't really used in my country. Here, we mostly use straight lines instead of hierarchy trees. ...
2
votes
2answers
203 views

Straight and non-straight parent-child connections in tikz-qtree

I want to acheive something of this sort, (without the bounding boxes): Here, the first child has a straight line from the parent, and the following ones are diagonal. What tikzset settings will ...
2
votes
2answers
142 views

Centering vertically inside a block with figures

I want to center vertically different height figures inside the block they reside in. I use the 'tikz-qtree' for the trees, and I want the '5' tree and the right arrow aligned vertically. ...
3
votes
3answers
122 views

How do I make trees with straight skeletons or spines?

I'm a new/beginner LaTeX user, and I would like to make syntactic trees with straight spines, somewhat like the ones here: http://tanvirdhaka.blogspot.com/2010/01/phrase-structure-grammar.html Or ...
3
votes
1answer
197 views

Align leaves of a tree

I have the following tree in which the left-most leave is out of sync: \documentclass{minimal} \usepackage{tikz-qtree} \begin{document} \begin{tikzpicture} \tikzset{level 1+/.style={level ...
4
votes
1answer
113 views

Vertical left branch in qtree

Let's consider a really simple tree like the following : \documentclass[12pt]{beamer} \usepackage{qtree, tikz-qtree, tikz} \begin{document} \begin{frame}{Title} \begin{tikzpicture} \Tree [.XP ...
5
votes
3answers
205 views

reducing white space below tikz-qtree tree

I am including syntactic trees in my dissertation. Below each tree there is a tremendous amount of white space, which will cause the university's editorial office to scream and howl and moan, then ...
3
votes
1answer
75 views

Having nodes at the baseline and in mid-air with tikz-qtree

I want to draw the following tree: What I have so far is the following, but this code puts all nodes onto the baseline. I would like to keep T° and Foc° up. Is there a way to achieve this? ...
5
votes
1answer
108 views

aligning several trees to the baseline

I want to have the following trees aligned to the baseline. There is a problem which is probably due to the "g" in some of the trees. How do I get these trees aligned? I tried \strut, but this somehow ...
3
votes
1answer
220 views

Drawing arrows to nodes in trees

I try to draw rhe following three figures. The left is just a sequence of symbols NP V NP AP, the middle one is a unary branching tree and the right one is a binary brancing tree. I want to place a V ...
8
votes
2answers
2k views

How can I produce this tree diagram in LaTeX?

I want to create the tree diagram shown below in TeX code (with the Level 1... level 3 by the side of the tree diagram). Also, I would like to know how to just put bullet points under a box. For ...
8
votes
2answers
176 views

Need help with making Logic Trees in qtree/tikz-qtree (i.e. aligning, numbering lines)

I would like to make something similar to the logic tree below. I've tried using tikz-qtree, but I can't figure out how to number every line in the tree. I did however find something else doable in ...
0
votes
0answers
30 views

What is the problem with this tikz-tree [duplicate]

This is just an example code of tikz-qtree. It fails to typeset. I am not getting what syntax error I am introducing even after looking carefully. Kindly help \documentclass{article} ...
1
vote
1answer
130 views

problem with tikz-qtree

When I type set this example, I get I, love, my , country as four different nodes. I know I am not able to get a syntax for enclosing MULTIPLE words together for tikz-qtree. I tried to look ...
4
votes
2answers
190 views

Progressive tikz picture in beamer

I have the following slide in my beamer presentation : \documentclass[11pt]{beamer} \usepackage{ulem} \usepackage{tikz-qtree} \usepackage{tikz-qtree-compat} \usetikzlibrary{positioning} ...
1
vote
1answer
95 views

How to Create an un-ordered tree in LaTeX?

Is there a way to create a tree in LaTeX without using any "ordering" ? So far, all the examples I came across are structured in this way child{ node [arn_n] {20} child{ ...
5
votes
1answer
108 views

Arrow disappearing

For some reason the arrow between S/V/NP and V'V is not drawn. I have no idea why ... \documentclass{article} \usepackage{tikz-qtree} \tikzset{every roof node/.append style={inner sep=0.1pt,text ...
3
votes
1answer
58 views

Use of \Tree with a macro

I am using the qtree to produce some trees, for example with this syntax \Tree [.foo bar ]. Now, I have automated some part of the tree and get troubles. When I place [.foo bar ] inside of a macro, ...
5
votes
1answer
139 views

Remember coordinate in nested tikzpicture points to a weird place

I have problems with remembering the coordinates of names defined in nested tikz pictures. Look at the following minimal working example: \documentclass{article} \usepackage{tikz-qtree} ...
8
votes
2answers
1k views

How to draw empty nodes in tikz-qtree?

I'm new to tikz-qtree, and I would like to reproduce this figure in LaTeX: So far, I've managed to cobble this bit of code, but the results are a bit comical, as the empty nodes (those without ...
1
vote
1answer
67 views

Qtree Text Positioning

My document looks like this: \documentclass{beamer} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{tikz} \usepackage{tikz-qtree,tikz-qtree-compat} ...
3
votes
2answers
170 views

Logic tree with tikz-tree — placing nodes on specific places

I am trying to reproduce the following with tikz: And also: Regarding the first image I could start with: \documentclass{article} \usepackage{tikz-qtree} \usepackage{tikz-cd} \tikzstyle{every ...
2
votes
1answer
147 views

How to improve the spacing of branches in a tree?

I am trying to build a tree but the length of branches is of uneven size. Moreover, I might need to change the labels to strings of shorter/larger length. Do you have some suggestions to improve this ...
7
votes
1answer
254 views

Automatic connection of text points in tikz-qtree

I have to draw pictures like the following a lot: I want to use tikz-qtree, since I have a lot of trees and this package simplifies things considerably. Right now I use the following code, since it ...
0
votes
0answers
27 views

Alignment with tikz-qtree [duplicate]

When using labels with different lengths with tikz-qtree, tree nodes are sometimes not aligned. See the following MWE: \documentclass{scrreprt} \usepackage{tikz-qtree} \begin{document} ...
1
vote
1answer
106 views

Connecting text in a tikz-qtree with other text by arrow

I want to connect the NP[...], NP[...] text in the left daughter of the following tree with the NP[...], NP[...] in the right daughter. \documentclass{article} \usepackage{xspace} ...
6
votes
2answers
460 views

More efficient way to draw movement arrow to roof in tikz-qtree

When drawing syntactic representations in linguistics, one often uses a triangle to represent a unit whose internal structure is irrelevant. This can be accomplished with the tikz-qtree command ...
4
votes
1answer
155 views

Drawing tree in text (like inline math)

Is there a way to draw (with tikz/tikz-qtree) a tree directly in the text, like the inline math command? For a small tree with 2 or 3 nodes? Thanks!
3
votes
1answer
161 views

Tikz-Qtree asymmetric and ref to label turning up at the bottom of the tree instead of the top

I recently switched to tikz-qtree from qtree, but I run into two problems: The tree is asymmetrical. The reference (1) turns up at the bottom of the tree instead of the top I am thankful for any ...
1
vote
1answer
271 views

Vertical distance in tikz-qtree nodes

I have put together a language tree using the following code (MWE): \documentclass[b5paper,11pt,twoside,one column,openright,draft]{memoir} \usepackage{rotating} \usepackage{tikz-qtree} ...
7
votes
2answers
345 views

Tree in a growing bracket

I try to enclose my syntax tree in a growing double bracket using \left \llbracket ... \right \rrbracket. However, the tree always sits in the lower half and leaving the upper half blank, which is ...
4
votes
1answer
496 views

Edge label distance from edge in TikZ-qtree

I'm making a tree using TikZ-qtree, and I need to put labels on my edges. Right now it looks something like this: \begin{tikzpicture} \Tree [.$\alpha$ \edge node[left, ...
5
votes
2answers
207 views

Upside down tikz-qtree with concentrated edges

I would like to create an upside down tree with concentrate edges and labels inside the nodes as labels above them. Right now I've come so far. But I still need the edges to concentrate/combine and ...
8
votes
2answers
475 views

how to draw a diagram that forks out, then joins in the middle then forks out again?

Update: ref comments: I've slightly corrected the terminology and the title. I am using the term diagram now, instead of tree, and I am just asking on how to draw this diagram in Tikz. Any tool or ...
6
votes
1answer
307 views

How to set optimal level distance in qtree when different nodes have very different amount of text?

I am really a newbie in tikz (about 12 hrs experience) but I think I need to some hint on this. I am using tikz-qtree. Some of the nodes can contain more text than others. I set the text width to a ...
6
votes
1answer
328 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
435 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
429 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
302 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
205 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
516 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 ...