diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.groom.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.groom.sty | 66 |
1 files changed, 26 insertions, 40 deletions
diff --git a/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.groom.sty b/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.groom.sty index b90667e6398..2bcc815842f 100644 --- a/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.groom.sty +++ b/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.groom.sty @@ -13,23 +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{hat} \tikzpeople@addcolorkey{tie} \newcommand{\tikzpeople@groom@paint}{ @@ -80,27 +63,27 @@ \begin{scope} \pgftransformrotate{10} \path[hat] - (30:3pt) ++(0pt,3pt) coordinate (tmp) - (150:3pt) to[out=85,in=275] ++(0pt,3pt) to[out=10,in=170] (tmp) + (30:3pt) ++(0pt,3pt) coordinate (tikzpeople@tmp) + (150:3pt) to[out=85,in=275] ++(0pt,3pt) to[out=10,in=170] (tikzpeople@tmp) to[out=265,in=95] (30:3pt) --cycle; \begin{scope} \clip - (30:3pt) ++(0pt,3pt) coordinate (tmp) (150:3pt) to[out=85,in=275] - ++(0pt,3pt) to[out=10,in=170] (tmp) to[out=265,in=95] (30:3pt) --cycle; - \path[color=\tikzpeople@hat!60,top color=\tikzpeople@hat!40, bottom color=\tikzpeople@hat!60,shading angle=45] - (30:3pt) ++(0pt,1.3pt) coordinate (tmp) (150:3pt) ++(0pt,.7pt) - coordinate (tmp2) (150:3pt) ++(0pt,1.5pt) to[out=355,in=185] (tmp) -- - ++(0pt,-.7pt) to[out=185,in=355] (tmp2) --cycle; + (30:3pt) ++(0pt,3pt) coordinate (tikzpeople@tmp) (150:3pt) to[out=85,in=275] + ++(0pt,3pt) to[out=10,in=170] (tikzpeople@tmp) to[out=265,in=95] (30:3pt) --cycle; + \path[hatwrap] + (30:3pt) ++(0pt,1.3pt) coordinate (tikzpeople@tmp) (150:3pt) ++(0pt,.7pt) + coordinate (tikzpeople@tmp2) (150:3pt) ++(0pt,1.5pt) to[out=355,in=185] (tikzpeople@tmp) -- + ++(0pt,-.7pt) to[out=185,in=355] (tikzpeople@tmp2) --cycle; \end{scope} \end{scope} \begin{scope} \pgftransformrotate{4} \begin{scope} \pgftransformshift{\pgfpoint{-.05pt}{.075pt}} - \path[color=\tikzpeople@hat!40,top color=\tikzpeople@hat!10, bottom color=\tikzpeople@hat!40,shading angle=90] - (170:3pt) ++(-.5pt,1.75pt) coordinate (tmp) arc (255:291:11pt) arc + \path[hatrim] + (170:3pt) ++(-.5pt,1.75pt) coordinate (tikzpeople@tmp) arc (255:291:11pt) arc (111:-69:.1pt) arc (291:253:11pt) to[out=163, in= 163,in looseness=3] - (tmp); + (tikzpeople@tmp); \end{scope} \path[hat] (25:3pt) to[out=170,in=10] (160:3pt) arc (160:170:3pt) @@ -112,25 +95,28 @@ \newcommand{\tikzpeople@groom@definecolors}{ \definecolor{shirt}{rgb}{0,0,0} \definecolor{hat}{rgb}{0,0,0} - \definecolor{skin}{rgb}{0.84,0.58,0.24} - \definecolor{hair}{rgb}{0.45,0.24,0} \definecolor{undershirt}{RGB}{232,232,232} \definecolor{tie}{RGB}{194,0,0} } \newcommand{\tikzpeople@groom@definestyles}{ - \tikzstyle{shirt}=[color=\tikzpeople@shirt!80,top color=\tikzpeople@shirt!50, bottom color=\tikzpeople@shirt!80,shading angle=45]; - \tikzstyle{hat}=[color=\tikzpeople@hat!80,top color=\tikzpeople@hat!40, bottom color=\tikzpeople@hat!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=45]; - \tikzstyle{tie}=[color=\tikzpeople@tie!80,inner color=\tikzpeople@tie!60, outer color=\tikzpeople@tie!80]; - \tikzstyle{undershirt}=[color=\tikzpeople@undershirt!80,top color=\tikzpeople@undershirt!40, bottom color=\tikzpeople@undershirt!80,shading angle=45]; - \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{ + hatrim/.style ={color=\tikzpeople@hat!60,top color=\tikzpeople@hat!30, bottom color=\tikzpeople@hat!60,shading angle=90}, + hatwrap/.style={color=\tikzpeople@hat!80,top color=\tikzpeople@hat!60, bottom color=\tikzpeople@hat!80,shading angle=45}, + tie/.style ={color=\tikzpeople@tie,inner color=\tikzpeople@tie!80, outer color=\tikzpeople@tie} + } + \else + \tikzset{ + hatrim/.style ={color=\tikzpeople@hat!40,top color=\tikzpeople@hat!10, bottom color=\tikzpeople@hat!40,shading angle=90}, + hatwrap/.style={color=\tikzpeople@hat!60,top color=\tikzpeople@hat!40, bottom color=\tikzpeople@hat!60,shading angle=45}, + shirt/.style ={color=\tikzpeople@shirt!80,top color=\tikzpeople@shirt!50, bottom color=\tikzpeople@shirt!80,shading angle=45}, + tie/.style ={color=\tikzpeople@tie!80,inner color=\tikzpeople@tie!60, outer color=\tikzpeople@tie!80} + } + \fi } \newcommand{\tikzpeople@groom@colors}{ shirt/200/{-.75/-.8}, hair/160/{-.7/.9}, hat/20/{.3/2}, skin/0/{.5/.7}, - undershirt/340/{.25/-.5},tie/180/{-.15/-.15}% + undershirt/340/{.25/-.5},tie/180/{-.15/-.25}% } |