Questions tagged [tikz-qtree]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
57 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
107 views

Arrow placement issue in syntactic tree using tikz-qtree

I am trying to create a syntactic tree diagram using the tikz-qtree package, but I am encountering an issue with the placement of arrows in the tree. I have tried several solutions, but none of them ...
brassjin's user avatar
1 vote
1 answer
63 views

Aligning overbraces with other TikZ tree nodes

I'm using the tikz-qtree package to create a tree. Using \overbrace in a node changes the height of the node, but the anchor does not align with it. Using \underbrace works perfectly fine: \...
Survari's user avatar
  • 15
1 vote
2 answers
108 views

Conflict between tikz package qtree and tikzpicture

I am writing my thesis manuscript and I have a conflict with the tikz packages. I made this artificial neural network and I get this result at the base (expected). \documentclass{article} \usepackage[...
Zebra125's user avatar
  • 137
4 votes
2 answers
211 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
1 vote
3 answers
73 views

How to insert two syntax trees with brackets in a line with tikz-qtree?

I have been reading Heim & Kratzer 1998, and I find that the pattern of compositional analysis interesting. The tree drawing is difficult, for it need to insert two trees in a line and each tree ...
Shear1902's user avatar
2 votes
1 answer
49 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
54 views

Adding text to arrows in Tree

I am currently working on the following chart: What I am trying to do is to include 'Yes'and 'No' in their respective arrows rather than in its own box. This I what I have achieved so far: \...
user avatar
0 votes
1 answer
44 views

Tikz QTree gradient edges in exam choices

Tikz is drawing some (vertical) QTree edges with a gradient in an exam. I'm finding that these happen only when the tikzpicture is part of a choice and when it's not centered. For example, this ...
Kyle's user avatar
  • 381
1 vote
2 answers
97 views

How to make this type of graphs used to talk about regular rooted trees?

I have been checking different posts but I still do not fully comprehend how to make these types of graphs: I am also trying to draw these pictures, but I am not sure what tool I should use for this. ...
Gillyweeds's user avatar
0 votes
1 answer
141 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
0 votes
1 answer
91 views

Fitting a shape to nodes in a tikz-qtree

Goal: I would like to have a more systematic way to draw a shape around multiple nodes in a tikz-qtree, where the nodes are connected by edges. Currently, I manually adjust inner xsep and inner ysep ...
Psven's user avatar
  • 111
2 votes
1 answer
84 views

How to add optional arguments to tikz command

I used the code for adding overlay animations on tikz-qtree diagrams, suggested by Ignasi (tex.SE answer here). With this code, I can create the following animations: \documentclass{beamer} \...
Ernesto's user avatar
  • 375
1 vote
1 answer
51 views

Tikz-qtree label alignment issue

Is there anyway I can obtain that those labels get correct vertical alignment ? \documentclass{article} \usepackage{tikz} \usepackage{tikz-qtree} \tikzset{every tree node/.style={align=center, anchor=...
Vincent Krebs's user avatar
0 votes
1 answer
72 views

tikz-qtree align leaves at bottom of first line (multi-line leaves)

I'm trying to create trees using the tikz-qtree package where some leaves have additional information. However, I want the leaves to be aligned at the base of the first line. The MWE will show the ...
Ernesto's user avatar
  • 375
4 votes
1 answer
414 views

Forest latex how to go to next line in node child

I am just experiencing with forest, and I'd like to have a responsive child, and not to be in one line as shown in the figure below: I'd like to split the text of all child of 1 level. I already ...
Khalil Mebarkia's user avatar
1 vote
2 answers
89 views

How can I change `level distance` for a specific subtree of a tikz-qtree?

E.g., in the following example, I wish to set level distance=32pt just for the PP subtree. \documentclass[tikz]{standalone} \usepackage[utf8]{inputenc} \usepackage{tikz, tikz-qtree} \begin{document} ...
Artyom Skrobov's user avatar
0 votes
1 answer
42 views

Multiple colors inside a single leaf in tikz-qtree

I have a tree from tikz-qtree that looks like this: \documentclass{standalone} \usepackage{tikz} \usepackage{tikz-qtree} \tikzset{frontier/.style={distance from root=80pt}, every leaf node/.style=...
Ernesto's user avatar
  • 375
0 votes
2 answers
94 views

How to hide a higher node in tikz-qtree

I want to create a diagram on tikz-qtree that look something like this: Where "alt", "a", and "s" are aligned at the base, and "R", "AF", and "...
Ernesto's user avatar
  • 375
2 votes
1 answer
242 views

How to change tikz-qtree tree edge angle

I am looking to make a tree where the angle of the edge to children is the same at every level. I am aware that this might cause nodes to overlap. I want something that looks like this: But ...
Tim's user avatar
  • 141
2 votes
1 answer
159 views

Drawing a tree with rotated leaves using tikz-qtree

I'm trying to draw a tree with some text in the leaves that I'd like to rotate. The below code works fine except that the edges to the leaves are anchored to the right-hand side of the leaves rather ...
tomash's user avatar
  • 227
0 votes
1 answer
82 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
  • 363
1 vote
0 answers
57 views

Aligning material in delimiters within linguex examples

I'm trying to put trees (drawn with tikz-qtree) inside interpretation function brackets (scaled to the tree as suggested here (https://tex.stackexchange.com/a/133465) within a linguex example. ...
wugling's user avatar
  • 11
3 votes
1 answer
74 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
1 vote
0 answers
32 views

Times font error using tikz,tikz-qtree, tikz-qtree-compat

My codes are follows: \documentclass{book} \usepackage{times} \usepackage[normalem]{ulem} \usepackage{pifont} \usepackage{tipa} \usepackage{tikz,tikz-qtree, tikz-qtree-compat} \usepackage{bussproofs}% ...
MadyYuvi's user avatar
  • 13.2k
0 votes
0 answers
62 views

Time axis for forest/tikz-qtree tree

How to draw this tree with a time axis where node lengths are automatically set according to the time? I want to superimpose this tree into the graph. Only the length of the terminal nodes (P, V, A, ...
Aniruddha Kar's user avatar
4 votes
1 answer
290 views

Tikz-tree merging/recombining nodes

I need to draw a binomial tree, where nodes with the same value are merged together. Example: (But instead from left to right, I want it to be from up to down). Is there a way to do this with tikz-...
Tamar's user avatar
  • 69
2 votes
2 answers
316 views

tikztree edge from parent fork from parent to grandchildren doesnt look good

i want to create a function-structure. Im using pdflatex with texmaker, I also tried it with miktex. My problem is the following. The line from function0 to function4 is a bit weird, because its ...
Nelson's user avatar
  • 70
3 votes
1 answer
120 views

How to properly create a Tree? [duplicate]

I'm failing at the most basic of creating a tree with tikz-qtree. If I copy the correct string with correct formatting into Overleaf everything works fine. But if I do change too much it just breaks. ...
Jonas Schindler's user avatar
0 votes
1 answer
372 views

Copy the Merge sort recursion tree from tikz example with forest package

I'm trying to explain the execution time of an algorithm and I'm using the forest as a package to drawing tree, and with this post, I'm asking if is possible to draw the same tree in the figure below ...
vincenzopalazzo's user avatar
1 vote
2 answers
130 views

Reducing Size of Tikz-QTree [duplicate]

Only about half of the following tree shows up on my screen, but there is a tonnnnn of white space. Is there any way for me to reduce this and change the length of some of the lines in order for it to ...
NLing's user avatar
  • 363
0 votes
0 answers
171 views

Draw a tree-graph in Latex with Tikz or qtree

Is it possible to draw tree-graphs like the image below in LaTeX? I just need an idea of ​​how to write the first two levels of the tree. I believe that from there I can continue... thanks!!!!!
daniel robledo's user avatar
0 votes
0 answers
35 views

Connecting two nodes in a Tree [duplicate]

I'm trying to make a simple line connecting the same node. I'm using a simple qtree package. Here is what I have so far. \Tree [.\textit{sign} [.\textit{syn-sign} \textit{phrase} ] [.\textit{lex-sign}...
JJDoom's user avatar
  • 1
4 votes
2 answers
294 views

How to make edges to the leaf nodes horizontal in a TikZ horizontal tree?

I'm drawing a horizontal tree with tikz-qtree. The edges to the leaf nodes are slanted, while I want them to be horizontal. I guess the problem is caused by the blank nodes before those leaf nodes. ...
atlas's user avatar
  • 85
2 votes
1 answer
96 views

Drawing a pointed arrow which connects two trees

I'm trying to draw a pointed arrow which connects the two trees in tikzpicture below. So far I've only managed to draw a red line which connects one of the trees to the root node of the lower tree, ...
user65526's user avatar
  • 845
0 votes
0 answers
146 views

Tikz-qtree will not work (error: missing \endcsname inserted)

MikTex version is 2.9, Texstudio version is 2.12.22. I can't make the MWE quite as short as I'd like, because my document has a lot of prefatory material and requires many packages. Given that I have ...
blokeman's user avatar
2 votes
1 answer
194 views

remember picture not working with forest and tikzmark's subnode

According to the tikzmark documentation, when using \subnode, it should be possible to use ordinary node syntax (within a tikzpicture) to access this information. Thus after \node {a \subnode{a}{...
Adam Liter's user avatar
  • 12.5k
1 vote
1 answer
90 views

tikz-qtree: joining two lines at a node

I would like to create a structure like the one in the picture, where the \draw line connects two elements without a gap at the node. The closest I've gotten is: \documentclass[tikz]{standalone} \...
aktualitaet's user avatar
1 vote
1 answer
47 views

How to move around single elements

In the picture attached, I would like to either move the letters A B and the arrow up a little, so they are centered, relative to the tree (tikz-qtree) next to it, or move the tree down a bit. I'm new ...
user208344's user avatar
1 vote
2 answers
145 views

Captioning `qtree` trees

I want to have two trees aligned side by side within a footnote, both captioned and labeled. The following reports an error and produces misalignment. \documentclass{article} \usepackage[utf8]{...
bozidarka's user avatar
  • 950
0 votes
1 answer
466 views

Plotting: Regression Tree and Partitions

I am trying to reconstruct the following two graphs in Latex but have not succeeded yet. Altough I heard about the following two packages: \usepackage{tikz} \usepackage{tikz-qtree} I am not able ...
Hoi Du's user avatar
  • 3
0 votes
1 answer
141 views

Trying to add labels/descriptions to syntax trees in qtree

I'm trying to add descriptions to certain nodes in a Syntax tree. I'm using qtree, but I can't seem to find a way to do this. I'm also trying to box some, but not all of the nodes in the tree. Here's ...
sebastian05's user avatar
0 votes
1 answer
53 views

Unable to make skewed tree. Also how to draw curvy like box around some nodes as shown in the image below

I have tried to use the solution given in how to draw skewed (unbalanced) tree with tikz-qtree? answer but I am getting error. Undefined control sequence. \edge[draw=none]; My code is \Tree[.{...
Brij Raj Kishore's user avatar
1 vote
2 answers
311 views

Changing the width of a textbox in TikZ horizontal graph

I'm a beginner at TikZ, but I need a parent-child horizontal graph. My problem is that the boxes are a set width and I don't know how to change it. Looking through answers to similar questions I ...
Sharon's user avatar
  • 15
5 votes
2 answers
245 views

Leaf nodes in tikz-qtree are not aligned with parents when using grow=left

I am building a rotated tree using tikz-qtree. Whenever i use the setting "grow=left", the leaf nodes will be shifted a constant distance compared to their parent nodes, so that the lines between them ...
user43228's user avatar
0 votes
1 answer
116 views

Arrow with text in Qtree or tikz-qtree?

I'm using qtree and I'm having problems making the arrow with the text as in the image below Thanks ahead
Sam's user avatar
  • 1
3 votes
1 answer
262 views

Adjust roof height and width in tikz-qtree

I would like to adjust the height and width of certain roofs in my syntax trees. I'm particularly interested in getting a roof with a long phrase/sentence to look better. In the image below, the "um ...
Muriel Assmann's user avatar
5 votes
1 answer
106 views

tikz-qtree and tufte-book

I want to use tikz-qtree to add trees to a book formatted with tufte-book. For the most part, they work. However, one example does not. Consider the following minimal example: \documentclass{tufte-...
dmort27's user avatar
  • 53
2 votes
1 answer
49 views

Using tikz q-tree with an embedded macro

I am trying to create a macro which will create a tree which represents a given phrase. I've seen the explanations for \expandafter and have used it here, but when I embed this macro "\phrase" command ...
Jackirab's user avatar
  • 145
2 votes
2 answers
151 views

Hyperlinks in tikz-qtree

I am trying to include hyperlinks into a tree made by the tikz-qtree package. After compilation, all the nodes looks like links, but it seems that only the links in the right branch of the tree really ...
Kristyna's user avatar

1
2 3 4 5 6