File: ex1.tex

package info (click to toggle)
lifelines 3.0.50-2
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 11,140 kB
  • ctags: 6,517
  • sloc: ansic: 57,468; xml: 8,014; sh: 4,255; makefile: 848; yacc: 601; perl: 170; sed: 16
file content (54 lines) | stat: -rw-r--r-- 1,321 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
% example showing how two trees can be merged ``by hand''
% that is, you can take two trees generated by desc-tex2,
% and put them aside, with a perfecr alignment, in that you create
% invisible nodes. Just run this file through TeX to see what I mean.
%
% This was made after a suggestion by Michael P. Gerlek
%
% D. Roegel, 16 January 1995
%
\input pstricks
\input poster
\input drsetup
\Poster[hcenter=true,%
        vcenter=true,%
        clip=pstricks,%
        cropwidth=.4pt,paperwidth=210mm,paperheight=297mm]
\vbox{\setbox0=\vbox{%    Because \Poster processes in horizontal mode,
%   but the tree macros are in vertical mode.
\tree{unframed;norules}%
    % Beginning of first tree
    \subtree{framed;rules:right}%
    node B1
    \subtree{normal}%
    long node B2
    \subtree{normal}%
    node B3
    \endsubtree
    \endsubtree
    \endsubtree
    % End of first tree
\subtree{unframed;norules}% once removed
    % Beginning of second tree
    \subtree{framed;rules:right}%
    node C
    \subtree{normal}%
    C1
    \endsubtree
    \subtree{normal}%
    C2
    \subtree{normal}%
    C2.1
    \endsubtree
    \endsubtree
    \endsubtree
    % End of second tree
\endsubtree
\endtree
}% End of \vbox
\copy0
\vskip1cm
\noindent\rlap{\hbox to\wd0{\hss%\credits
                            }}}
\endPoster
\end