summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-edges.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-edges.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-edges.tex37
1 files changed, 26 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-edges.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-edges.tex
index a0ecfec5c36..5a280cd94a9 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-edges.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-edges.tex
@@ -35,6 +35,21 @@ from the start coordinate to the target coordinate.
\end{key}
+\subsection{Move-Tos}
+
+The following style installs a to path that simply ``jumps'' to the
+target coordinate.
+
+\begin{key}{/tikz/move to}
+ Causes a move to be added to the path upon a |to| or an
+ |edge| operation.
+\begin{codeexample}[]
+\tikz \draw (0,0) to[line to] (1,0)
+ to[move to] (2,0) to[line to] (3,0);
+\end{codeexample}
+\end{key}
+
+
\subsection{Curves}
The |curve to| style causes the to path to be set to a curve. The
@@ -49,7 +64,7 @@ exact way this curve looks can be influenced via a number of options.
that is computed in different ways, depending on which options are
set.
- All of the following options implictly cause the |curve to| style to
+ All of the following options implicitly cause the |curve to| style to
be installed.
\begin{key}{/tikz/out=\meta{angle}}
@@ -108,8 +123,8 @@ exact way this curve looks can be influenced via a number of options.
\begin{key}{/tikz/bend left=\meta{angle} (default \normalfont last value)}
This option sets |out=|\meta{angle}|,in=|$180-\meta{angle}$|,relative|. If no
\meta{angle} is given, the last given |bend left| or |bend right|
- angle is used.
-
+ angle is used.
+
\begin{codeexample}[]
\begin{tikzpicture}[shorten >=1pt,node distance=2cm,on grid]
\node[state,initial] (q_0) {$q_0$};
@@ -183,7 +198,7 @@ exact way this curve looks can be influenced via a number of options.
above \meta{distance}, then \meta{distance} is used instead.
\end{key}
\begin{key}{/tikz/out min distance=\meta{distance}}
- The mininimum distance set only for the start coordinate.
+ The minimum distance set only for the start coordinate.
\end{key}
\begin{key}{/tikz/out max distance=\meta{distance}}
The maximum distance set only for the start coordinate.
@@ -224,7 +239,7 @@ exact way this curve looks can be influenced via a number of options.
\end{key}
\begin{key}{/tikz/controls=\meta{coordinate}| and |\meta{coordinate}}
This option causes the \meta{coordinate}s to be used as control
- points.
+ points.
\begin{codeexample}[]
\tikz \draw (0,0) to [controls=+(90:1) and +(90:1)] (3,0);
\end{codeexample}
@@ -237,7 +252,7 @@ exact way this curve looks can be influenced via a number of options.
\begin{key}{/tikz/loop}
This key is similar to the |curve to| key, but differs in the
following ways: First, the actual target coordinate is ignored and the
- start coordiante is used as the target coordinate. Thus, it is
+ start coordinate is used as the target coordinate. Thus, it is
allowed not to provide any target coordinate, which can be useful
with unnamed nodes. Second, the |looseness| is set to |8| and the
|min distance| to |5mm|. These settings result in rather nice loops
@@ -245,7 +260,7 @@ exact way this curve looks can be influenced via a number of options.
30$^\circ$.
\begin{codeexample}[]
\begin{tikzpicture}
- \node [circle,draw] {a} edge [in=30,out=60,loop] ();
+ \node [circle,draw] {a} edge [in=30,out=60,loop] ();
\end{tikzpicture}
\end{codeexample}
\end{key}
@@ -253,10 +268,10 @@ exact way this curve looks can be influenced via a number of options.
\begin{stylekey}{/tikz/loop above}
Sets the |loop| style and sets in and out angles such that
loop is above the node. Furthermore, the |above| option is set,
- which causes a node label to be placed at the correct position.
+ which causes a node label to be placed at the correct position.
\begin{codeexample}[]
\begin{tikzpicture}
- \node [circle,draw] {a} edge [loop above] node {x} ();
+ \node [circle,draw] {a} edge [loop above] node {x} ();
\end{tikzpicture}
\end{codeexample}
\end{stylekey}
@@ -276,7 +291,7 @@ exact way this curve looks can be influenced via a number of options.
-%%% Local Variables:
+%%% Local Variables:
%%% mode: latex
%%% TeX-master: "pgfmanual-pdftex-version"
-%%% End:
+%%% End: