Skip to content

Commit 294512a

Browse files
committed
docs: fix refs to renamed \pgfdecorate (fixes pgf-tikz#1388)
`\pgfdecorate ... \endpgfdecorate` were renamed to `\pgfdecoration ... \endpgfdecoration` in f58eddf (Decoration updates., 2008-01-14). Signed-off-by: Yukai Chou <[email protected]>
1 parent 8f95834 commit 294512a

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

doc/generic/pgf/pgfmanual-en-base-decorations.tex

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -732,10 +732,10 @@ \subsection{Using Decorations}
732732
\meta{name}. This is equivalent to
733733
%
734734
\begin{codeexample}[code only]
735-
\pgfdecorate{{name}{\pgfdecoratedpathlength}
736-
{\pgfdecoratebeforecode}{\pgfdecorateaftercode}}
735+
\pgfdecoration{{name}{\pgfdecoratedpathlength}
736+
{\pgfdecoratebeforecode}{\pgfdecorateaftercode}}
737737
// the path commands.
738-
\endpgfdecorate
738+
\endpgfdecoration
739739
\end{codeexample}
740740
%
741741
\end{command}
@@ -747,11 +747,13 @@ \subsection{Using Decorations}
747747
Both the above commands use the current definitions of the following macros:
748748

749749
\begin{command}{\pgfdecoratebeforecode}
750-
Code executed as \meta{before code}, see the description of |\pgfdecorate|.
750+
Code executed as \meta{before code}, see the description of
751+
|\pgfdecoration|.
751752
\end{command}
752753

753754
\begin{command}{\pgfdecorateaftercode}
754-
Code executed as \meta{after code}, see the description of |\pgfdecorate|.
755+
Code executed as \meta{after code}, see the description of
756+
|\pgfdecoration|.
755757
\end{command}
756758

757759
It may sometimes be useful to add an additional transformation for each segment

0 commit comments

Comments
 (0)