Skip to main content

Questions tagged [qtree]

a package offering support for drawing tree diagrams, and is especially suitable for linguistics use. It allows trees to be specified in a simple bracket notation, automatically calculates branch sizes, and supports both DVI/PostScript and PDF output by use of pict2e facilities.

0 votes
1 answer
21 views

include a tree diagram (qtree) in a figure environment

I have the following WME it works fine but when I uncomment out the lines to put it in a figure environment it will not compile. \documentclass{book} \usepackage{tkz-euclide} \usepackage{tikz-qtree} \...
Paul A's user avatar
  • 1,117
5 votes
3 answers
237 views

Drawing partial trees of different sizes side-by-side

There exists an elaborate thread about how to draw rooted trees in LaTeX, e.g. for use in natural language applications. There exist packages other than TikZ to do this, like qtree or forest. However, ...
Mew's user avatar
  • 843
1 vote
1 answer
114 views

How to draw a curve to indicate syntactic domain in the qtree?

How to draw a curved line in the qtree and add a description like the following picture? \Tree [.n,v,aP [.n,v,a ] [.$\sqrt{P}$ [.$\sqrt{\alpha}$ ] [.$\sqrt{\beta}$ ] ] ] Thanks!
user296028's user avatar
4 votes
2 answers
240 views

Argument splitting using low-level Expl3 syntax

Using egreg's answer here I tried to create my own advanced command with key=value-style optional argument splitting, which was successful. Now how can I integrate the splitting of the mandatory ...
Vincent Krebs's user avatar
4 votes
1 answer
644 views

Problems with Springer Nature Template and qtree

I have a problem regarding the package qtree in combination with the Springer Nature Template. Once I put my paper in this template, the trees appear in a weird shape: the nodes appear separated, the ...
crealp's user avatar
  • 97
1 vote
1 answer
144 views

How to change the color of a subtree in qtree?

I was wondering if there is a way to change the color of a subtree with qtree. I saw there is a post that you can do this in forest, but I don't know if there is a way to do it on qtree or tikz-qtree. ...
crealp's user avatar
  • 97
2 votes
1 answer
57 views

Can I 'decorate' a simple `qtree`?

I have the following code which represents a package qtree tree: \Tree[.${((q \to (\neg r)) \land (\neg(p\lor q)))}$ [.${(q \to (\neg r))}$ [.$q$ ] [.${(\neg r)}$ $r$ ...
Fco Javier Balón's user avatar
1 vote
1 answer
47 views

Ending a tree with \ldots

I am trying to draw a simple tree in Beamer using tikz-qtree. To signal that the a branch of the tree I am drawing continues to infinity, I want one of the last node to be \ldots. However, because the ...
Guilhem's user avatar
  • 11
3 votes
2 answers
369 views

Large tree fit to page

I'm trying to accomplish drawing a tree for a tic-tac-toe game. The output of the tree will be rather large, and I would like the page to auto scale the size of the tree as it grows with appropriate ...
Ziggy's user avatar
  • 416
0 votes
1 answer
242 views

Create a stemma codicum using qtree

I've realized the following stemma codicum using forest. However, I am trying to see if it is possible to recreate the same result using qtree. So far, I have managed to create the following code but ...
Andrea 's user avatar
  • 135
2 votes
2 answers
148 views

Alignment of text nodes placed above paths and other issues in tikz qtree

I'm trying to set up a template for rendering decision trees using tikz-qtree. Here's what I ended up with : \documentclass[border = 0.2cm]{standalone} \usepackage{tikz} \usetikzlibrary{shapes, ...
Lucas's user avatar
  • 29
2 votes
1 answer
89 views

qtree not rendering left subtree

I am using the qtree package to try to render a tree. \Tree [.+ [.+ 1 [.+ 2 3 ] ] \qroof{\Tree [.+ [.+ 2 4 ] 6 ] \qquad \Tree [.+ [.+ 3 5 ] 7 ] }.A ] The code renders the following ...
user3893568's user avatar
0 votes
1 answer
117 views

Typing Brackets '[' ']' Within a Node in Tikz Q-Tree

I am trying to make a tree with Tikz Q-Tree wherein one of the nodes/the text shown needs to read: [+past]. However, brackets are used in the construction of the tree itself, so when I include them in ...
NLing's user avatar
  • 383
2 votes
2 answers
133 views

Aligning/Justifying a decision tree

I want to make a diagram that looks exactly like this one, without the red border. I am using the qtree package to get a similar result, but I get two problems. Firstly, I am unable to make a right-...
Asi Skarp's user avatar
3 votes
1 answer
78 views

How to draw Y type tree with qtree or tikz-qtree

Is it possible to draw unlabelled tree of the below type with qtree or tikz-qtree? Any suggestion..
Sandip Samanta's user avatar

15 30 50 per page
1
2 3 4 5
8