Michael Berger <idest <at> online.de> writes:

> 
> Dear list members,
> I need to have a*'*roof' where shown in the screenshot.
> This can be accomplished easily in 'Qtree' but for a couple of reasons I 
> am bound to use the forest package.
> Can somebody please, tell me how to do that?
> 
> Thanks and cheers,
> Michael*
> 
> *
> ------------------------------------------------------------------------
> Michael Berger, Dipl. Ing.
> Im Borngrund 7a
> D-35606 Solms
> idest <at> online.de
> Tel:  06442 706509
> Fax: 004932121247536
> 
>Dear list,
digging in the net I found below code myself, tried it and it works;
problem solved, hope it helps others as well.
Michael

\forestset{
sn edges/.style={for tree={parent anchor=south, child anchor=north,
align=center,base=bottom,where n children=0{tier=word,inner xsep=0pt,outer
sep=0pt}{}}},
background tree/.style={for tree={text opacity=0.2,draw
opacity=0.2,edge={draw opacity=0.2}}}
}
%\newcommand\HideWd[1]{%
%\makebox[Opt]{#1}%
%}
\begin{forest}
[*CP    (a)
        [Spec[Op]]
        [C'
                [C]
                [IP
                        [NP]
                        [I'
                        [I[{\textit{lame}}\\\scriptsize{[-an,+pro]}, 
align=center, base=bottom]]
                                [VP[...............,triangle]
]]]]]
\end{forest}






Reply via email to