Skip to main content

Questions tagged [tikz-qtree]

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

Filter by
Sorted by
Tagged with
0 votes
2 answers
41 views

Cannot write \Cup in tikz-qtree binary tree structure in LateX

I stumbled upon this problem while trying to create a LateX binary tree in my Overleaf project. Through online tutorials, I found out how to construct said binary tree through the tikz-qtree package ...
Rewerter Retrewer's user avatar
1 vote
1 answer
28 views

Combination of tikz-qtree and standalone

My question is related to this topic: How to convert tikz in eps and include it in same time within a TeX file Here is my MWE. I do not know why it does not work: \documentclass[tikz]{standalone} % ...
test's user avatar
  • 181
2 votes
2 answers
73 views

Any new and nice way to plot phylogenetic tree in LaTeX from an external csv file?

To start off, I have no code to show as I didn't have even a single semi-positive run. I tried everything from basic trees, to trying to be smart with coordinate plots, but failed spectacularly. I ...
Miloop's user avatar
  • 978
1 vote
1 answer
41 views

Tikz-qtree lines to the right direction are not straight with multiline texts

I have this following tex document: \documentclass[10pt]{article} \ExpandArgs{c}\newcommand{new@fontshape}{anything} \usepackage{linguex} \usepackage[russian,indonesian]{babel} \usepackage[none]{...
pindakazen's user avatar
0 votes
1 answer
42 views

Using tkz-berge with other tikz packages loading order

I use the standalone package to preview my tikz pictures without compiling a full document. So the preamble contains all the packages I use. I get an error for most of the \gr* macro of the tkz-berge ...
c05772's user avatar
  • 864
1 vote
1 answer
113 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
124 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
69 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
130 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
  • 147
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
1 vote
3 answers
132 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
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
127 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
67 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
  • 391
1 vote
2 answers
133 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
240 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
0 votes
1 answer
152 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
96 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
  • 385
1 vote
1 answer
52 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
114 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
  • 385
4 votes
1 answer
587 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
113 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
56 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
  • 385
0 votes
2 answers
120 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
  • 385
2 votes
1 answer
313 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
217 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
116 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
1 vote
0 answers
73 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
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
1 vote
0 answers
35 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.9k
1 vote
0 answers
77 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
371 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
424 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
  • 80
3 votes
1 answer
250 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
457 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
147 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
  • 383
0 votes
0 answers
226 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
339 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
98 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
167 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
230 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.7k
1 vote
1 answer
99 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
155 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
  • 970
0 votes
1 answer
583 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
162 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
56 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
390 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
264 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

1
2 3 4 5 6