Newsgroups: fj.comp.texhax
Path: galaxy.trc.rwcp.or.jp!jaist-news!cs.titech!nirvana.cs.titech!wnoc-tyo-news!waseda-mail!wsdnws!musashi-tech!ops!uainoue
From: uainoue@ipc.musashi-tech.ac.jp (INOUE Koichi)
Subject: Re: Q. styleuse no stylefiles
In-Reply-To: u9113013@mbox.sist.ac.jp's message of 10 Jan 94 01:11:45 GMT
Message-ID: <UAINOUE.94Jan17170036@jupost.ipc.musashi-tech.ac.jp>
Lines: 52
Sender: usenet@musashi-tech.ac.jp
Nntp-Posting-Host: jupost
Organization: Musashi Institute of Technology
References: <U9113013.94Jan10101145@vesta.mbox.sist.ac.jp>
Distribution: fj
Date: Mon, 17 Jan 1994 08:00:36 GMT
Xref: galaxy.trc.rwcp.or.jp fj.comp.texhax:4411
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.comp.texhax&nb=4411&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

$B0f>e!wIpB"9)Bg$G$9!#(B

In article <U9113013.94Jan10101145@vesta.mbox.sist.ac.jp> u9113013@mbox.sist.ac.jp (odagi hideki) writes:
>$B:G8e$K!"(Begtree.sty $B$G$9$,!"(Btree.sty $B$KNcBj$r%^!<%8$7$?$b$N$@$=$&$G$9$,!"(B
>$B$=$NNcBj$,$&$^$/$G$-$J$$$N$G!"$I$3$,$$$1$J$$$N$+65$($F2<$5$$!#(B

\makeatletter\makeatother$B$G$O$5$s$G$d$k$H$$$$$N$G$O!)(B

>\documentstyle[tree]{article}

$B$3$3$K(B\makeatletter

>%% modification follows : based on Isozaki's orignal treetest.tex
>\newcommand{\@bsstack}[1]{\fbox{\shortstack{#1}}}
>\newcommand{\@sstack}[1]{\shortstack{#1}}
>\def\treeroot{\@ifstar{\@btreeroot}{\@treeroot}}
>\def\@btreeroot#1#2{\tree \@bsstack{#1}#2 \endtree}
>\def\@treeroot#1#2{\tree \@sstack{#1}#2 \endtree}
>\def\branch{\@ifstar{\@bbranch}{\@branch}}
>\def\@bbranch#1#2{\subtree \@bsstack{#1}#2 \endsubtree}
>\def\@branch#1#2{\subtree \@sstack{#1}#2 \endsubtree}
>%
>\def\LEAF{\@ifstar{\@bLEAF}{\@LEAF}}
>\def\@bLEAF#1{\leaf{\@bsstack{#1}}}
>\def\@LEAF#1{\leaf{\@sstack{#1}}}

$B$3$3$K(B\makeatother

>\begin{document}
>\treeroot{Animal}
> {\branch*{Bird}
>   {\LEAF{Penguin\\Cardinal}
>    \LEAF*{Ostrich}
>    \LEAF{Robin}}
>  \branch{Mammal}
>   {\LEAF{Human Being}
>    \branch{Dog}{\LEAF{Sheep Dog}
>                 \LEAF*{Dachshund}}
>    \LEAF{Cat}}}
>\end{document}

>LaTeX error.  See LaTeX manual for explanation.
>              Type  H <return>  for immediate help.
>! Command name '@' already used.

$B$O(B\@$B!J$3$N(B@$B$O(Bcatcode$B$,(B12$B$N$d$D!K$,$9$G$K$"$k$N$GJQ$@$h$H$$$C$F$/$k$N$G$9!#(B
--
         $BCg(B        $BCg(B
---$BJbJbJbJbJbJbJbJbJbJbJbJb(B---------------------------------------------
   $B2#C(HtGON6;bK[N6GOHtC(2#(B                                    $B0f>e9@0l(B
   $BH?(B  $B3Q(B  $B8WsJK18W(B  $B3Q(B  $BH?(B     e-mail : uainoue@ipc.musashi-tech.ac.jp
---$B9aI?F<6d6b2&>]6b6dF<I?9a(B--------------$B$=$l$G$b;d$OM}@-$r?.$8$F$$$^$9(B-
