summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.graduate.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.graduate.sty')
-rw-r--r--Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.graduate.sty41
1 files changed, 11 insertions, 30 deletions
diff --git a/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.graduate.sty b/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.graduate.sty
index c4831b4adad..127fd850fc4 100644
--- a/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.graduate.sty
+++ b/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.graduate.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{stripes}
-\tikzpeople@addcolorkey{undershirt}
-\tikzpeople@addcolorkey{hat}
\newcommand{\tikzpeople@graduate@paint}{
\tikzpeople@person@paintshirt
@@ -73,7 +56,7 @@
( 2.2pt,-8 pt) .. controls ( 2.3pt,-6 pt) and ( 2.2pt,-4 pt) ..
( 2 pt,-2 pt) -- cycle;
\end{scope}
- \draw[\tikzpeople@shirt!80]
+ \draw[color=\tikzpeople@shirt\if@tikzpeople@saturated\else!80\fi]
(-4.0pt,-8.0pt) .. controls (-2pt,-10pt) and ( 3pt,-9pt) ..
( 5.0pt,-7.0pt) .. controls ( 5pt, 0pt) and (-5pt, 0pt) ..
(-4.0pt,-8.0pt);
@@ -86,7 +69,7 @@
(20:3pt) -- +(0pt,2pt) -- (175:3pt |- 0,3pt) -- cycle;
\draw[hat]
(4.4pt,3.6pt) -- (-1.5pt,4pt) -- (-4.3pt,2.5pt) -- (2pt,2pt);
- \draw[color=\tikzpeople@hat!80,line width=0.15*\scalingfactor]
+ \draw[color=\tikzpeople@hat\if@tikzpeople@saturated\else!80\fi,line width=0.15*\scalingfactor,cap=round]
(0pt,3.2pt) -- (-3.4pt,2.5pt) arc (90:180:0.2pt) -- (-3.5pt,-0.5pt);
\draw[hat]
(-3.6pt,-0.5pt) -- (-3.7pt,-1.5pt) .. controls (-3.5pt,-1.6pt) ..
@@ -101,19 +84,17 @@
\definecolor{hat}{rgb}{0,0,0}
\definecolor{undershirt}{RGB}{232,232,232}
\definecolor{stripes}{rgb}{0.16,0.55,0.31}
- \definecolor{skin}{rgb}{0.84,0.58,0.24}
- \definecolor{hair}{rgb}{0.45,0.24,0}
}
\newcommand{\tikzpeople@graduate@definestyles}{
- \tikzstyle{shirt}=[color=\tikzpeople@shirt!80,top color=\tikzpeople@shirt!40, 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{undershirt}=[color=\tikzpeople@undershirt!80,top color=\tikzpeople@undershirt!30, bottom color=\tikzpeople@undershirt!90,shading angle=45];
- \tikzstyle{stripes}=[color=\tikzpeople@stripes!80,top color=\tikzpeople@stripes!40, bottom color=\tikzpeople@stripes!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{
+ stripes/.style={color=\tikzpeople@stripes,top color=\tikzpeople@stripes!70, bottom color=\tikzpeople@stripes,shading angle=45}
+ }
+ \else
+ \tikzset{
+ stripes/.style={color=\tikzpeople@stripes!80,top color=\tikzpeople@stripes!40, bottom color=\tikzpeople@stripes!80,shading angle=45}
+ }
+ \fi
}
\newcommand{\tikzpeople@graduate@colors}{