Skip to content

Commit

Permalink
/.style -> /.code #808
Browse files Browse the repository at this point in the history
  • Loading branch information
hmenke committed May 28, 2020
1 parent 1612b81 commit 1c38099
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/generic/pgf/text-en/pgfmanual-en-pgfkeys.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1350,9 +1350,9 @@ \subsubsection{Defining Value-, Macro-, If- and Choice-Keys}
%
\begin{codeexample}[code only]
\pgfkeys{/line cap/.is choice}
\pgfkeys{/line cap/round/.style={\pgfsetbuttcap}}
\pgfkeys{/line cap/butt/.style={\pgfsetroundcap}}
\pgfkeys{/line cap/rect/.style={\pgfsetrectcap}}
\pgfkeys{/line cap/round/.code={\pgfsetbuttcap}}
\pgfkeys{/line cap/butt/.code={\pgfsetroundcap}}
\pgfkeys{/line cap/rect/.code={\pgfsetrectcap}}
\pgfkeys{/line cap/rectangle/.style={/line cap=rect}}
...
\draw [/line cap=butt] ...
Expand Down

0 comments on commit 1c38099

Please sign in to comment.