diff options
author | Karl Berry <karl@freefriends.org> | 2014-02-27 00:01:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-02-27 00:01:50 +0000 |
commit | 90ae413a94da014dbf7a6a8ab584f7c668483a5a (patch) | |
tree | 4e0528a2b2fb2004988e7fc804ea2f1354f1f5d5 /Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tutorial-Euclid.tex | |
parent | 800cc56380d1edfe567a6a66bef13e8950eb2b0c (diff) |
pgf 3.0.0
git-svn-id: svn://tug.org/texlive/trunk@33057 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tutorial-Euclid.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tutorial-Euclid.tex | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tutorial-Euclid.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tutorial-Euclid.tex index 2ca446abecc..e8717cf9718 100644 --- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tutorial-Euclid.tex +++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tutorial-Euclid.tex @@ -106,9 +106,7 @@ Let us have a look at how Euclid can turn this into \tikzname\ code. As in the previous tutorials, Euclid needs to load \tikzname, together with some libraries. These libraries are |calc|, |intersections|, -|through|, and |backgrounds|. Depending on which format\footnote{Note - that \pgfname/\tikzname{} is not supported by recent Con\TeX t versions - (like mark IV, the Lua\TeX-aware part of Con\TeX t).} he uses, +|through|, and |backgrounds|. Depending on which format he uses, Euclid would use one of the following in the preamble: \begin{codeexample}[code only] @@ -200,7 +198,7 @@ The new code for the coordinates is the following: \end{codeexample} Note that if a coordinate in such a computation has a factor (like -|.1|) you must place a |*| directly before the opening parenthesis of +|.1|), you must place a |*| directly before the opening parenthesis of the coordinate. You can nest such computations. @@ -545,7 +543,7 @@ The computation of the point $D$ in Euclid's second proposition is a bit more complicated. It can be expressed as follows: Consider the line from $X$ to $B$. Suppose we rotate this line around $X$ for 90$^\circ$ and then stretch it by a -factor of $\sin(60^\circ)/2$. This yields the desired point~$D$. We +factor of $\sin(60^\circ) \cdot 2$. This yields the desired point~$D$. We can do the stretching using the partway modifier above, for the rotation we need a new modifier: the rotation modifier. The idea is that the second coordinate in a partway computation can be prefixed by @@ -610,11 +608,11 @@ computation has the form \meta{p}|!|\meta{factor}|!|\meta{q}, resulting in the point $(1-\meta{factor})\meta{p} + \meta{factor}\meta{q}$. Alternatively, instead of \meta{factor} you can also use a \meta{dimension} between the points. In this case, you -get the point that is \meta{dimension} removed from \meta{p} on the +get the point that is \meta{dimension} away from \meta{p} on the straight line to \meta{q}. We know that the point $G$ is on the way from $B$ to $F$. The distance -is given by the radius of the circle~$H$. Here is the code form +is given by the radius of the circle~$H$. Here is the code for computing $H$: {\tikzexternaldisable \begin{codeexample}[pre={ |