Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions doc/generic/pgf/pgfmanual-en-tikz-paths.tex
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,9 @@ \subsubsection{Straight Lines}
possible with all path operations that end with a coordinate (such as |--| or
|..| or |sin| or |grid|, but not |graph| or |plot|). In all cases, the effect
is that the coordinate of the last moveto is used as the coordinate expected by
the path operation and that a smooth join is added. (What actually happens that
the text |cycle| used with any path operation other than |--| gets replaced by
|(current subpath start)--cycle|.)
the path operation and that a smooth join is added. (What actually happens is
that the text |cycle| used with any path operation other than |--| gets
replaced by |(current subpath start)--cycle|.)


\subsubsection{Horizontal and Vertical Lines}
Expand Down Expand Up @@ -313,7 +313,7 @@ \subsection{The Curve-To Operation}

\begin{pathoperation}{..}{\declare{|controls|}\meta{c}\opt{|and|\meta{d}}\declare{|..|\meta{y or cycle}}}
This operation extends the current path from the current point, let us call
it $x$, via a curve to a point~$y$ (if, instead of a coordinate you say
it $x$, via a curve to a point~$y$ (if, instead of a coordinate, you say
|cycle| at the end, $y$ will be the coordinate of the last move-to
operation). The curve is a cubic Bézier curve. For such a curve, apart
from $y$, you also specify two control points $c$ and $d$. The idea is that
Expand Down Expand Up @@ -393,7 +393,7 @@ \subsection{Rounding Corners}
\end{codeexample}

The \meta{inset} describes how big the corner is. Note that the
\meta{inset} is \emph{not} scaled along if you use a scaling option like
\meta{inset} is \emph{not} scaled if you use a scaling option like
|scale=2|.
%
\begin{codeexample}[]
Expand All @@ -420,7 +420,7 @@ \subsection{Rounding Corners}
\tikz \draw[rounded corners=1ex] (0,0) rectangle (20pt,2ex);
\end{codeexample}

You should be aware, that there are several pitfalls when using this
You should be aware that there are several pitfalls when using this
option. First, the rounded corner will only be an arc (part of a circle) if
the angle is $90^\circ$. In other cases, the rounded corner will still be
round, but ``not as nice''.
Expand Down Expand Up @@ -499,7 +499,7 @@ \subsection{The Circle and Ellipse Operations}
\end{stylekey}

In case you feel that the names |radius| and |x radius| are too long for
your taste, you can easily created shorter aliases:
your taste, you can easily create shorter aliases:
%
\begin{codeexample}[code only]
\tikzset{r/.style={radius=#1},rx/.style={x radius=#1},ry/.style={y radius=#1}}
Expand Down Expand Up @@ -602,7 +602,7 @@ \subsection{The Grid Operation}

\begin{pathoperation}{grid}{\opt{\oarg{options}}\meta{corner or cycle}}
This operation adds a grid filling a rectangle whose two corners are given
by \meta{corner} and by the previous coordinate. (Instead of a coordinate
by \meta{corner} and by the previous coordinate. (Instead of a coordinate,
you can also say |cycle| to use the position of the last move-to as the
corner coordinate, but it is not very natural to do so.) Thus, the
typical way in which a grid is drawn is |\draw (1,1) grid (3,3);|, which
Expand All @@ -618,7 +618,7 @@ \subsection{The Grid Operation}
by the following options:
%
\begin{key}{/tikz/step=\meta{number or dimension or coordinate} (initially 1cm)}
Sets the stepping in both the $x$ and $y$-direction. If a dimension is
Sets the stepping in both the $x$ and $y$-directions. If a dimension is
provided, this is used directly. If a number is provided, this number
is interpreted in the $xy$-coordinate system. For example, if you
provide the number |2|, then the $x$-step is twice the $x$-vector and
Expand All @@ -640,14 +640,14 @@ \subsection{The Grid Operation}

A complication arises when the $x$- and/or $y$-vector do not point
along the axes. Because of this, the actual rule for computing the
$x$-step and the $y$-step is the following: As the $x$- and $y$-steps
$x$-step and the $y$-step is the following: As the $x$- and $y$-steps,
we use the $x$- and $y$-components or the following two vectors: The
first vector is either $(\meta{x-grid-step-number},0)$ or
$(\meta{x-grid-step-dimension},0\mathrm{pt})$, the second vector is
$(0,\meta{y-grid-step-number})$ or
$(0\mathrm{pt},\meta{y-grid-step-dimension})$.

If the $x$-step or $y$-step is $0$ or negative the corresponding lines
If the $x$-step or $y$-step is $0$ or negative, the corresponding lines
are not drawn.
\end{key}

Expand Down Expand Up @@ -678,8 +678,8 @@ \subsection{The Grid Operation}
%
\begin{stylekey}{/tikz/help lines (initially {line width=0.2pt,gray})}
This style makes lines ``subdued'' by using thin gray lines for them.
However, this style is not installed automatically and you have to say
for example:
However, this style is not installed automatically and you have to say,
for example,
%
\begin{codeexample}[]
\tikz \draw[help lines] (0,0) grid (3,3);
Expand Down Expand Up @@ -744,7 +744,7 @@ \subsection{The Parabola Operation}
The idea is the following: If you say |bend pos=0| and |bend +(0,0)|,
the bend will be at the old current point. If you say |bend pos=1| and
|bend +(0,0)|, the bend will be at the new current point. If you say
|bend pos=0.5| and |bend +(0,2cm)| the bend will be 2cm above the
|bend pos=0.5| and |bend +(0,2cm)|, the bend will be 2cm above the
middle of the line between the start and end point. This is most useful
in situations such as the following:
%
Expand Down Expand Up @@ -794,7 +794,7 @@ \subsection{The Sine and Cosine Operation}
The effect of |sin| is to draw a scaled and shifted version of a sine curve
in the interval $[0,\pi/2]$. The scaling and shifting is done in such a way
that the start of the sine curve in the interval is at the old current
point and that the end of the curve in the interval is at
point and the end of the curve in the interval is at
\meta{coordinate}. Here is an example that should clarify this:
%
\begin{codeexample}[]
Expand Down
Loading