Skip to content

Commit

Permalink
fix: use corresponding line cap cmd #808
Browse files Browse the repository at this point in the history
  • Loading branch information
muzimuzhi committed May 26, 2023
1 parent fa21e2c commit 425b03d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/generic/pgf/pgfmanual-en-pgfkeys.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1374,8 +1374,8 @@ \subsubsection{Defining Value-, Macro-, If- and Choice-Keys}
%
\begin{codeexample}[code only]
\pgfkeys{/line cap/.is choice}
\pgfkeys{/line cap/round/.code={\pgfsetbuttcap}}
\pgfkeys{/line cap/butt/.code={\pgfsetroundcap}}
\pgfkeys{/line cap/round/.code={\pgfsetroundcap}}
\pgfkeys{/line cap/butt/.code={\pgfsetbuttcap}}
\pgfkeys{/line cap/rect/.code={\pgfsetrectcap}}
\pgfkeys{/line cap/rectangle/.style={/line cap=rect}}
...
Expand Down

0 comments on commit 425b03d

Please sign in to comment.