summaryrefslogtreecommitdiff
path: root/graphics/pgf/base/doc/text-en/pgfmanual-en-library-rdf.tex
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pgf/base/doc/text-en/pgfmanual-en-library-rdf.tex')
-rw-r--r--graphics/pgf/base/doc/text-en/pgfmanual-en-library-rdf.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/pgf/base/doc/text-en/pgfmanual-en-library-rdf.tex b/graphics/pgf/base/doc/text-en/pgfmanual-en-library-rdf.tex
index d972c80c5a..c5d276aa02 100644
--- a/graphics/pgf/base/doc/text-en/pgfmanual-en-library-rdf.tex
+++ b/graphics/pgf/base/doc/text-en/pgfmanual-en-library-rdf.tex
@@ -566,7 +566,7 @@ Here are some possible definitions of these keys that do not (yet) generate
The library could be used as follows:
%
-\begin{codeexample}[width=5cm]
+\begin{codeexample}[width=5cm,preamble={\usetikzlibrary{graphs,rdf}}]
\tikz [dfa]
\graph [math nodes, grow right = 1.5cm] {
q_0 [state, initial] -> [transition = a]
@@ -895,7 +895,7 @@ Putting it all together, we now get the following library code:
\emph{Using} this code is still ``as easy as before'', indeed, the code for
creating the automaton is perfectly unchanged:
%
-\begin{codeexample}[width=5cm]
+\begin{codeexample}[width=5cm,preamble={\usetikzlibrary{graphs,rdf}}]
\tikzset { rdf engine on }
\tikz [dfa]
\graph [math nodes, grow right = 1.5cm] {