I am trying to get a tree like this using the tikz package
and the syntax for this, according to a manual, is
\begin{tikzpicture}[mytree]
\node (top) {DP}
child {node {D\\the}}
child {node {NP}
child {node {Adj\\brown}}
child {node {NP\\dog}}};
\end{tikzpicture}
However, just copying and pasting this code gives me
It seems that \\ is not recognized. Am I missing something here?


