Questions tagged [forest]
{forest} is about trees in {diagrams} created with the forest package. It is built upon {tikz-pgf}.
928
questions
3
votes
1
answer
43
views
Adding additional edges in the forest
I have the following graph created by "forest"
\documentclass[tikz,border=5pt]{standalone}
\usepackage{forest}
\usetikzlibrary{arrows.meta}
\begin{document}
\begin{forest}
for tree={...
3
votes
1
answer
139
views
Automatically giving nodes the name that is also used as their label
I draw a lot of connections between nodes by hand. For this the easiest way is to give the nodes the names that correspond to their node labels. The node that is displayed as clause should also have ...
4
votes
1
answer
74
views
Increasing the distance between tiers in forest
I try to get more space between the penultimate line and the line at the bottom in the following type hierarchy.
\documentclass{article}
\usepackage{forest}
\useforestlibrary{linguistics}
\...
0
votes
1
answer
71
views
Change my Forest figure
Question: How can I achieve figure 2 from figure 1 ?
MWE:
\documentclass{article}
\usepackage{tikz}
\usepackage{lscape}
\usepackage[edges]{forest}
\forestset{
calign to midchild or edge midpoint/....
3
votes
2
answers
142
views
A very basic autosegmental tree using forest
I need to draw a simple autosegmental diagram where the parent node (the feature name) branches into two children (segments), with the ability to control which of the branches are vertical. For ...
1
vote
1
answer
29
views
Forest branching
I need to change the branches of the following diagram
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{trees}
\usepackage{forest}
\begin{document}
\begin{forest}
for tree={...
4
votes
1
answer
44
views
Change line length between parent/child in forest
Consider the following forest:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[edges]{forest}
\begin{document}
\begin{forest}
forked edges,
for tree={fork sep=2mm,
grow=east,...
2
votes
1
answer
46
views
Increase line length in tikz forest
Suppose I have the following tree:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[edges]{forest}
\begin{document}
\begin{forest}
for tree={
grow=east,
parent anchor=...
3
votes
2
answers
190
views
Added an element in forest
Could you help me add the curved arrow that goes from alpha to beta on this figure?
It would be simpler with tikzpicture, but with forest I don't really see it.
\documentclass{article}
\usepackage{...
2
votes
2
answers
44
views
Draw coloured edges in forest
\documentclass[12pt,a4paper]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{amsmath, amsthm, amssymb}
\usepackage[ngerman]{babel}
\usepackage{forest}
\begin{document}
\...
3
votes
2
answers
44
views
Forest (linguistics) adding boxes and outer title
I have the following tree and I need to add another box and some text as illustrated in the second pic:
\documentclass{article}
\usepackage[linguistics]{forest}
\usepackage{tikz}
\begin{document}
\...
0
votes
1
answer
44
views
Forest Package Alignment Help
Using the forest package, I am trying to make:
\Tree
[.Red-Shirt
[.Black-Pants [.Red-Black-Outfit ] ]
[.Blue-Pants [.Red-Blue-Outfit ] ]
[.Red-Pants [.Red-Red-Outfit ] ]
[.Gold-Pants [.Red-Gold-...
3
votes
1
answer
163
views
Unable to use the forest package to make a tree
I am a little new to the forest package. Here is how I setup my forest package -
\newenvironment{abc}
{
\forest
for tree={
font=\sffamily\small, % <- Adjust font size here
grow'=0,
...
0
votes
0
answers
21
views
Equations Below Rotated Forest [duplicate]
I created the following graph:
\documentclass{article}
\usepackage{forest}
\usetikzlibrary{shadows}
\useforestlibrary{edges}
\usepackage{amsmath}
\usepackage[graphicx]{realboxes}
\usepackage[left=2....
-1
votes
1
answer
47
views
Black dots as nodes in a tree
I want to draw a tree like this one and the nodes should be black dots
\begin{forest}
[[[][]][[][]]]
\end{forest}
How can I do that?