summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.criminal.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.criminal.sty')
-rw-r--r--Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.criminal.sty43
1 files changed, 14 insertions, 29 deletions
diff --git a/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.criminal.sty b/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.criminal.sty
index 943fe664607..1ed601e3a42 100644
--- a/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.criminal.sty
+++ b/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.criminal.sty
@@ -13,27 +13,11 @@
%% 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@criminal@paint}{
{
- \pgftransformshift{\pgfpoint{0}{-1.2pt}}
+ \pgftransformyshift{-1.2pt}
\tikzpeople@person@paintrighthorn
}
\tikzpeople@person@painthead
@@ -45,7 +29,7 @@
\fi
\tikzpeople@criminal@painthat
{
- \pgftransformshift{\pgfpoint{0}{-1.2pt}}
+ \pgftransformyshift{-1.2pt}
\tikzpeople@person@paintlefthorn
}
\tikzpeople@person@painthalo
@@ -60,7 +44,7 @@
( 5.0pt,-7.0pt) .. controls ( 5pt, 0pt) and (-5pt, 0pt) ..
(-4.0pt,-8.0pt) (205:3.1pt) arc (205:335:3.1pt) to[out=200,in=340]
(205:3.1pt) --cycle;
- \draw[color=\tikzpeople@shirt!80,line width=.4*\scalingfactor,cap=round]
+ \draw[color=\tikzpeople@shirt\if@tikzpeople@saturated\else!80\fi,line width=.4*\scalingfactor,cap=round]
(2pt,-8.7pt) to[out=90,in=290] (290:3.1pt) to[out=45,in=270] (310:2.25pt);
\draw[color=\tikzpeople@details,line width=.17*\scalingfactor,cap=round]
(2pt,-8.7pt) to[out=90,in=290] (290:3.1pt) to[out=45,in=270] (310:2.25pt);
@@ -91,22 +75,23 @@
\newcommand{\tikzpeople@criminal@definecolors}{
\definecolor{shirt}{RGB}{5,48,167}
\definecolor{hat}{RGB}{4,4,20}
- \definecolor{skin}{rgb}{0.84,0.58,0.24}
\definecolor{details}{RGB}{230,232,234}
\definecolor{hair}{rgb}{0,0,0}
}
\newcommand{\tikzpeople@criminal@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{details}=[color=\tikzpeople@details,top color=\tikzpeople@details!40, bottom color=\tikzpeople@details!80,shading angle=45];
- \tikzstyle{goatee}=[color=\tikzpeople@hair!80,top color=\tikzpeople@hair!40, bottom color=\tikzpeople@hair!80,shading angle=-45];
- \tikzstyle{hair}=[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,top color=\tikzpeople@details!70, bottom color=\tikzpeople@details,shading angle=45}
+ }
+ \else
+ \tikzset{
+ shirt/.style ={color=\tikzpeople@shirt!80,top color=\tikzpeople@shirt!50, bottom color=\tikzpeople@shirt!80,shading angle=45},
+ details/.style={color=\tikzpeople@details,top color=\tikzpeople@details!40, bottom color=\tikzpeople@details!80,shading angle=45}
+ }
+ \fi
}
\newcommand{\tikzpeople@criminal@colors}{
shirt/340/{1/-.75}, hat/160/{-.5/1.5}, skin/20/{.5/.75},
- details/200/{.325/-.25}%
+ details/200/{.27/-.25}%
}