I am trying to make a linguistics tree using the forest package, as in the second example in this thread. I was able to generate the tree for the most part, but I cannot draw the triangle for some reason.
Here is my MWE:
\documentclass{article}
\usepackage{forest}
\usepackage{amsmath,amsfonts,amssymb}
\begin{document}
\begin{forest}
for tree={
if n children =0{
font=\itshape,
tier=terminal
}{},
}
[TP
[NP
[Det
[The]
]
[$\bar{N}$
[N
[ice]
]
]
]
[$\bar{T}$
[T
[+pst,font=\scshape]
]
[VP
[$\bar{V}$
[V
[melt]
]
]
[AdvP
[quickly,triangle]
]
]
]
]
\end{forest}
\end{document}
When I run this, I get the following error:
! Package pgfkeys Error: I do not know the key '/tikz/triangle' and I am going to ignore it. Perhaps you misspelled it. See the pgfkeys package documentation for explanation. Type H for immediate help.... \end{forest}
I am running Texmaker 4.4.1 on MiKTeX 2.9. My pgf version is 3.0.1a, and I am using pdfTeX version 3.1415926-2.5-1.40.14. A redditor was able to run the code on pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian).
Curiously, I was also successful on my MacBook, using Texmaker 4.2, TeX Live 2014, pgf 3.0.0., and pdfTeX 3.1415926-2.6-1.40.15.
Is there perhaps some way to downgrade my version of pgf? Or is there error from something else?
