diff options
author | Karl Berry <karl@freefriends.org> | 2016-11-28 23:47:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-11-28 23:47:56 +0000 |
commit | 3bb968911fe7c1366654b04283a2b0c90968f212 (patch) | |
tree | 07a7bcdabc295e16cdf5c0782c4cf7187f134e0c /Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.dave.sty | |
parent | 17096b7bd77fd18fc0e73e628b1ce5ab1dddca60 (diff) |
tikzpeople (28nov16)
git-svn-id: svn://tug.org/texlive/trunk@42598 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.dave.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.dave.sty | 49 |
1 files changed, 19 insertions, 30 deletions
diff --git a/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.dave.sty b/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.dave.sty index 79ffedfc58d..ec8520d47ff 100644 --- a/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.dave.sty +++ b/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.dave.sty @@ -13,22 +13,6 @@ %% This work has the LPPL maintenance status `maintained'. %% %% The Current Maintainer of this work is Nils Fleischhacker. -%% -%% This work consists of the files tikzpeople.tex, tikzpeople.sty, -%% tikzpeople.shape.alice.sty, tikzpeople.shape.bob.sty, -%% tikzpeople.shape.bride.sty, tikzpeople.shape.builder.sty, -%% tikzpeople.shape.businessman.sty, tikzpeople.shape.charlie.sty, -%% tikzpeople.shape.chef.sty, tikzpeople.shape.conductor.sty, -%% tikzpeople.shape.cowboy.sty, tikzpeople.shape.criminal.sty, -%% tikzpeople.shape.dave.sty, tikzpeople.shape.graduate.sty, -%% tikzpeople.shape.groom.sty, tikzpeople.shape.guard.sty, -%% tikzpeople.shape.jester.sty, tikzpeople.shape.judge.sty, -%% tikzpeople.shape.mexican.sty, tikzpeople.shape.nun.sty, -%% tikzpeople.shape.nurse.sty, tikzpeople.shape.physician.sty, -%% tikzpeople.shape.pilot.sty, tikzpeople.shape.police.sty, -%% tikzpeople.shape.priest.sty, tikzpeople.shape.sailor.sty, -%% tikzpeople.shape.santa.sty and tikzpeople.shape.surgeon.sty -\tikzpeople@addcolorkey{undershirt} \tikzpeople@addcolorkey{tie} \newcommand{\tikzpeople@dave@paint}{ @@ -43,7 +27,6 @@ } \newcommand{\tikzpeople@dave@definecolors}{ - \definecolor{skin}{rgb}{0.84,0.58,0.24} \definecolor{shirt}{RGB}{136,190,226} \definecolor{tie}{RGB}{173,36,47} \definecolor{undershirt}{rgb}{0.9,0.9,0.9} @@ -51,14 +34,15 @@ } \newcommand{\tikzpeople@dave@definestyles}{ - \tikzstyle{undershirt}=[color=\tikzpeople@undershirt!80,top color=\tikzpeople@undershirt!40, bottom color=\tikzpeople@undershirt!80,shading angle=45]; - \tikzstyle{shirt}=[color=\tikzpeople@shirt!80,top color=\tikzpeople@shirt!40, bottom color=\tikzpeople@shirt!80,shading angle=45]; - \tikzstyle{skin}=[color=\tikzpeople@skin!80,top color=\tikzpeople@skin!40, bottom color=\tikzpeople@skin!80,shading angle=45]; - \tikzstyle{hair}=[color=\tikzpeople@hair!80,top color=\tikzpeople@hair!40, bottom color=\tikzpeople@hair!80,shading angle=90]; - \tikzstyle{goatee}=[color=\tikzpeople@hair!80,top color=\tikzpeople@hair!40, bottom color=\tikzpeople@hair!80,shading angle=45]; - \tikzstyle{horns}=[color=red!80,top color=red!40, bottom color=red!80,shading angle=45]; - \tikzstyle{halo}=[color=yellow!80,top color=yellow!40, bottom color=yellow!80,shading angle=45]; - \tikzstyle{tie}=[color=\tikzpeople@tie!80,top color=\tikzpeople@tie!40, bottom color=\tikzpeople@tie!80,shading angle=45]; + \if@tikzpeople@saturated + \tikzset{ + tie/.style={color=\tikzpeople@tie,top color=\tikzpeople@tie!70, bottom color=\tikzpeople@tie,shading angle=45} + } + \else + \tikzset{ + tie/.style={color=\tikzpeople@tie!80,top color=\tikzpeople@tie!40, bottom color=\tikzpeople@tie!80,shading angle=45} + } + \fi } \newcommand{\tikzpeople@dave@painthair}{ @@ -91,7 +75,8 @@ (250:2.9pt) to[out=300,in=280,looseness=2] (310:2.8pt) -- cycle; \path[postaction={decorate},decoration={ markings, - mark=between positions 0.04 and 1 step 0.04 with {\pgftransformscale{\scalingfactor}\fill[tie] (0pt,0pt) circle (.1pt);} + mark=between positions 0.04 and 1 step 0.04 with {\pgftransformscale{\scalingfactor} + \fill[tie] (0pt,0pt) circle (.1pt);} }] (245:2.9pt) to[out=300,in=270,looseness=3] (311:3pt); \else @@ -113,16 +98,20 @@ \if@tikzpeople@mirrored \path[postaction={decorate},decoration={ markings, - mark=between positions 0.11 and .54 step 0.02 with {\pgftransformscale{\scalingfactor}\draw[shirt] (0pt,0pt) -- (0pt,.3pt) arc (360:180:.15pt) -- (-.3pt,0pt);}, - mark=between positions 0.54 and .91 step 0.02 with {\pgftransformscale{\scalingfactor}\draw[shirt] (0pt,0pt) -- (0pt,.3pt) arc (180:360:.15pt) -- (.3pt,0pt);} + mark=between positions 0.11 and .54 step 0.02 with {\pgftransformscale{\scalingfactor} + \draw[shirt] (0pt,0pt) -- (0pt,.3pt) arc (360:180:.15pt) -- (-.3pt,0pt);}, + mark=between positions 0.54 and .91 step 0.02 with {\pgftransformscale{\scalingfactor} + \draw[shirt] (0pt,0pt) -- (0pt,.3pt) arc (180:360:.15pt) -- (.3pt,0pt);} }] (-1.9pt,-1pt) to[out=290,in=130,looseness=.75] (2pt,-7.8pt) to[out=80,in=280,looseness=.75] (1.9pt,-1pt); \else \path[postaction={decorate},decoration={ markings, - mark=between positions 0.11 and .54 step 0.02 with {\pgftransformscale{\scalingfactor}\draw[shirt] (0pt,0pt) -- (0pt,-.3pt) arc (0:180:.15pt) -- (-.3pt,0pt);}, - mark=between positions 0.54 and .91 step 0.02 with {\pgftransformscale{\scalingfactor}\draw[shirt] (0pt,0pt) -- (0pt,-.3pt) arc (180:0:.15pt) -- (.3pt,0pt);} + mark=between positions 0.11 and .54 step 0.02 with {\pgftransformscale{\scalingfactor} + \draw[shirt] (0pt,0pt) -- (0pt,-.3pt) arc (0:180:.15pt) -- (-.3pt,0pt);}, + mark=between positions 0.54 and .91 step 0.02 with {\pgftransformscale{\scalingfactor} + \draw[shirt] (0pt,0pt) -- (0pt,-.3pt) arc (180:0:.15pt) -- (.3pt,0pt);} }] (-1.9pt,-1pt) to[out=290,in=130,looseness=.75] (2pt,-7.8pt) to[out=80,in=280,looseness=.75] (1.9pt,-1pt); |