Skip to content

Commit d46891b

Browse files
committed
made some "normal" codeexamples compile again (when extracted)
1 parent 549188c commit d46891b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/generic/pgf/text-en/pgfmanual-en-library-patterns.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ \subsection{User-Defined Patterns}
257257
The following settings can be used to reproduce the other |... lines|
258258
patterns.
259259
%
260-
\begin{codeexample}[preamble={\usetikzlibrary{patterns.meta}}]
260+
\begin{codeexample}[preamble={\usetikzlibrary{patterns,patterns.meta}}]
261261
\begin{tikzpicture}
262262
\draw[pattern={horizontal lines},pattern color=orange]
263263
(0,0) rectangle +(1,1);
@@ -315,7 +315,7 @@ \subsection{User-Defined Patterns}
315315
The following settings can be used to reproduce the |grid| and
316316
|crosshatch| patterns.
317317
%
318-
\begin{codeexample}[preamble={\usetikzlibrary{patterns.meta}}]
318+
\begin{codeexample}[preamble={\usetikzlibrary{patterns,patterns.meta}}]
319319
\begin{tikzpicture}
320320
\draw[pattern={grid},pattern color=orange]
321321
(0,0) rectangle +(1,1);
@@ -363,7 +363,7 @@ \subsection{User-Defined Patterns}
363363
The following settings can be used to reproduce the |dots| and
364364
|crosshatch dots| patterns.
365365
%
366-
\begin{codeexample}[preamble={\usetikzlibrary{patterns.meta}}]
366+
\begin{codeexample}[preamble={\usetikzlibrary{patterns,patterns.meta}}]
367367
\begin{tikzpicture}
368368
\draw[pattern={dots},pattern color=orange]
369369
(0,0) rectangle +(1,1);
@@ -413,7 +413,7 @@ \subsection{User-Defined Patterns}
413413
Number of pointy ends of the stars.
414414
\end{key}
415415
%
416-
\begin{codeexample}[preamble={\usetikzlibrary{patterns.meta}}]
416+
\begin{codeexample}[preamble={\usetikzlibrary{patterns,patterns.meta}}]
417417
\begin{tikzpicture}
418418
\draw[pattern={fivepointed stars},pattern color=orange]
419419
(0,0) rectangle +(1,1);

0 commit comments

Comments
 (0)