summaryrefslogtreecommitdiff
path: root/info/examples/PSTricks_en/17-03-1.ltx
blob: 313659f01173793fd563f38291bb63a586315908 (plain)
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
%% 
%%  A DANTE-Edition example
%% 
%%  Example 17-03-1 on page 280.
%% 
%%  Copyright (C) 2011 Herbert Voss
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 
%% 
%% ==== 
% Show page(s) 1
%% 
\documentclass[]{article}
\pagestyle{empty}
\setlength\textwidth{177.70511pt}
\setlength\parindent{0pt}

\usepackage{pst-tree}

\begin{document}
\psset{tpos=.6}%  60% of the start
\pstree[treemode=R, thistreesep=0.75cm,
     thislevelsep=3cm,radius=2pt]{\Tc{3pt}}{%
  \pstree[treemode=U, xbbr=20pt]{\Tc{3pt}^{top}}{%
    \TC*^{left}
    \TC*_{right}}
  \TC*\ncput*{centre}
  \TC*_{bottom}%
}
\end{document}