Skip to content

Commit da10e24

Browse files
authored
Merge pull request #1041 from muzimuzhi/doc-foreach
Fix foreach documentation #1039
2 parents 3abc90c + f87c8bb commit da10e24

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/generic/pgf/text-en/pgfmanual-en-tikz-paths.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,7 @@ \subsection{The To Path Operation}
11201120
\subsection{The Foreach Operation}
11211121

11221122
\begin{pathoperation}{foreach}{\meta{variables}\opt{\oarg{options}} |in|
1123-
\marg{path commands}}
1123+
\meta{list} \marg{path commands}}
11241124
The |foreach| operation can be used to repeatedly insert the \meta{path
11251125
commands} into the current path. Naturally, the \meta{path commands} should
11261126
internally reference some of the \meta{variables} so that you do not insert

doc/generic/pgf/text-en/pgfmanual-en-tikz-shapes.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ \subsubsection{Syntax of the Node Command}
287287
\textbf{The foreach statement for nodes.}
288288
At the beginning of a node specification (and only there) you can provide
289289
multiple \meta{foreach statements}, each of which has the form |foreach|
290-
\meta{var} |in| |{|\meta{list}|}| (note that there is no slash before
290+
\meta{var} |in| \meta{list} (note that there is no backslash before
291291
|foreach|). When they are given, instead of a single node, multiple nodes
292292
will be created: The \meta{var} will iterate over all values of \meta{list}
293293
and for each of them, a new node is created. These nodes are all created

0 commit comments

Comments
 (0)