修訂 | fda8da977279511274b2c5aad229578aa6dc7a60 (tree) |
---|---|
時間 | 2019-08-29 19:04:34 |
作者 | Lorenzo Isella <lorenzo.isella@gmai...> |
Commiter | Lorenzo Isella |
Another example of mindmap (a bit easier).
@@ -0,0 +1,44 @@ | ||
1 | +% Author: Till Tantau | |
2 | +% Source: The PGF/TikZ manual | |
3 | +\documentclass{article} | |
4 | + | |
5 | +\usepackage{tikz} | |
6 | +\usetikzlibrary{mindmap,trees} | |
7 | +\usepackage{verbatim} | |
8 | + | |
9 | +\begin{document} | |
10 | +\pagestyle{empty} | |
11 | + | |
12 | +\begin{comment} | |
13 | +:Title: Computer science mindmap | |
14 | +:Tags: Manual, Mindmap | |
15 | + | |
16 | +Version 1.09 of PGF/TikZ added a library for drawing mindmaps. Here's an example | |
17 | +from the manual. | |
18 | + | |
19 | +| Author: Till Tantau | |
20 | +| Source: The PGF/TikZ manual | |
21 | + | |
22 | +\end{comment} | |
23 | + | |
24 | +\begin{tikzpicture} | |
25 | + \path[mindmap,concept color=black,text=white] | |
26 | + node[concept] {Computer Science} | |
27 | + [clockwise from=0] | |
28 | + child[concept color=green!50!black] { | |
29 | + node[concept] {practical} | |
30 | + [clockwise from=90] | |
31 | + child { node[concept] {algorithms} } | |
32 | + child { node[concept] {data structures} } | |
33 | + child { node[concept] {pro\-gramming languages} } | |
34 | + child { node[concept] {software engineer\-ing} } | |
35 | + } | |
36 | + child[concept color=blue] { | |
37 | + node[concept] {applied} | |
38 | + [clockwise from=-30] | |
39 | + child { node[concept] {databases} } | |
40 | + child { node[concept] {WWW} } | |
41 | + } | |
42 | + child[concept color=red] { node[concept] {technical} } | |
43 | + child[concept color=orange] { node[concept] {theoretical} }; | |
44 | +\end{tikzpicture}\end{document} | |
\ No newline at end of file |