[OS X TeX] a (q)tree upside-down

Alan Munn amunn at msu.edu
Sat Sep 16 11:35:53 EDT 2006

At 9:13 AM -0400 9/16/06, Alan Munn wrote:
>At 12:19 PM +0200 9/16/06, Florian Grammel wrote:
>>Dear all,
>>I've successfully (mis)used qtree to include 
>>some simple genealogy (descendants of Š) into 
>>my document.
>>Now I would need another chart, that displays 
>>the _ancestors_ of a person. I don't have to do 
>>anything complicated, just one man and the 
>>connection to one of his great-grandfathers on 
>>each side. A simple two-branched tree like this 
>>can be made with any of the many (linguist) 
>>tree-packages that I've looked at, but I 
>>couldn't find any, that allows me to put the 
>>node at the bottom of the tree.
>Here's a quick solution using qtree. I don't 
>know of one that is tailor made.  It uses the 
>rotating pacakge to turn the tree and defines a 
>command to rotate the text in the tree 
>separately. Since I don't know exactly what your 
>genealogical trees look like I just turned a 
>simple linguistic tree upside down.  The output 
>is not perfect, since there are some spacing 
>issues that differ from the non-rotated tree as 
>you can see when you LaTeX the example.

The spacing problem for the node labels can be 
improved by using the following \newcommand IN 
ADDITION to the \RT command in my previous post.

Notice that in this tree, the non-terminals are 
simply using the regular qtree label conventions 
(and are rotated by \qtreelabelhook) while the 
terminals still must be rotated with the \RT 


\Tree [.NP [.NP \RT{John} ] \RT{and} [.NP \RT{Mary} ] ]


Alan Munn 
amunn at msu.edu
Department of Linguistics                             
and Germanic, Slavic, Asian and African Languages   Fax.  +1-517-432-2736
Michigan State University, East Lansing MI 48824       Tel.  +1-517-355-7491
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/

More information about the MacOSX-TeX mailing list