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.sailor.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.sailor.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.sailor.sty | 44 |
1 files changed, 13 insertions, 31 deletions
diff --git a/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.sailor.sty b/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.sailor.sty index 49c9a9750e6..415e6883327 100644 --- a/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.sailor.sty +++ b/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.sailor.sty @@ -13,25 +13,8 @@ %% 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{details} \tikzpeople@addcolorkey{stripes} -\tikzpeople@addcolorkey{undershirt} -\tikzpeople@addcolorkey{hat} \newcommand{\tikzpeople@sailor@paint}{ \tikzpeople@person@paintshirt @@ -50,7 +33,7 @@ \begin{scope} \clip (233:3pt) -- (1.5pt,-6.5pt) -- (312:3pt) -- cycle; \draw[undershirt] (233:3.1pt) -- (1.5pt,-6.5pt) -- (312:3.1pt) -- cycle; - \draw[stripes,line width=0.15*\scalingfactor] (-0.5pt,-4pt) arc (270:300:6pt) + \draw[stripes] (-0.5pt,-4pt) arc (270:300:6pt) (-0.5pt,-4.7pt) arc (270:300:6pt) (-0.5pt,-5.4pt) arc (270:300:6pt) (-0.5pt,-6.1pt) arc (270:300:6pt); \draw[skin] (200:3.5pt) arc (200:330:3.5pt); @@ -112,25 +95,24 @@ \definecolor{hat}{RGB}{232,232,232} \definecolor{undershirt}{rgb}{0.9,0.9,0.95} \definecolor{stripes}{rgb}{0.3,0.3,0.3} - \definecolor{skin}{rgb}{0.84,0.58,0.24} - \definecolor{hair}{rgb}{0.45,0.24,0} \definecolor{details}{rgb}{0.02,0.18,0.54} } \newcommand{\tikzpeople@sailor@definestyles}{ - \tikzstyle{shirt}=[color=\tikzpeople@shirt!80,top color=\tikzpeople@shirt!30, bottom color=\tikzpeople@shirt!90,shading angle=45]; - \tikzstyle{hat}=[color=\tikzpeople@hat!80,top color=\tikzpeople@hat!30, bottom color=\tikzpeople@hat!90,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=45]; - \tikzstyle{undershirt}=[color=\tikzpeople@undershirt!80,top color=\tikzpeople@undershirt!40, bottom color=\tikzpeople@undershirt!80,shading angle=45]; - \tikzstyle{details}=[color=\tikzpeople@details!80,top color=\tikzpeople@details!40, bottom color=\tikzpeople@details!80,shading angle=45]; - \tikzstyle{stripes}=[color=\tikzpeople@stripes!80]; - \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]; + \if@tikzpeople@saturated + \tikzset{ + details/.style={color=\tikzpeople@details,top color=\tikzpeople@details!70, bottom color=\tikzpeople@details,shading angle=45}, + stripes/.style={color=\tikzpeople@stripes,line width=0.15*\scalingfactor,cap=rect} + } + \else + \tikzset{ + details/.style={color=\tikzpeople@details!80,top color=\tikzpeople@details!40, bottom color=\tikzpeople@details!80,shading angle=45}, + stripes/.style={color=\tikzpeople@stripes!80,line width=0.15*\scalingfactor,cap=rect} + } + \fi } \newcommand{\tikzpeople@sailor@colors}{ shirt/340/{1.2/-.9}, hair/170/{-.75/.9}, hat/150/{-.6/1.4}, skin/190/{-.6/.4}, - undershirt/210/{.2/-.44}, stripes/0/{.3/-.5}, details/20/{0/1.8,.6/0}% + undershirt/210/{.2/-.5}, stripes/0/{.2/-.58}, details/20/{0/1.8,.6/0}% } |