summaryrefslogtreecommitdiff
path: root/graphics/pgf/base/doc/text-en/pgfmanual-en-library-through.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /graphics/pgf/base/doc/text-en/pgfmanual-en-library-through.tex
Initial commit
Diffstat (limited to 'graphics/pgf/base/doc/text-en/pgfmanual-en-library-through.tex')
-rw-r--r--graphics/pgf/base/doc/text-en/pgfmanual-en-library-through.tex43
1 files changed, 43 insertions, 0 deletions
diff --git a/graphics/pgf/base/doc/text-en/pgfmanual-en-library-through.tex b/graphics/pgf/base/doc/text-en/pgfmanual-en-library-through.tex
new file mode 100644
index 0000000000..1222d1ec03
--- /dev/null
+++ b/graphics/pgf/base/doc/text-en/pgfmanual-en-library-through.tex
@@ -0,0 +1,43 @@
+% Copyright 2006 by Till Tantau
+%
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Free Documentation License.
+%
+% See the file doc/generic/pgf/licenses/LICENSE for more details.
+
+
+\section{Through Library}
+\label{section-through-library}
+
+\begin{tikzlibrary}{through}
+ This library defines keys for creating shapes that go through given points.
+\end{tikzlibrary}
+
+\begin{key}{/tikz/circle through=\meta{coordinate}}
+ When this key is given as an option to a node, the following happens:
+ %
+ \begin{enumerate}
+ \item The |inner sep| and the |outer sep| are set to zero.
+ \item The shape is set to |circle|.
+ \item The |minimum size| is set such that the circle around the center
+ of the node (which is specified using |at|), goes through
+ \meta{coordinate}.
+ \end{enumerate}
+ %
+\begin{codeexample}[]
+\begin{tikzpicture}
+ \draw[help lines] (0,0) grid (3,2);
+ \node (a) at (2,1.5) {$a$};
+ \node [draw] at (1,1) [circle through={(a)}] {$c$};
+\end{tikzpicture}
+\end{codeexample}
+ %
+\end{key}
+
+
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: "pgfmanual-pdftex-version"
+%%% End: