-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomp_tree.tex
More file actions
42 lines (37 loc) · 787 Bytes
/
comp_tree.tex
File metadata and controls
42 lines (37 loc) · 787 Bytes
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
%%-*-latex-*-
\documentclass[11pt]{article}
\usepackage{pst-tree,pst-eps}
\SpecialCoor
\begin{document}
\TeXtoEPS
%\psset{showbbox=true}
\psset{radius=3pt}
\pstree[nodesep=0pt,levelsep=15pt,treesep=7pt]{\rnode{Root}{}\TC}{
\pstree{\TC}{
\pstree{\TC}{
\Tf[framesize=6pt]
\Tf[framesize=6pt]
}
\pstree{\TC}{
\Tf[framesize=6pt]
\Tf[framesize=6pt]
}
}
\pstree{\TC}{
\pstree{\TC}{
\Tf[framesize=6pt]
\Tf[framesize=6pt]
}
\pstree{\rnode{Leaf}{}\TC}{
\Tf[framesize=6pt]
\Tf[framesize=6pt]
}
}
}
%\pcline[linestyle=dashed](Root)(1,0|1,0)
%\pcline[linestyle=dashed](Leaf)(1,0|1,-1.05)
%\psset{arrowscale=2,linewidth=0.2pt}
%\pcline[arrows=<->](1,0)(1,-1.05)
%\ncput*{\(h=3\)}
\endTeXtoEPS
\end{document}