Skip to content

Commit

Permalink
- handled one more codeexample that was added after branching.
Browse files Browse the repository at this point in the history
  (related issues #640, #711, #729)
  • Loading branch information
Mo-Gul authored and hmenke committed Aug 27, 2019
1 parent 51b935b commit 76a69d2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/generic/pgf/text-en/pgfmanual-en-tikz-actions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 76a69d2

Please sign in to comment.