diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.bob.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.bob.sty | 40 |
1 files changed, 12 insertions, 28 deletions
diff --git a/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.bob.sty b/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.bob.sty index 6adc0cd1bec..e68e8016ce1 100644 --- a/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.bob.sty +++ b/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.bob.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{pearls} \newcommand{\tikzpeople@bob@paint}{ @@ -43,22 +27,21 @@ } \newcommand{\tikzpeople@bob@definecolors}{ - \definecolor{skin}{rgb}{0.84,0.58,0.24} - \definecolor{hair}{rgb}{0.45,0.24,0} \definecolor{shirt}{RGB}{98,98,98} \definecolor{pearls}{RGB}{252,137,172} \definecolor{undershirt}{rgb}{0.9,0.9,0.9} } \newcommand{\tikzpeople@bob@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{pearls}=[top color=\tikzpeople@pearls!40,bottom color=\tikzpeople@pearls!80,shading angle=-45] + \if@tikzpeople@saturated + \tikzset{ + pearls/.style={top color=\tikzpeople@pearls!70,bottom color=\tikzpeople@pearls,shading angle=-45} + } + \else + \tikzset{ + pearls/.style={top color=\tikzpeople@pearls!40,bottom color=\tikzpeople@pearls!80,shading angle=-45} + } + \fi } \newcommand{\tikzpeople@bob@painthair}{ @@ -91,7 +74,7 @@ (2pt,-7.8pt) to[out=80,in=280,looseness=.75] (1.9pt,-1pt); \draw[skin] (245:2.9pt) to[out=300,in=270,looseness=1.5] (311:3pt) -- cycle; - \draw[color=\tikzpeople@shirt!80] + \draw[color=\tikzpeople@shirt\if@tikzpeople@saturated\else!80\fi] (-1.9pt,-1pt) to[out=290,in=130,looseness=.75] (2pt,-7.8pt) to[out=80,in=280,looseness=.75] (1.9pt,-1pt); \if@tikzpeople@female @@ -104,5 +87,6 @@ } \newcommand{\tikzpeople@bob@colors}{ - shirt/200/{-1/-.6}, hair/160/{-.65/1}, skin/20/{.25/.4}, undershirt/340/{.15/-.4}% + shirt/200/{-1/-.6}, hair/160/{-.65/1}, skin/20/{.25/.4}, + undershirt/340/{.15/-.4}% } |