-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbig-tree.tex
98 lines (92 loc) · 2.29 KB
/
big-tree.tex
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
%% big-tree.tex
%Copyright (C) 2019 N. Rochant
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% any later version.
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% You should have received a copy of the GNU General Public License
% along with this program. If not, see <https://www.gnu.org/licenses/>.
\usepackage[edges]{forest}
\clearpage
\thispagestyle{plain}
\newcolumntype{C}[1]{>{\centering}p{#1}}
\begin{figure}
\begin{adjustwidth}{-.1in}{-.1in}
\begin{center}
\small
\advance\leftskip-22mm\vskip-17mm
\begin{forest} for tree={
if level=0{align=center}{% allow multi-line text and set alignment
align={@{}C{25mm}@{}},
},
grow=east,
draw,
font=\bfseries,
edge path={
\noexpand\path [draw, \forestoption{edge}] (!u.parent anchor) -- +(5mm,0) |- (.child anchor)\forestoption{edge label};
},
parent anchor=east,
child anchor=west,
l sep=10mm,
tier/.wrap pgfmath arg={tier #1}{level()}
}
[\textbf{Nakh-Daghestanian}
[\textbf{Daghestanian}
[\textbf{Avar-Andic-Tsezic}
[Avar]
[\textbf{Andic}
[\textbf{Andi}]
[Akhvakh]
[Bagvalal]
[Botlikh]
[Godoberi]
[Karata]
[Tchamalal]
[Tindi]
]
[Tsezic
[Bezhta]
[Hinukh]
[Hunzib]
[khvarchi]
[Tsez]
]
]
[Lak]
[Dargic
[Dargwa]
[Akusha]
[Urakhi]
[Kubachi]
[Chirag]
[Mehweb]
[Itsari]
[Kaitag]
]
[Lezgic
[Agul]
[Archi]
[Budukh]
[Kryz]
[lezgian]
[Tabassaran]
[Rutul]
[Tsakhur]
[Udi]
]
[Khinalug]
]
[Nakh
[Bats]
[Chechen]
[Ingush]
]
]
\end{forest}
\end{center}
\end{adjustwidth}
\end{figure}