Path: utzoo!attcan!uunet!mcsun!ukc!educ-isis!teexdwu From: teexdwu@ioe.lon.ac.uk (DOMINIK WUJASTYK) Newsgroups: comp.text.tex Subject: Re: Hierarchical trees (request) Message-ID: <1991Jan13.005051.28338@ioe.lon.ac.uk> Date: 13 Jan 91 00:50:51 GMT References: Reply-To: teexdwu@ioe.lon.ac.uk (DOMINIK WUJASTYK) Distribution: comp Organization: Institute of Education University of London Lines: 26 In article mernst@theory.lcs.mit.edu (Michael Ernst) writes: >I'm looking for a macro that will let me draw hierarchical trees in the >style of genealogical, organizational, or parse charts. I'd like to get > > A > | > -------------------------------- > | | | > B J K > | | > -------------------------------- L > | | | | | > C D E I ------- > | | | > ------------ M N > | | | > F G H > >from the "obvious" input, say > >\tree{A}[\tree{B}[C,D,\tree{E}[F,G,H],I],J,\tree{K}[\tree{L}[M,N]]] There's a file chomsky.tex that is in the standard TeX archives and will do exactly what you want. Dominik