diff --git a/doc/generic/pgf/text-en/pgfmanual-en-tikz-actions.tex b/doc/generic/pgf/text-en/pgfmanual-en-tikz-actions.tex index 8c3bb1757..51d57811a 100644 --- a/doc/generic/pgf/text-en/pgfmanual-en-tikz-actions.tex +++ b/doc/generic/pgf/text-en/pgfmanual-en-tikz-actions.tex @@ -364,12 +364,12 @@ \subsubsection{Graphic Parameters: Dash Pattern} \begin{key}{/tikz/dash expand off} Makes the |off| part of a dash pattern expandable such that it can stretch. This only works when there is a single |on| and a single |off| field and - requires the |decorations| library. Right now this option has to be - specified on the path where it is supposed to take effect after the |dash - pattern| option because the dash pattern has to be known at the point where - it is applied. + requires the |decorations| library. Right now this option has to be + specified on the path where it is supposed to take effect after the + |dash pattern| option because the dash pattern has to be known at the point + where it is applied. % -\begin{codeexample}[] +\begin{codeexample}[preamble={\usetikzlibrary{decorations}}] \begin{tikzpicture}[|-|, dash pattern=on 4pt off 2pt] \draw [dash expand off] (0pt,30pt) -- (26pt,30pt); \draw [dash expand off] (0pt,20pt) -- (24pt,20pt);