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.tex42
1 files changed, 21 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 47bc68db890..ea840cb6b3b 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
@@ -25,7 +25,7 @@ way: The root concept is placed in the middle of the page and is drawn as a
huge circle, ellipse, or cloud. The related concepts then ``leave'' this root
concept via branch-like tendrils.
-The mindmap library of \tikzname\ produces mindmaps that look a bit different
+The |mindmap| library of \tikzname\ produces mindmaps that look a bit different
from the standard mindmaps: While the big root concept is still a circle,
related concepts are also depicted as (smaller) circles. The related concepts
are linked to the root concept via organic-looking connections. The overall
@@ -48,7 +48,7 @@ is used. This style installs some internal settings.
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.
%
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{mindmap}}]
\tikz[mindmap,concept color=red!50]
\node [concept] {Root concept}
child[grow=right] {node[concept] {Child concept}};
@@ -61,7 +61,7 @@ is used. This style installs some internal settings.
This style is included by the |mindmap| style. Change this style to add
special settings to your mindmaps.
%
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{mindmap}}]
\tikz[large mindmap,concept color=red!50]
\node [concept] {Root concept}
child[grow=right] {node[concept] {Child concept}};
@@ -121,7 +121,7 @@ The following styles influence how isolated concepts are rendered:
uniform color called |concept color|, see below. Additionally, the style
|every concept| is called.
%
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{mindmap}}]
\tikz[mindmap,concept color=red!50] \node [concept] {Some concept};
\end{codeexample}
@@ -152,7 +152,7 @@ The following styles influence how isolated concepts are rendered:
order to indicate in the code that these concepts are additional, you can
use this style.
%
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{mindmap}}]
\begin{tikzpicture}[mindmap,concept color=blue!80]
\node [concept] {Root concept};
\node [extra concept] at (10,0) {extra concept};
@@ -175,7 +175,7 @@ concepts are rendered at the different levels of a tree.
This style is used for the roots of mindmap trees. By adding something to
this, you can change how the root of a mindmap will be rendered.
%
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{mindmap}}]
\tikz
[root concept/.append style={concept color=blue!80,minimum size=3.5cm},
mindmap]
@@ -190,7 +190,7 @@ concepts are rendered at the different levels of a tree.
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.
%
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{mindmap}}]
\tikz
[root concept/.append style={concept color=blue!80},
level 1 concept/.append style={concept color=red!50},
@@ -225,7 +225,7 @@ concepts are rendered at the different levels of a tree.
Here is an example:
%
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{mindmap}}]
\tikz[mindmap,concept color=blue!80]
\node [concept] {Root concept}
child[concept color=red,grow=30] {node[concept] {Child concept}}
@@ -235,7 +235,7 @@ concepts are rendered at the different levels of a tree.
In order to have a concept color which changes with the hierarchy level, a
tiny bit of magic is needed:
% FIXME: is this a bug in the software!? The root concept is black!?
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{mindmap}}]
\tikz[mindmap,text=white,
root concept/.style={concept color=blue},
level 1 concept/.append style=
@@ -267,7 +267,7 @@ been drawn. In this case you will want the connection lines to lie
coordinates of the concepts have been determined. In this case you should place
the connecting lines on a background layer as in the following example:
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{backgrounds,mindmap}}]
\begin{tikzpicture}
[root concept/.append style={concept color=blue!20,minimum size=2cm},
level 1 concept/.append style={sibling angle=45},
@@ -293,7 +293,7 @@ the two nodes that has slightly organic ends. These bars are also used by
default as the edges from parents in the mindmap tree.
For the drawing of the bars a special decoration is used, which is defined in
-the mindmap library:
+the |mindmap| library:
\begin{decoration}{circle connection bar}
This decoration can be used to connect two circles. The start of the
@@ -321,7 +321,7 @@ the mindmap library:
Here is an example that should make this clearer:
%
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{mindmap}}]
\begin{tikzpicture}
[decoration={start radius=1cm,end radius=.5cm,amplitude=2mm,angle=30}]
\fill[blue!20] (0,0) circle (1cm);
@@ -336,7 +336,7 @@ the mindmap library:
really useful for drawing. However, if you fill the decorated path only,
and if you use the same color as for the circles, the result is better.
%
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{mindmap}}]
\begin{tikzpicture}
[blue!50,decoration={start radius=1cm,
end radius=.5cm,amplitude=2mm,angle=30}]
@@ -357,7 +357,7 @@ the mindmap library:
one or two points (for very large distances you may need line width up to
4pt).
%
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{mindmap}}]
\begin{tikzpicture}
[blue!50,decoration={start radius=1cm,
end radius=.5cm,amplitude=2mm,angle=30}]
@@ -381,7 +381,7 @@ the mindmap library:
The |circle connection bar| decoration is a bit complicated to use. Especially
specifying the radii is quite bothersome (the amplitude and the angle can be
-set once and for all). For this reason, the mindmap library defines a special
+set once and for all). For this reason, the |mindmap| library defines a special
to-path that performs the necessary computations for you.
\begin{stylekey}{/tikz/circle connection bar}
@@ -402,7 +402,7 @@ to-path that performs the necessary computations for you.
to-paths.
\end{stylekey}
%
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{mindmap}}]
\begin{tikzpicture}[concept color=blue!50,blue!50,outer sep=0pt]
\node (n1) at (0,0) [circle,minimum size=2cm,fill,draw,thick] {};
\node (n2) at (2.5,0) [circle,minimum size=1cm,fill,draw,thick] {};
@@ -420,15 +420,15 @@ to-path that performs the necessary computations for you.
In a mindmap we sometimes want colors to change from one concept color to
another. Then, the connection bar should, ideally, consist of a smooth
transition between these two colors. Getting this right using shadings is a bit
-tricky if you try this ``by hand'', so the mindmap library provides a special
-option for facilitating this procedure.
+tricky if you try this ``by hand'', so the |mindmap| library provides a
+special option for facilitating this procedure.
\begin{key}{/tikz/circle connection bar switch color=|from (|\meta{first color}|) to (|\meta{second color}|)|}
This style works similarly to the |circle connection bar|. The only
difference is that instead of filling the path with a single color a
shading is used.
%
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{mindmap}}]
\begin{tikzpicture}[outer sep=0pt]
\node (n1) at (0,0) [circle,minimum size=2cm,fill,draw,thick,red] {};
\node (n2) at (30:2.5) [circle,minimum size=1cm,fill,draw,thick,blue] {};
@@ -459,7 +459,7 @@ color.
Here is an example of a tree built in this way:
%
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{mindmap}}]
\begin{tikzpicture}
\path[mindmap,concept color=black,text=white]
node[concept] {Computer Science}
@@ -498,7 +498,7 @@ node.
style |every annotation|, which allows you to change this style in a
convenient fashion.
%
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{mindmap}}]
\begin{tikzpicture}
[mindmap,concept color=blue!80,
every annotation/.style={fill=red!20}]