I have the following code in LaTeX:
\begin{figure}
\centering
\begin{tikzpicture}[nodes={draw, circle}, -,
level/.style = {level distance = 1.5cm, sibling distance = 1cm},
level 1/.style={sibling distance=3cm}]
\node [minimum size=0.75cm]{$\rightarrow$\strut}
child { node[rectangle, minimum size=0.75cm] {a\strut} }
child { node [minimum size=0.75cm] {$\land$}
child { node [rectangle, minimum size=0.75cm] {b\strut}}
child { node [rectangle, minimum size=0.75cm] {c\strut}}
child { node [rectangle, minimum size=0.75cm] {d\strut}}
child { node [rectangle, minimum size=0.75cm] {e\strut}}
}
child { node[rectangle, minimum size=0.75cm] {g\strut} }
child { node [minimum size=0.75cm] {$\times$}
child { node [rectangle, minimum size=0.75cm] {h\strut}}
child { node [rectangle, minimum size=0.75cm] {\tau \strut}}
}
child { node [minimum size=0.75cm] {$\land$}
child { node [rectangle, minimum size=0.75cm] {i\strut}}
child { node [rectangle, minimum size=0.75cm] {j\strut}}
child { node [rectangle, minimum size=0.75cm] {k\strut}}
child { node [rectangle, minimum size=0.75cm] {l\strut}}
child { node [minimum size=0.75cm] {$\times$}
child { node [rectangle, minimum size=0.75cm] {m\strut}}
child { node [rectangle, minimum size=0.75cm] {\tau \strut}}
}
}
child { node[rectangle, minimum size=0.75cm] {n\strut} };
\end{tikzpicture}
\end{figure}
It produces this output:
How can i set the distance between g, the logical and, the multiplication symbol and the right and so that the tau and i node do not overlap?


[sibling distance=15mm]within a child to only affect that child. But there are also more automatic ways usingqtreeorforest, see TikZ tree sibling distance. – dexteritas Mar 09 '23 at 13:30