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

learn more… | top users | synonyms

2
votes
1answer
33 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
165 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
375 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
94 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
280 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
167 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
107 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
104 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 ...
2
votes
1answer
115 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
95 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
150 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
68 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
90 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
190 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
1k 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
130 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
104 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
183 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
85 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
100 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
56 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
98 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
960 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
64 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
153 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
119 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
241 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
26 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
99 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} ...
5
votes
2answers
390 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
148 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!
2
votes
0answers
126 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
216 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
249 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
384 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
186 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
427 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
266 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
280 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
386 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
375 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
273 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 ...
7
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
187 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
428 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
556 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
247 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
391 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?
1
vote
1answer
252 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 ...