summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-mindmaps.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-mindmaps.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-mindmaps.tex60
1 files changed, 39 insertions, 21 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-mindmaps.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-mindmaps.tex
index f9396ccf335..4a88719792c 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-mindmaps.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-mindmaps.tex
@@ -17,7 +17,7 @@
This library is intended to make the creation of mindmaps or concept
maps easier. A \emph{mindmap} is a graphical representation of a
-concept together
+concept together
with related concepts and annotations. Mindmaps are, essentially,
trees, possibly with a few extra edges added, but they are usually
drawn in a special way: The root concept is placed in the middle of
@@ -47,14 +47,14 @@ Every mindmap should be put in a scope or a picture where the
\begin{stylekey}{/tikz/mindmap}
Use this style with all pictures or at least scopes that contain a
mindmap. It installs a whole bunch of settings that are useful for
- drawing mindmaps.
+ drawing mindmaps.
\begin{codeexample}[]
\tikz[mindmap,concept color=red!50]
\node [concept] {Root concept}
child[grow=right] {node[concept] {Child concept}};
\end{codeexample}
The sizes of concepts are predefined in such a way that a
- medium-size mindmap will fit on an A4 page (more or less).
+ medium-size mindmap will fit on an A4 page (more or less).
\begin{stylekey}{/tikz/every mindmap}
This style is included by the |mindmap| style. Change this style to
add special settings to your mindmaps.
@@ -64,16 +64,32 @@ Every mindmap should be put in a scope or a picture where the
child[grow=right] {node[concept] {Child concept}};
\end{codeexample}
\end{stylekey}
+
+ \paragraph{Remark:} Note that |mindmap| re-defines |font| sizes and |sibling angle| depending on the current concept level (i.e. inside of |level 1 concept|, |level 2 concept| etc.). Thus, if you need to redefine these variables, use
+
+ |\tikzset{level 1 concept/.append style={font=\small}}|
+
+ \noindent or
+
+ |\tikzset{level 2 concept/.append style={sibling distance=90}}|
+
+ \noindent \emph{after} the |mindmap| style.
\end{stylekey}
+\begin{stylekey}{/tikz/small mindmap}
+ This style includes the |mindmap| style, but additionally changes
+ the default size of concepts, fonts and distances so that a medium-sized
+ mindmap will fit on an A5 page (A5 pages are half as large as A4
+ pages). Mindmaps with |small mindmap| will also fit onto a standard frame of the |beamer| package.
+\end{stylekey}
\begin{stylekey}{/tikz/large mindmap}
This style includes the |mindmap| style, but additionally changes
- the default size of concepts and of distances so that a medium-sized
+ the default size of concepts, fonts and distances so that a medium-sized
mindmap will fit on an A3 page (A3 pages are twice as large as A4
pages).
\end{stylekey}
\begin{stylekey}{/tikz/huge mindmap}
- This style causes conepts to be even bigger and it is best used with
+ This style causes concepts to be even bigger and it is best used with
A2 paper and above.
\end{stylekey}
@@ -93,7 +109,7 @@ The following styles influence how isolated concepts are rendered:
This style should be used with all nodes that are concepts, although
some styles like |extra concept| install this style automatically.
- Bascially, this style makes the concept node circular and installs a
+ Basically, this style makes the concept node circular and installs a
uniform color called |concept color|, see below. Additionally, the
style |every concept| is called.
\begin{codeexample}[]
@@ -145,7 +161,7 @@ The following styles influence how isolated concepts are rendered:
As pointed out earlier, \tikzname\ assumes that your mindmap is build
using the |child| facilities of \tikzname. There are numerous options
that influence how concepts are rendered at the different levels of a
-tree.
+tree.
\begin{stylekey}{/tikz/root concept}
This style is used for the roots of mindmap trees. By adding
@@ -165,7 +181,7 @@ tree.
\begin{stylekey}{/tikz/level 1 concept}
The |mindmap| style adds this style to the |level 1| style. This
means that the first level children of a mindmap tree will use this
- style.
+ style.
\begin{codeexample}[]
\tikz
[root concept/.append style={concept color=blue!80},
@@ -185,8 +201,8 @@ tree.
\begin{stylekey}{/tikz/level 4 concept}
Works like |level 1 concept|. Note that there are not fifth and
higher level styles, you need to modify |level 5| directly in such
- cases.
-\end{stylekey}
+ cases.
+\end{stylekey}
\begin{key}{/tikz/concept color=\meta{color}}
We saw already that this option is used to change the color of
@@ -196,7 +212,7 @@ tree.
|child| operation (and not to the |node| operation and also not as
an option to all children via the |level 1| style), \tikzname\ will
smoothly change the concept color from the parent's color to the
- color of the child concept.
+ color of the child concept.
Here is an example:
\begin{codeexample}[]
@@ -285,7 +301,7 @@ in the mindmap library:
first circle at the specified angle relative to the line connecting
the centers of the circles. The path then changes into a rectangle
whose thickness is given by the amplitude. Finally, the path ends
- with the same angles on the second circle.
+ with the same angles on the second circle.
Here is an example that should make this clearer:
\begin{codeexample}[]
@@ -321,7 +337,7 @@ in the mindmap library:
good idea to make the circles slightly larger to cover up such
problems. When using nodes of shape |circle|, you can just add the
|draw| option with a |line width| or one or two points (for very
- large distances you may need line width up to 4pt).
+ large distances you may need line width up to 4pt).
\begin{codeexample}[]
\begin{tikzpicture}
[blue!50,decoration={start radius=1cm,
@@ -361,11 +377,11 @@ necessary computations for you.
from the |center| anchor to some anchor on the border) and will set
the |start circle| keys accordingly. Next, the |fill| option
is set to the |concept color| while |draw=none| is set. The decoration is
- set to |circle conncetion bar|. Finally, the following style is
+ set to |circle connection bar|. Finally, the following style is
included:
\begin{stylekey}{/tikz/every circle connection bar}
- Redefine this sytle to change the appearance of circle connection
- bar to-paths.
+ Redefine this style to change the appearance of circle connection
+ bar to-paths.
\end{stylekey}
\begin{codeexample}[]
\begin{tikzpicture}[concept color=blue!50,blue!50,outer sep=0pt]
@@ -398,7 +414,7 @@ library provides a special option for facilitating this procedure.
\node (n2) at (30:2.5) [circle,minimum size=1cm,fill,draw,thick,blue] {};
\path (n1) to[circle connection bar switch color=from (red) to (blue)] (n2);
-\end{tikzpicture}
+\end{tikzpicture}
\end{codeexample}
\end{key}
@@ -416,7 +432,7 @@ path that uses the to-path |circle connection bar| to connect the parent node
and the child node. The |concept color| option (locally) changes this
by using |circle connection bar switch color| instead with the
from-color set to the old (parent's) concept color and the to-color
-set to the new (child's) concept color. This menas that when you
+set to the new (child's) concept color. This means that when you
provide the |concept color| option to a |child| command, the color
will change from the parent's concept color to the specified color.
@@ -427,6 +443,8 @@ Here is an example of a tree build in this way:
\path[mindmap,concept color=black,text=white]
node[concept] {Computer Science}
[clockwise from=0]
+ % note that `sibling angle' can only be defined in
+ % `level 1 concept/.append style={}'
child[concept color=green!50!black] {
node[concept] {practical}
[clockwise from=90]
@@ -434,7 +452,7 @@ Here is an example of a tree build in this way:
child { node[concept] {data structures} }
child { node[concept] {pro\-gramming languages} }
child { node[concept] {software engineer\-ing} }
- }
+ }
child[concept color=blue] {
node[concept] {applied}
[clockwise from=-30]
@@ -477,7 +495,7 @@ in an annotation node.
-%%% Local Variables:
+%%% Local Variables:
%%% mode: latex
%%% TeX-master: "pgfmanual-pdftex-version"
-%%% End:
+%%% End: