1

I'm trying to typeset a tree which grows upwards using the forest package. The problem I have is that as soon as I leave the first level, branches start growing back down again. Here's the code:

\begin{forest}{grow=north}
[A [B [a][b]] [C]]
\end{forest}

This gives me a tree looking like:

enter image description here

How can I fix this?

8

Apply growing option to the whole tree

\documentclass{standalone}
\usepackage{forest}

\begin{document}
\begin{forest}
for tree={grow=north}
[A [B [a][b]] [C]]
\end{forest}
\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.