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.

learn more… | top users | synonyms

11
votes
1answer
166 views

Is it possible to emulate qtree with forest?

This question was actually asked by Alan Munn in a comment to How do I create a LCM tree diagram?. I repeat (and self-answer) it here because the answer is too long to fit the margin :-) qtree is a ...
7
votes
2answers
442 views

Making node's fonts larger when using the qtree package

I'm using the qtree package in LaTeX, but the tree nodes have very small text. I'm also using \scalebox to scale down the tree since it does not fit in the page. Is there a way to increase the size ...
7
votes
1answer
106 views

Is it possible to use {tikz-qtree} along with {qtree}?

I've already drawn too many trees with qtree, but I've discovered that I'll need tree-dvips to draw movements, and this package is incompatible with pdf. I saw that it's quite simple to draw syntactic ...
7
votes
1answer
67 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 ...
6
votes
1answer
357 views

How do I draw a tree upside down in qtree?

How do I draw a tree upside down in qtree? So root at the bottom and leaves at the top.
5
votes
2answers
62 views

How can I use the same parameter for \Tree and \exi

The qtree package permits drawing syntactic trees with a syntax like this: \ex. \Tree [.S [.NP This ] [.VP [.V is ] [.NP an example ]]] The linguex package typesets bracketed expressions with a ...
5
votes
1answer
170 views

qtree: missing { inserted

\documentclass{standalone} \usepackage{qtree} \begin{document} \Tree [.A [.B [.D a] a [.E b]] [.C [.D c] b [.D c]] [.B [.D ...
4
votes
2answers
140 views

Restoring qtree spacing in tikz-qtree

Is it somehow possible to achieve the same node spacing in tikz-qtree as in the original qtree package? Compare the two: qtree: tikz-qtree: The spacing between nodes in one level should be the ...
4
votes
1answer
89 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
1answer
396 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? ...
3
votes
1answer
46 views

qtree items do not have the same baseline

I drew a tree with the qtree package. However, this tree has no consistent baseline. Screenshot: MWE: \documentclass{scrreprt} \usepackage{qtree} \begin{document} \Tree[.table ...
3
votes
1answer
238 views

Aligned columns in qtree?

I am currently taking a sentential logic class and we've just begun the chapter on truth-trees, so I've been looking into how to generate truth-trees with the qtree package. I think I've been able to ...
2
votes
2answers
95 views

How to position qtrees

Suppose, I have 2 qtrees, that I want to put below each other: \documentclass{article} \usepackage{tikz} \usepackage{tikz-qtree,tikz-qtree-compat} \usetikzlibrary{positioning} \begin{document} ...
2
votes
1answer
72 views

Why aren't qtrees aligned horizontally if they are at the end of a theorem with qed symbol enabled?

\documentclass{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{thmtools} \usepackage{qtree} \declaretheorem[name=Example,qed=\ensuremath{\triangleleft}]{example} ...
2
votes
1answer
60 views

xepersian and qtree incompatibility?

I am a linguist and want to display trees. I tried the the following code. \documentclass{article} \usepackage{xepersian} \usepackage{qtree} \begin{document} \begin{latin} gshjgsdjgsad ...
2
votes
1answer
71 views

How do I add a caption to a diagram generated with qtree?

I have a diagram that I created with qtree, but would like to add a caption to it. How can this be done?
1
vote
1answer
41 views

Tree with more levels

I'm working with the package qtree and I'd loved to make more levels. My code is: \begin{frame}[t]{\secname} \Tree [.{L} [.{L1} {\textit{Lag}: \\ ${\textstyle x=y$ \\ \small{C}} ] ...
1
vote
1answer
509 views

Trying to Install qtree

I copied the qtree.sty file to my /usr/share/texmf-texlive/tex/latex directory (pretty much everywhere there, in graphics/ , base/ even in qtree/) but when I run Lyx and insert the following command ...
0
votes
1answer
129 views

Is it possible to draw resolution proof tree in beamer

How to draw a resolution tree such as the example here
0
votes
0answers
387 views

How can I install the qtree package? [closed]

I want to draw trees in my document. After downloading the qtree.sty file and place it input the working folder, but when I add this: \usepackage{qtree}, LaTeX still complaint: ! LaTeX Error: File ...