summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.pilot.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.pilot.sty')
-rw-r--r--Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.pilot.sty62
1 files changed, 26 insertions, 36 deletions
diff --git a/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.pilot.sty b/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.pilot.sty
index d46af1fec55..80213e9c29b 100644
--- a/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.pilot.sty
+++ b/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.pilot.sty
@@ -13,24 +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{undershirt}
-\tikzpeople@addcolorkey{hat}
\tikzpeople@addcolorkey{visor}
\tikzpeople@addcolorkey{straps}
@@ -75,14 +58,15 @@
}
\newcommand{\tikzpeople@pilot@paintvisor}{
- \pgfdeclareradialshading{visor}{\pgfqpoint{-15pt}{10pt}}{%
- color(0pt)=(\tikzpeople@visor!20);
- color(40pt)=(\tikzpeople@visor!80)}
- \draw[visor,rounded corners=.4pt*\scalingfactor] (155:2.5pt) to [out=40,in=170] (45:3.2pt) to [out=310,in=90] (2:3.2pt) -- (348:2pt) -- (40:1.3pt) -- (300:.5pt) -- (200:1.5pt) -- cycle;
+ \draw[visor,rounded corners=.4pt*\scalingfactor]
+ (155:2.5pt) to [out=40,in=170] (45:3.2pt) to [out=310,in=90] (2:3.2pt) --
+ (348:2pt) -- (40:1.3pt) -- (300:.5pt) -- (200:1.5pt) -- cycle;
}
\newcommand{\tikzpeople@pilot@painthat}{
- \draw[hat] (5:3pt) arc (5:255:3pt) to [out=120,in=250] ++(-0.1pt,2.7pt) to [out=350,in=210] (5:3pt);
+ \draw[hat]
+ (5:3pt) arc (5:255:3pt) to [out=120,in=250] ++(-0.1pt,2.7pt)
+ to[out=350,in=210] (5:3pt);
}
\newcommand{\tikzpeople@pilot@definecolors}{
@@ -90,27 +74,33 @@
\definecolor{hat}{RGB}{232,232,232}
\definecolor{visor}{RGB}{122,150,165}
\definecolor{undershirt}{RGB}{99,97,96}
- \definecolor{skin}{rgb}{0.84,0.58,0.24}
- \definecolor{hair}{rgb}{0.45,0.24,0}
\definecolor{straps}{rgb}{0,0,0}
\definecolor{details}{rgb}{0.3,0.3,0.3}
}
\newcommand{\tikzpeople@pilot@definestyles}{
- \tikzstyle{shirt}=[color=\tikzpeople@shirt!80,top color=\tikzpeople@shirt!40, bottom color=\tikzpeople@shirt!80,shading angle=45];
- \tikzstyle{visor}=[shading=visor,color=\tikzpeople@visor!80];
- \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{undershirt}=[color=\tikzpeople@undershirt!80,top color=\tikzpeople@undershirt!40, bottom color=\tikzpeople@undershirt!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{straps}=[color=\tikzpeople@straps!60,top color=\tikzpeople@straps!5, bottom color=\tikzpeople@straps!20,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
+ \pgfdeclareradialshading{visor}{\pgfqpoint{-15pt}{10pt}}{%
+ color(0pt)=(\tikzpeople@visor!30);
+ color(40pt)=(\tikzpeople@visor)}
+ \tikzset{
+ visor/.style ={shading=visor,color=\tikzpeople@visor},
+ details/.style={color=\tikzpeople@details},
+ straps/.style ={color=\tikzpeople@straps,top color=\tikzpeople@straps!20, bottom color=\tikzpeople@straps!50,shading angle=45}
+ }
+ \else
+ \pgfdeclareradialshading{visor}{\pgfqpoint{-15pt}{10pt}}{%
+ color(0pt)=(\tikzpeople@visor!20);
+ color(40pt)=(\tikzpeople@visor!80)}
+ \tikzset{
+ visor/.style ={shading=visor,color=\tikzpeople@visor!80},
+ details/.style={color=\tikzpeople@details!80},
+ straps/.style ={color=\tikzpeople@straps!60,top color=\tikzpeople@straps!5, bottom color=\tikzpeople@straps!20,shading angle=45}
+ }
+ \fi
}
\newcommand{\tikzpeople@pilot@colors}{
shirt/200/{-1/-.95}, visor/30/{.7/1.1}, hat/160/{-.75/.9}, skin/10/{.5/.6},
- undershirt/180/{.15/-.1}, straps/350/{.8/-.5}, decoration/330/{.42/-.7}%
+ undershirt/180/{.15/-.1}, straps/350/{.8/-.5}, decoration/330/{.35/-.7}%
}