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

2
votes
1answer
52 views

Two edges for same node and add circle to node

I have three issues with my qtree figure: How can I add more than one edges for the same child? How can I add a Circle to an edge? I can't get a clue on how to organize the nodes like the image: ...
1
vote
0answers
39 views

Drawing curved “domain” lines in qtree + tree-dvips (NOT tikz-qtree)

I'm trying to draw a curved line dividing two nodes in qtree in order to separate the domains. For example, in the following tree, I'd like to be able to put a horizontal curved line between VP and ...
1
vote
0answers
73 views

TikZ align nodes with different heights

iam trying to make a treeview with tikz of the different hazards modes that exist with lithium-ion batteries. now i have the problem that some nodes have a text with two lines and then it doesn't look ...
3
votes
1answer
52 views

One Diagram contain trees and caption

the situation is as follows: I have one diagram which contains six trees. I want to show the development of the trees. Within a empty line it is possible to adjust the trees paired (As we can see in ...
1
vote
2answers
70 views

qtree spacing and alignment

I have the following qtree \begin{center} \Tree[.{\tiny \ttfamily \itseries educated at}{\tiny \ttfamily ( Bush, University of Texas at Austin)} [. [. ...
3
votes
2answers
105 views

How to set distance between individual siblings in a tikz-qtree tree?

I have made this tree for my research project. I've just renamed all attributes for this question. You can see in the picture below that siblings on the top are very congested and the picture overall ...
4
votes
1answer
44 views

qtree and babel - escaping character no caught

I started using the package qtree to draw (simple) trees with LaTeX This package uses the ! to escape some commands/macros. I tried framing part of the tree, copy/pasting the example in the ...
1
vote
1answer
80 views

Producing “infinite” tree using qtree

I'm trying to produce a tree with infinite branches in each levels means from each 'stage' there are three branches without text and three dots in the end of each branch. Alas, When I try to run the ...
1
vote
0answers
218 views

How to draw phylogenetic tree? [closed]

I'm using Mac OSX Mavericks and have downloaded LaTex. I am currently learning how to draw phylogenetic tree. Can someone teach me? I have copied a sample of code for the phylogenetic tree. it uses ...
3
votes
1answer
73 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 ...
5
votes
1answer
293 views

Tree with six or more children

I'm using qtree and a tree with five children works perfectly: \documentclass{standalone} \usepackage{qtree} \begin{document} \Tree[.n 1 2 3 4 5 ] \end{document} But when I add another node: ...
1
vote
2answers
129 views

tikz-qtree: Beginners Problems

Hello im not a Linguist and have some trouble with trees. \begin{tikzpicture}[grow'=up] \Tree [.a [.b [.c [.d e]] [.f g] ...
2
votes
1answer
182 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> | ...
4
votes
1answer
149 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
124 views

store duplicated qtree subtrees for convenience

I am making a tree that reflects a number of different sequential choices. The lower parts of the tree will be repeated, so I'd like to store them in some shorter definition earlier on to make it ...
9
votes
2answers
5k 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 ...
10
votes
4answers
437 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 ...
1
vote
2answers
272 views

Fit qtree into a A4 page

I have a pretty complicated qtree. \Tree [.expr while [.expr not [.expr ( [.expr [.ID a ] <- ...
3
votes
1answer
135 views

How to align an equation horizontally in qtree, centering one character of my equation?

I have the following code for my qtree: \documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \makeatletter \usepackage{qtree} \makeatother \usepackage{babel} ...
4
votes
1answer
194 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!
5
votes
1answer
310 views

Linguex errors: “missing $ or } inserted” errors with qtree and glossed examples

this is my first question and I'm quite new to this. I have started using the linguex package and it works with all my examples except those including trees (drawn using qtree) or those with glosses. ...
7
votes
1answer
446 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
2k 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?
1
vote
1answer
126 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}} ] ...
5
votes
2answers
130 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 ...
0
votes
1answer
545 views

Is it possible to draw resolution proof tree in beamer

How to draw a resolution tree such as the example here
2
votes
2answers
492 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
868 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?
4
votes
2answers
637 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 ...
2
votes
1answer
168 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} ...
3
votes
1answer
124 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 ...
15
votes
1answer
542 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
1answer
223 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 ...
3
votes
0answers
3k 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 ...
2
votes
1answer
81 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 ...
5
votes
2answers
520 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 ...
5
votes
1answer
444 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 ...
6
votes
1answer
1k 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.
7
votes
2answers
1k 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 ...
1
vote
1answer
1k 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 ...
3
votes
1answer
602 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? ...