summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-patterns.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-patterns.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-patterns.tex67
1 files changed, 34 insertions, 33 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-patterns.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-patterns.tex
index 42d4555213a..281dee5b5de 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-patterns.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-patterns.tex
@@ -12,20 +12,20 @@
\label{section-library-patterns}
\begin{pgflibrary}{patterns}
- The package defines patterns for filling areas.
+ The package defines patterns for filling areas.
\end{pgflibrary}
\newcommand\patternindex[1]{%
\index{#1@\protect\texttt{#1} pattern}%
\index{Patterns!#1@\protect\texttt{#1}}%
- \texttt{#1}&
+ \texttt{#1}&
\begin{tikzpicture}[baseline=.5ex]
% Background
\pattern [path fading=west,pattern=checkerboard light gray]
(0,0) rectangle (5cm,2em);
-
+
\pattern [pattern=#1,pattern color=black] (0,0) rectangle +(1.5cm,2em);
\pattern [pattern=#1,pattern color=blue] (1.75,0) rectangle +(1.5cm,2em);
\pattern [pattern=#1,pattern color=red] (3.5,0) rectangle +(1.5cm,2em);
@@ -35,53 +35,54 @@
\newcommand\patternindexinherentlycolored[1]{%
\index{#1@\protect\texttt{#1} pattern}%
\index{Patterns!#1@\protect\texttt{#1}}%
- \texttt{#1}&
+ \texttt{#1}&
\begin{tikzpicture}[baseline=.5ex]
% Background
\pattern [path fading=west,pattern=checkerboard light gray]
(0,0) rectangle (5cm,2em);
-
+
\pattern [pattern=#1,pattern color=blue] (0,0) rectangle +(5cm,2em);
\end{tikzpicture} \\[1ex]
}
+
\subsection{Form-Only Patterns}
\begin{tabular}{ll}
- \emph{Pattern name} & \emph{Example (pattern in black, blue, and red
- on faded checkerboard)} \\
- \patternindex{horizontal lines}
- \patternindex{vertical lines}
- \patternindex{north east lines}
- \patternindex{north west lines}
- \patternindex{grid}
- \patternindex{crosshatch}
- \patternindex{dots}
- \patternindex{crosshatch dots}
- \patternindex{fivepointed stars}
- \patternindex{sixpointed stars}
- \patternindex{bricks}
- \patternindex{checkerboard}
+ \emph{Pattern name}
+ & \emph{Example (pattern in black, blue, and red on faded checkerboard)} \\
+ \patternindex{horizontal lines}
+ \patternindex{vertical lines}
+ \patternindex{north east lines}
+ \patternindex{north west lines}
+ \patternindex{grid}
+ \patternindex{crosshatch}
+ \patternindex{dots}
+ \patternindex{crosshatch dots}
+ \patternindex{fivepointed stars}
+ \patternindex{sixpointed stars}
+ \patternindex{bricks}
+ \patternindex{checkerboard}
\end{tabular}
-
-\subsection{Inherently Colored Patterns}
+\subsection{Inherently Colored Patterns}
+
\begin{tabular}{ll}
- \emph{Pattern name} & \emph{Example} \\
- \patternindexinherentlycolored{checkerboard light gray}
- \patternindexinherentlycolored{horizontal lines light gray}
- \patternindexinherentlycolored{horizontal lines gray}
- \patternindexinherentlycolored{horizontal lines dark gray}
- \patternindexinherentlycolored{horizontal lines light blue}
- \patternindexinherentlycolored{horizontal lines dark blue}
- \patternindexinherentlycolored{crosshatch dots gray}
- \patternindexinherentlycolored{crosshatch dots light steel blue}
+ \emph{Pattern name} & \emph{Example} \\
+ \patternindexinherentlycolored{checkerboard light gray}
+ \patternindexinherentlycolored{horizontal lines light gray}
+ \patternindexinherentlycolored{horizontal lines gray}
+ \patternindexinherentlycolored{horizontal lines dark gray}
+ \patternindexinherentlycolored{horizontal lines light blue}
+ \patternindexinherentlycolored{horizontal lines dark blue}
+ \patternindexinherentlycolored{crosshatch dots gray}
+ \patternindexinherentlycolored{crosshatch dots light steel blue}
\end{tabular}
-
-%%% Local Variables:
+
+%%% Local Variables:
%%% mode: latex
%%% TeX-master: "pgfmanual-pdftex-version"
-%%% End:
+%%% End: