Once again, as I didn't respond to the mailing list. (And also corrected one
mistake regarding the \breaknode command)

On Wed, Feb 27, 2008 at 7:51 AM, Yizhi Cai <[EMAIL PROTECTED]> wrote:


> the next problem is I would like to add notations to some nodes.
>
What exactly do you mean with notations to some nodes? I think it's not
possible to add footnotes to qtree nodes. And writing something above the
branches also isn't possible. If you need this feature, have a look at the
xyling package 
(http://www.ling.uni-potsdam.de/~rvogel/xyling/<http://www.ling.uni-potsdam.de/%7Ervogel/xyling/>).
It is far more flexible, but also much more complex to use.


> And I added: \renewcommand{\breaknode}{\\} in the preamble. When I tried
> to export PDF, it says "LaTeX Error: \breaknode undefined."
>
If you add "\newcommand{\breaknode}{\\}" to the preamble, it doesn't work,
as your LaTeX environment doesn't provide for a \breaknode command. Thus,
you cannot renew it.

But I am afraid, that this command only inserts a linebreak inside a node.
Like that, you can create a Tree like

Node1
Notation for Node 1
|                            \
Node2                         Node3
Notation for Node 2       Notation for Node3

If that is what you need, you can also add the tree in a ERT-inset (without
hitting C+m twice) like
\Tree [.Node1\\{Notation for Node 1} Node2\\{Notation for Node 2}
Node3\\{Notation for Node 3} ]

This creates the above drawn tree.

I hope that helps.

Dominik

Reply via email to