% Copyright 2026 Adi Edelhaus % % terminaltrees is licensed under the LaTeX Project Public % License, version 1.3c or any later version. % % Maintenance status: maintained % Current maintainer: Adi Edelhaus % Issue reports: https://github.com/edel67/terminaltrees/issues % % The files comprising this work are listed in manifest.txt. % See LICENSE for the full license terms. \documentclass{article} \usepackage[a4paper,margin=20mm]{geometry} \usepackage{terminaltrees} \input{terminaltrees-tests/trace.tex} \begin{document} Uneven subtrees and a terminal below a multiline neighbor: \begin{fittedterminaltree} [ROOT [A wide internal label [left] [next]] [center] [Tall\\multiline\\label [CHAIN [last]]] ] \end{fittedterminaltree} Coincident middle branch and unary chains: \begin{fittedterminaltree} [EXPR [EXPR [ID [x]]] [+] [EXPR [NUM [1]]] ] \end{fittedterminaltree} \end{document} .