- I use
forestfor the first time and have trouble understanding the (very good) manual. - I want to make the tree more compact (see annotation).
- Which parameter controls that?
\documentclass{article}
\usepackage[edges]{forest}
\begin{document}
\begin{forest}
forked edges,
for tree = {
align = center, % needed for "\" in nodes.
draw,
font = \tiny,
where level = 0{
}{
folder,
grow' = 0,
},
},
[0
[1]
[\ldots]
[2
[2.1]
[2.2]
[\ldots]
]
[3
[3.1]
[3.2]
]
[4
[4.1
[4.1.1]
[4.1.2]
[4.1.3]
[4.1.4]
[4.1.5]
]
[5.1
[5.1.1]
[5.1.2]
[5.1.3]
[5.1.4]
[5.1.5]
]
]
]
\end{forest}
\end{document}
Related


forked edges(instead offolder) node --- which is a bit tricky to achieve, as I don't think it would work if we first made it a folder and then a forked edges node. And I agree, it is more appropriate if this is a new question. – Sašo Živanović Mar 19 '21 at 07:51forest- I wasn't aware of it! Thanks for taking the time! – Dr. Manuel Kuehner Mar 21 '21 at 21:12