summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.nun.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.nun.sty')
-rw-r--r--Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.nun.sty63
1 files changed, 26 insertions, 37 deletions
diff --git a/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.nun.sty b/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.nun.sty
index f8c74066c38..7898f816427 100644
--- a/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.nun.sty
+++ b/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.nun.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{hat}
\tikzpeople@addcolorkey{plaid}
\newcommand{\tikzpeople@nun@paint}{
@@ -42,55 +26,60 @@
}
\newcommand{\tikzpeople@nun@definecolors}{
- \definecolor{skin}{rgb}{0.84,0.58,0.24}
\definecolor{shirt}{rgb}{0,0,0}
+ \definecolor{hat}{rgb}{0,0,0}
\definecolor{plaid}{RGB}{232,232,232}
\definecolor{hair}{rgb}{0,0,0}
}
\newcommand{\tikzpeople@nun@definestyles}{
- \tikzstyle{shirt}=[clip, top color=\tikzpeople@shirt!60, bottom color=\tikzpeople@shirt!80,shading angle=45];
- \tikzstyle{plaid}=[top color=\tikzpeople@plaid!30, bottom color=\tikzpeople@plaid!90,shading angle=45];
- \tikzstyle{skin}=[color=\tikzpeople@skin!80,top color=\tikzpeople@skin!40, bottom color=\tikzpeople@skin!80,shading angle=45];
- \tikzstyle{hat}=[color=\tikzpeople@shirt!80,top color=\tikzpeople@shirt!40,bottom color=\tikzpeople@shirt!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{
+ plaid/.style={top color=\tikzpeople@plaid!70, bottom color=\tikzpeople@plaid,shading angle=45}
+ }
+ \else
+ \tikzset{
+ plaid/.style={top color=\tikzpeople@plaid!30, bottom color=\tikzpeople@plaid!90,shading angle=45}
+ }
+ \fi
}
\newcommand{\tikzpeople@nun@painthat}{
\begin{scope}
\clip(0,0) circle (3.05pt);
- \fill[color=\tikzpeople@plaid!80!black!30]
+ \path[plaid,draw=none]
( -1.3pt, -0.1pt) .. controls (0pt,-0.1pt) and (2pt,0.2pt) ..
- (10:3.2pt) arc (10:180:3.2pt);
+ (10:3.2pt) arc (10:180:3.2pt) -- cycle;
\end{scope}
\draw[hat]
- (15:3pt) arc (15:170:3pt) --
- (-3.0pt, 0.2pt) .. controls (-3.3pt,-1.0pt) and (-3.3pt,-2.3pt) ..
+ (15:3.05pt) arc (15:170:3.05pt) --
+ (-3.05pt, 0.2pt) .. controls (-3.3pt,-1.0pt) and (-3.3pt,-2.3pt) ..
(-3.2pt,-3.6pt) .. controls (-2.7pt,-4.0pt) and (-1.7pt,-4.3pt) ..
(-1.2pt,-4.5pt) .. controls (-1.6pt,-2.0pt) and (-1.6pt, 0.0pt) ..
- (-1.3pt, 0.2pt) .. controls ( 0.0pt, 0.2pt) and ( 2.0pt, 0.5pt) ..
- (15:3pt);
+ (-1.3pt, 0.2pt) .. controls ( 0.0pt, 0.1pt) and ( 2.0pt, 0.5pt) ..
+ (15:3.05pt);
}
\newcommand{\tikzpeople@nun@paintshirt}{
\begin{scope}
+ \clip
+ (-4pt,-8pt) .. controls (-2pt,-10pt) and ( 3pt,-9pt) ..
+ ( 5pt,-7pt) .. controls ( 5pt, 0pt) and (-5pt, 0pt) ..
+ (-4pt,-8pt);
\path[shirt]
(-4pt,-8pt) .. controls (-2pt,-10pt) and ( 3pt,-9pt) ..
( 5pt,-7pt) .. controls ( 5pt, 0pt) and (-5pt, 0pt) ..
(-4pt,-8pt);
\path[plaid]
- (-3.9 pt, 0.0pt) -- (-3.9pt,-5.5pt) .. controls (-2pt,-7.5pt) and (3pt,-6.5pt) ..
- ( 4.55pt,-4.7pt) .. controls (4.45pt,-4.3pt) ..
+ (-3.9 pt, 0.0pt) -- (-3.9pt,-5.5pt) .. controls (-2pt,-7.5pt) and
+ (3pt,-6.5pt) .. ( 4.55pt,-4.7pt) .. controls (4.45pt,-4.3pt) ..
( 4.2 pt,-4.0pt) -- (4.2pt,0pt);
\end{scope}
- \draw[color=\tikzpeople@shirt!80]
- (-4pt,-8pt) .. controls (-2pt,-10pt) and ( 3pt,-9pt) ..
- ( 5pt,-7pt) .. controls ( 5pt, 0pt) and (-5pt, 0pt) ..
- (-4pt,-8pt);
+ \draw[color=\tikzpeople@shirt\if@tikzpeople@saturated\else!80\fi]
+ (-4pt,-8pt) .. controls (-2pt,-10pt) and ( 3pt,-9pt) .. ( 5pt,-7pt) ..
+ controls ( 5pt, 0pt) and (-5pt, 0pt) .. (-4pt,-8pt);
}
\newcommand{\tikzpeople@nun@colors}{
- shirt/180/{-1/-1.2,-.65/.7}, skin/20/{.6/.9}, plaid/340/{.9/-.4,.1/.96}%
+ shirt/190/{-1/-1.2}, hat/170/{-.65/.7}, skin/20/{.6/.9}, plaid/340/{.9/-.4,.1/.9}%
}