diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgf/modules/pgfmoduledecorations.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/pgf/modules/pgfmoduledecorations.code.tex | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/generic/pgf/modules/pgfmoduledecorations.code.tex b/Master/texmf-dist/tex/generic/pgf/modules/pgfmoduledecorations.code.tex index f7cdd13457a..c119dd622f5 100644 --- a/Master/texmf-dist/tex/generic/pgf/modules/pgfmoduledecorations.code.tex +++ b/Master/texmf-dist/tex/generic/pgf/modules/pgfmoduledecorations.code.tex @@ -56,7 +56,7 @@ aspect/.code={\pgfmathparse{#1}\let\pgfdecorationsegmentaspect\pgfmathresult}, start radius/.initial=2.5pt, end radius/.initial=2.5pt, - radius/.style={start radius=#1,end radius=#1}, + radius/.style={start radius={#1},end radius={#1}}, path has corners/.is if=pgfdecoratepathhascorners, reverse path/.is if=pgf@decorate@inputsegmentobjects@reverse, }% @@ -2180,11 +2180,11 @@ \def\pgfsnakesegmentaspect{\pgfdecorationsegmentaspect}% \pgfset{% - /pgf/segment amplitude/.style={/pgf/decoration={amplitude=#1,shape height=2*#1}}, - /pgf/segment length/.style={/pgf/decoration={segment length=#1}}, - /pgf/segment angle/.style={/pgf/decoration={angle=#1}}, - /pgf/segment aspect/.style={/pgf/decoration={aspect=#1}}, - /pgf/segment object length/.style={/pgf/decoration={shape width=#1,radius=#1}}}% + /pgf/segment amplitude/.style={/pgf/decoration={amplitude={#1},shape height={2*(#1)}}}, + /pgf/segment length/.style={/pgf/decoration={segment length={#1}}}, + /pgf/segment angle/.style={/pgf/decoration={angle={#1}}}, + /pgf/segment aspect/.style={/pgf/decoration={aspect={#1}}}, + /pgf/segment object length/.style={/pgf/decoration={shape width={#1},radius={#1}}}}% |