| 1 |
% example showing how two trees can be merged ``by hand'' |
| 2 |
% that is, you can take two trees generated by desc-tex2, |
| 3 |
% and put them aside, with a perfecr alignment, in that you create |
| 4 |
% invisible nodes. Just run this file through TeX to see what I mean. |
| 5 |
% |
| 6 |
% This was made after a suggestion by Michael P. Gerlek |
| 7 |
% |
| 8 |
% D. Roegel, 16 January 1995 |
| 9 |
% |
| 10 |
\input pstricks |
| 11 |
\input poster |
| 12 |
\input drsetup |
| 13 |
\Poster[hcenter=true,% |
| 14 |
vcenter=true,% |
| 15 |
clip=pstricks,% |
| 16 |
cropwidth=.4pt,paperwidth=210mm,paperheight=297mm] |
| 17 |
\vbox{\setbox0=\vbox{% Because \Poster processes in horizontal mode, |
| 18 |
% but the tree macros are in vertical mode. |
| 19 |
\tree{unframed;norules}% |
| 20 |
% Beginning of first tree |
| 21 |
\subtree{framed;rules:right}% |
| 22 |
node B1 |
| 23 |
\subtree{normal}% |
| 24 |
long node B2 |
| 25 |
\subtree{normal}% |
| 26 |
node B3 |
| 27 |
\endsubtree |
| 28 |
\endsubtree |
| 29 |
\endsubtree |
| 30 |
% End of first tree |
| 31 |
\subtree{unframed;norules}% once removed |
| 32 |
% Beginning of second tree |
| 33 |
\subtree{framed;rules:right}% |
| 34 |
node C |
| 35 |
\subtree{normal}% |
| 36 |
C1 |
| 37 |
\endsubtree |
| 38 |
\subtree{normal}% |
| 39 |
C2 |
| 40 |
\subtree{normal}% |
| 41 |
C2.1 |
| 42 |
\endsubtree |
| 43 |
\endsubtree |
| 44 |
\endsubtree |
| 45 |
% End of second tree |
| 46 |
\endsubtree |
| 47 |
\endtree |
| 48 |
}% End of \vbox |
| 49 |
\copy0 |
| 50 |
\vskip1cm |
| 51 |
\noindent\rlap{\hbox to\wd0{\hss%\credits |
| 52 |
}}} |
| 53 |
\endPoster |
| 54 |
\end |