diff options
Diffstat (limited to 'graphics/pgf/base/doc/text-en/pgfmanual-en-base-images.tex')
-rw-r--r-- | graphics/pgf/base/doc/text-en/pgfmanual-en-base-images.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/pgf/base/doc/text-en/pgfmanual-en-base-images.tex b/graphics/pgf/base/doc/text-en/pgfmanual-en-base-images.tex index e8531820ca..b7b536852f 100644 --- a/graphics/pgf/base/doc/text-en/pgfmanual-en-base-images.tex +++ b/graphics/pgf/base/doc/text-en/pgfmanual-en-base-images.tex @@ -159,7 +159,7 @@ To speedup the compilation, you may wish to use the following class option: The following example demonstrates the effect of using |\pgfuseimage| inside a colormixin environment. % -\begin{codeexample}[] +\begin{codeexample}[preamble={\usepackage{xxcolor}}] \pgfdeclareimage[interpolate=true,width=1cm,height=1cm] {image1.!25!white}{brave-gnu-world-logo.25} \pgfdeclareimage[interpolate=true,width=1cm] @@ -194,7 +194,7 @@ To speedup the compilation, you may wish to use the following class option: You can ``save'' the image for later usage by invoking |\pgfaliasimage| on |pgflastimage|. % -\begin{codeexample}[] +\begin{codeexample}[preamble={\usepackage{xxcolor}}] \begin{colormixin}{25!white} \begin{pgfpicture} \pgftext[at=\pgfpoint{1cm}{5cm},left,base] |