Debian Codegraph @

texmf-dist/doc/latex/tkz-elements/TKZdoc-elements-structure.tex

raw
1 \newpage
2 \section{Structure}
3
4 The package defines two macros \tkzMacro{tkz-elements}{tkzGetNodes} and \tkzMacro{tkz-elements}{tkzUseLua}.
5
6 Additionally, the package loads the file |tkz_elements_main.lua|. This file initializes all the tables used by the modules in which the classes are defined. It also defines the function \tkzFct{tkz-elements}{init\_elements()}, which resets all tables.
7
8
9 \begin{tikzpicture}[scale=.75]
10 \begin{scope}
11 \path[mindmap, concept color=MidnightBlue!60, text=white,text width=38mm,
12 level 1 concept/.append style={level distance=120mm,
13 sibling angle=72},
14 set angles for level/.style={level 2/.append style={
15 sibling angle=360/\the\tikznumberofchildren}},
16 level/.append style={set angles for level=2},
17 level 3 concept/.append style={level distance=20mm,
18 sibling angle=20},
19 L1/.style={level distance=45mm},
20 L2/.style={level distance=65mm,minimum size=2cm}]
21
22 node[concept,circular drop shadow] {|tkz-elements.sty|} [clockwise from=10]
23
24 child[concept color= MidnightBlue!80,minimum size=4cm,text width=38mm,
25 clockwise from=27] {
26 node[concept,circular drop shadow] {|tkz\_elements\_main|}
27 [clockwise from=0]
28 child[L2] { node[concept,circular drop shadow] {|Regular \_Polygon|} }
29 child[L2] { node[concept,circular drop shadow] {|Quadri\-lateral|} }
30 child[L2] { node[concept,circular drop shadow] {|Para\-llelogram|} }
31 child[L2] { node[concept,circular drop shadow] {|Rectangle|} }
32 child[L2] { node[concept,circular drop shadow] {|Matrix|} }
33 child[L2] { node[concept,circular drop shadow] {|Vector|} }
34 child[L2] { node[concept,circular drop shadow] {|Point|} }
35 child[L2] { node[concept,circular drop shadow] {|Line|} }
36 child[L2] { node[concept,circular drop shadow] {|Circle|} }
37 child[L2] { node[concept,circular drop shadow] {|Triangle|} }
38 child[L2] { node[concept,circular drop shadow] {|Conic|} }
39 child[L2] { node[concept,circular drop shadow] {|Square|} }
40 child[L2] { node[concept,circular drop shadow] {|OCCS|} }
41 child[L2] { node[concept,circular drop shadow] {|Path|} }
42 };
43 \end{scope}
44 \end{tikzpicture}
45
46 The current classes are:
47
48 \tkzClass{point} (z), \tkzClass{circle} (C), \tkzClass{line} (L), \tkzClass{matrix} (M), \tkzClass{occs} (O), \tkzClass{parallelogram} (P), \tkzClass{quadrilateral} (Q), \tkzClass{rectangle} (R), \tkzClass{square} (S), \tkzClass{triangle} (T), \tkzClass{vector} (V), \tkzClass{conic} (CO), \tkzClass{regular\_polygon} (RP) and \tkzClass{path} (PA).\\
49
50 The variable in parentheses indicates the name typically assigned to the table containing objects of the corresponding class.
51
52 If \tkzname{name} refers to a class, its definition can be found in the file \code{tkz\_elements\_name.lua}.
53 \endinput