I want smaller font size for all levels except the far out children (in the example below, everything except I saw Jane.) How do I do that with the forestset
?
\documentclass{article}
\usepackage[linguistics, edges]{forest}
\begin{document}
\begin{center}
\begin{forest}
forked edges,
[S
[subject
[pronoun [I]]
]
[predicate,before computing xy={s/.average={s}{siblings}}
[verb [saw]]
] [object
[noun
[Jane.]
]
]
]
\end{forest}
\end{center}
\end{document}
for tree={font=\tiny}
effects the entire tree font whereas the codewhere n children=0{font=\normalsize}{}
effects only the last level since the children are =0, from page 7 of the documentation -- ctan.imsc.res.in/graphics/pgf/contrib/forest/forest-doc.pdf