summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-design.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-design.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-design.tex26
1 files changed, 13 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-design.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-design.tex
index 1ecb8efa5f3..b3e19fdefd6 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-design.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-design.tex
@@ -15,7 +15,7 @@ Zeichenprogramm.'' To use \tikzname, as a \LaTeX\ user say
|\usepackage{tikz}| somewhere in the preamble, as a plain \TeX\ user
say |\input tikz.tex|. \tikzname's job is to make your life easier by
providing an easy-to-learn and easy-to-use syntax for describing
-graphics.
+graphics.
The commands and syntax of \tikzname\ were influenced by several
sources. The basic command names and the notion of path operations is
@@ -23,7 +23,7 @@ taken from \textsc{metafont}, the option mechanism comes from
\textsc{pstricks}, the notion of styles is reminiscent of
\textsc{svg}. To make it all work together, some compromises were
necessary. I also added some ideas of my own, like coordinate
-transformations.
+transformations.
The following basic design principles underlie \tikzname:
\begin{enumerate}
@@ -47,7 +47,7 @@ separated by commas, in round brackets as in |(1cm,2pt)|.
You can also specify a point in polar coordinates by using a colon
instead of a comma as in |(30:1cm)|, which means ``1cm in a 30
-degrees direction.''
+degrees direction.''
If you do not provide a unit, as in |(2,1)|, you specify a point in
\pgfname's $xy$-coordinate system. By default, the unit $x$-vector
@@ -105,12 +105,12 @@ command, which is an abbreviation for |\path[fill]|. The
|\filldraw| command is an abbreviation for
|\path[fill,draw]|. Shading is caused by the |shade| option (there
are |\shade| and |\shadedraw| abbreviations) and clipping by the
-|clip| option. There is is also a |\clip| command, which does the
+|clip| option. There is also a |\clip| command, which does the
same as |\path[clip]|, but not commands like |\drawclip|. Use, say,
|\draw[clip]| or |\path[draw,clip]| instead.
All of these commands can only be used inside |{tikzpicture}|
-environments.
+environments.
\tikzname\ allows you to use different colors for filling and
stroking.
@@ -126,7 +126,7 @@ passed as optional parameters to the path drawing and filling
commands. This usage is similar to \textsc{pstricks}. For
example, the following will draw a thick, red triangle;
\begin{codeexample}[]
-\tikz \draw[line width=2pt,color=red] (1,0) -- (0,0) -- (1,0) -- cycle;
+\tikz \draw[line width=2pt,color=red] (1,0) -- (0,0) -- (0,1) -- cycle;
\end{codeexample}
\subsection{Special Syntax for Specifying Nodes}
@@ -139,9 +139,9 @@ in the following example:
Nodes are inserted at the current position of
the path, but only \emph{after} the path has been rendered. When
special options are given, as in
-|\draw (1,1) node[circle,draw] {text};|, the text is not just put
+|\draw (1,1) node[circle,draw] {text};|, the text is not just put
at the current position. Rather, it is surrounded by a circle and
-this circle is ``drawn.''
+this circle is ``drawn.''
You can add a name to a node for later reference either by using the
option |name=|\meta{node name} or by stating the node name in
@@ -153,8 +153,8 @@ it is possible (though a bit challenging) to define new shapes.
\subsection{Special Syntax for Specifying Trees}
In addition to the ``node syntax,'' \tikzname\ also introduces a
-special syntax for drawing trees. The syntax is intergrated with the
-special node syntax and only few new commands need to be remebered.
+special syntax for drawing trees. The syntax is intergraded with the
+special node syntax and only few new commands need to be remembered.
In essence, a |node| can be followed by any number of children, each
introduced by the keyword |child|. The children are nodes themselves,
each of which may have children in turn.
@@ -191,7 +191,7 @@ redrawn with different options:
\begin{codeexample}[]
\begin{tikzpicture}
[parent anchor=east,child anchor=west,grow=east,
- every node/.style={ball color=red,circle,text=white}
+ every node/.style={ball color=red,circle,text=white},
edge from parent/.style={draw,dashed,thick,red}]
\node {root}
child {node {left}}
@@ -240,9 +240,9 @@ the picture.
\tikzname\ supports both \pgfname's \emph{coordinate} transformation
system to perform transformations as well as \emph{canvas}
-transformations, a more low-level transformation system. (For
+transformations, a more low-level transformation system. (For
details on the difference between coordinate transformations and
-canvas transformations see Section~\ref{section-design-transformations}.)
+canvas transformations see Section~\ref{section-design-transformations}.)
The syntax is setup in such a way that is harder to use canvas
transformations than coordinate transformations. There are two reasons