diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.chef.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.chef.sty | 51 |
1 files changed, 16 insertions, 35 deletions
diff --git a/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.chef.sty b/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.chef.sty index fc51b15024a..ee4b5924078 100644 --- a/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.chef.sty +++ b/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.chef.sty @@ -13,23 +13,7 @@ %% 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{hat} \newcommand{\tikzpeople@chef@paint}{ \tikzpeople@person@paintshirt @@ -44,16 +28,13 @@ } \newcommand{\tikzpeople@chef@paintshirtdetails}{ - \begin{scope} - \draw[details] (230:3pt) .. controls (0.24pt,-5pt) and (0.29pt,-8pt) .. (0.3pt,-9pt); + \draw[details] + (230:3pt) .. controls (0.24pt,-5pt) and (0.29pt,-8pt) .. (0.3pt,-9pt); \draw[shirt,thick,shading angle=-45] - (230:3pt) .. controls +(-0.4pt,-1.5pt) .. - ++(0pt,-3pt) .. controls +(1.5pt,0.5pt) .. - ++(3pt,0.2pt) .. controls +(0.5pt,0.4pt) .. - ++(2pt,0.7pt) .. controls +(0pt,0.5pt) .. - (312:3pt); + (230:3pt) .. controls +(-0.4pt,-1.5pt) .. ++(0pt,-3pt) .. controls + +(1.5pt,0.5pt) .. ++(3pt,0.2pt) .. controls +(0.5pt,0.4pt) .. + ++(2pt,0.7pt) .. controls +(0pt,0.5pt) .. (312:3pt); \draw[skin] (231:3pt) -- (1pt,-4.85pt) -- (311:3pt) -- cycle; - \end{scope} } \newcommand{\tikzpeople@chef@painthat}{ @@ -73,21 +54,21 @@ \newcommand{\tikzpeople@chef@definecolors}{ \definecolor{shirt}{RGB}{232,232,232} \definecolor{hat}{RGB}{232,232,232} - \definecolor{skin}{rgb}{0.84,0.58,0.24} - \definecolor{hair}{rgb}{0.45,0.24,0} \definecolor{details}{rgb}{0.3,0.3,0.3} } \newcommand{\tikzpeople@chef@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{details}=[color=\tikzpeople@details!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} + } + \else + \tikzset{ + details/.style={color=\tikzpeople@details!80} + } + \fi } \newcommand{\tikzpeople@chef@colors}{ - shirt/340/{.75/-.75}, hair/160/{-.75/.9}, hat/30/{.5/1.3}, skin/0/{.4/.6}, details/200/{-.04/-1}% + shirt/340/{.75/-.75}, hair/160/{-.75/.9}, hat/30/{.5/1.3}, skin/0/{.4/.6}, + details/200/{-.1/-1}% } |