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

learn more… | top users | synonyms

2
votes
1answer
44 views

Tikzmark between syntactic tree and matrix?

I am trying to draw a line between the S node and the matrix, but have not been able to get it to work. What am I doing wrong? MWE: \documentclass[a4paper,12pt]{article} \usepackage{fontspec,tikz, ...
0
votes
0answers
31 views

Tikz-qtree for connecting syntactic trees and LFG feature matrices? [duplicate]

Is there any way to use tikz-qtree to draw lines from nodes in the tree to positions in a matrix? I need to be able to nest matrices, as well. Here is what I have in mind:
1
vote
1answer
47 views

Adjust edge endpoints depending on node label

I would like to draw a tree where the position of edge endpoints relative to the node depends on contents of the node, and may change between the parent edge and the child edges, to point out a ...
3
votes
1answer
50 views

Showing Tikz tree nodes after each other (using bracketing format of \Tree)

I want to display a tikz tree node by node. First A, then A and B and in the end all nodes. Note that I need to do it with the presented format: \Tree [. \node{A};] since trees are automatically ...
5
votes
1answer
63 views

tikz-qtree does not work with node

I am trying to create a tree using the tikz-qtree package. But I keep getting the following error. ! Paragraph ended before \@@@@litlabel was complete. Here is my tex-file: \documentclass[a4paper, ...
2
votes
2answers
99 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
81 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
1answer
152 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
215 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?
3
votes
1answer
62 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
440 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 ...
9
votes
3answers
421 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
127 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
355 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
236 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
155 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. ...
4
votes
4answers
162 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
245 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
124 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 ...
6
votes
3answers
229 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
84 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? ...
6
votes
1answer
137 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
236 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 ...
9
votes
2answers
3k 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
201 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
31 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} ...
2
votes
1answer
165 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
201 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
99 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
128 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
59 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
163 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
2k 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
69 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
183 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
163 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
270 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
29 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
111 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} ...
7
votes
2answers
576 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
165 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
184 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
312 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} ...
8
votes
2answers
380 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
564 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
230 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
498 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
330 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
345 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
467 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 ...