| 1 |
%% Copyright 2016 Nils Fleischhacker |
| 2 |
%% |
| 3 |
%% This work may be distributed and/or modified under the |
| 4 |
%% conditions of the LaTeX Project Public License, either |
| 5 |
%% version 1.3 of this license or (at your option) any later |
| 6 |
%% version. The latest version of this license is in |
| 7 |
%% |
| 8 |
%% http://www.latex-project.org/lppl.txt |
| 9 |
%% |
| 10 |
%% and version 1.3 or later is part of all distributions of |
| 11 |
%% LaTeX version 2005/12/01 or later. |
| 12 |
%% |
| 13 |
%% This work has the LPPL maintenance status `maintained'. |
| 14 |
%% |
| 15 |
%% The Current Maintainer of this work is Nils Fleischhacker. |
| 16 |
\tikzpeople@addcolorkey{tie} |
| 17 |
\tikzpeople@addcolorkey{glasses} |
| 18 |
\tikzpeople@addcolorkey{earpiece} |
| 19 |
|
| 20 |
\newcommand{\tikzpeople@maninblack@paint}{ |
| 21 |
\tikzpeople@person@paintshirt |
| 22 |
\tikzpeople@maninblack@paintundershirt |
| 23 |
\tikzpeople@maninblack@paintopenshirt |
| 24 |
\tikzpeople@person@paintrighthorn |
| 25 |
\tikzpeople@person@painthead |
| 26 |
\tikzpeople@person@painthair |
| 27 |
\tikzpeople@maninblack@paintglasses |
| 28 |
\tikzpeople@person@paintgoatee |
| 29 |
\tikzpeople@person@paintlefthorn |
| 30 |
\tikzpeople@person@painthalo |
| 31 |
} |
| 32 |
|
| 33 |
\newcommand{\tikzpeople@maninblack@definecolors}{ |
| 34 |
\definecolor{shirt}{rgb}{0,0,0} |
| 35 |
\definecolor{undershirt}{rgb}{0.9,0.9,0.9} |
| 36 |
\definecolor{tie}{rgb}{0,0,0} |
| 37 |
\definecolor{hair}{rgb}{0,0,0} |
| 38 |
\definecolor{earpiece}{rgb}{0.9,0.9,0.9} |
| 39 |
\definecolor{glasses}{rgb}{0,0,.1} |
| 40 |
} |
| 41 |
|
| 42 |
\newcommand{\tikzpeople@maninblack@definestyles}{ |
| 43 |
\if@tikzpeople@saturated |
| 44 |
\tikzset{ |
| 45 |
tie/.style ={color=\tikzpeople@tie,top color=\tikzpeople@tie!70, bottom color=\tikzpeople@tie,shading angle=45}, |
| 46 |
glasses/.style ={color=\tikzpeople@glasses,top color=\tikzpeople@glasses!70, bottom color=\tikzpeople@glasses,shading angle=45}, |
| 47 |
earpiece/.style ={color=\tikzpeople@earpiece,top color=\tikzpeople@earpiece!70, bottom color=\tikzpeople@earpiece,shading angle=45}, |
| 48 |
earpiececable/.style={color=\tikzpeople@earpiece,decoration={coil,segment length=\scalingfactor*.12pt,amplitude=\scalingfactor*.1pt, pre length=\scalingfactor*.1pt},decorate,line width=\scalingfactor*.05pt} |
| 49 |
} |
| 50 |
\else |
| 51 |
\tikzset{ |
| 52 |
tie/.style ={color=\tikzpeople@tie!80,top color=\tikzpeople@tie!40, bottom color=\tikzpeople@tie!80,shading angle=45}, |
| 53 |
glasses/.style ={color=\tikzpeople@glasses!90,top color=\tikzpeople@glasses!50, bottom color=\tikzpeople@glasses!90,shading angle=45}, |
| 54 |
earpiece/.style ={color=\tikzpeople@earpiece!80,top color=\tikzpeople@earpiece!40, bottom color=\tikzpeople@earpiece!80,shading angle=45}, |
| 55 |
earpiececable/.style={color=\tikzpeople@earpiece!80,decoration={coil,segment length=\scalingfactor*.12pt,amplitude=\scalingfactor*.1pt, pre length=\scalingfactor*.1pt},decorate,line width=\scalingfactor*.05pt} |
| 56 |
} |
| 57 |
\fi |
| 58 |
} |
| 59 |
|
| 60 |
\newcommand{\tikzpeople@maninblack@paintglasses}{ |
| 61 |
\draw[glasses] |
| 62 |
(170:1.1pt) -- ++(173:1.8pt) -- ++(270:.1pt) to[out=340, in=140] (210:1pt); |
| 63 |
\draw[glasses] |
| 64 |
(15:3pt) to[out=200,in=355] (170:1.1pt) to[out=280,in=180] ++(290:1.05pt) |
| 65 |
to[out=350,in=180,out looseness=3] (1.3pt,.1pt) |
| 66 |
to[out=0,in=180,in looseness=2] ++(310:1pt) to[out=0,in=230,in looseness=.5] |
| 67 |
(357:3pt) arc (-3:15:3pt); |
| 68 |
\begin{scope} |
| 69 |
\clip (0pt,0pt) circle (3pt); |
| 70 |
\draw[earpiececable] |
| 71 |
(190:2.1pt) ++(0,-.2pt) to[out=270,in=120] (240:3.2pt); |
| 72 |
\draw[earpiece] (190:2.1pt) ellipse (.1pt and .2pt); |
| 73 |
\end{scope} |
| 74 |
} |
| 75 |
|
| 76 |
\newcommand{\tikzpeople@maninblack@paintundershirt}{ |
| 77 |
\begin{scope} |
| 78 |
\clip |
| 79 |
(-4pt,-8pt) .. controls (-2pt,-10pt) and (3pt,-9pt) .. |
| 80 |
( 5pt,-7pt) .. controls ( 5pt, 0pt) and (-5pt,0pt) .. |
| 81 |
(-4pt,-8pt); |
| 82 |
\draw[undershirt] |
| 83 |
(-2.2pt,-1pt) -- (2pt,-8.5pt) -- (2pt,-1pt); |
| 84 |
\draw[tie] |
| 85 |
(0pt,-2.5pt) -- (0.8pt,-3.2pt) -- (1.1pt,-6 pt) -- (1.7pt,-8.7pt) -- |
| 86 |
(2pt,-8.7pt) -- (2 pt,-5.5pt) -- (1 pt,-3.1pt) -- (1.2pt,-2 pt) -- |
| 87 |
(0.3pt,-2 pt); |
| 88 |
\draw[undershirt,shading angle=-45] |
| 89 |
(0.5pt,-3pt) -- (0.1pt,-3.7pt) -- (-1pt,-3pt); |
| 90 |
\draw[undershirt,shading angle=-45] |
| 91 |
(0.9pt,-2.5pt) -- (1.8pt,-3.2pt) -- (2.2pt,-2.2pt); |
| 92 |
\end{scope} |
| 93 |
} |
| 94 |
|
| 95 |
\newcommand{\tikzpeople@maninblack@paintopenshirt}{ |
| 96 |
\begin{scope} |
| 97 |
\clip |
| 98 |
(-4pt,-8pt) .. controls (-2pt,-10pt) and (3pt,-9pt) .. |
| 99 |
( 5pt,-7pt) .. controls ( 5pt, 0pt) and (-5pt,0pt) .. |
| 100 |
(-4pt,-8pt); |
| 101 |
\draw[shirt,shading angle=-45] |
| 102 |
(-2pt,-2.6 pt) -- (-1.5pt,-5pt) -- (-0.5pt,-5pt) -- (-1.1pt,-5.2pt) -- |
| 103 |
(1.6pt,-8.75pt) -- (1.9pt,-8.75pt) .. controls (1.7pt,-7pt) and |
| 104 |
(-0pt,-3.2pt) .. (-1.6pt,-2pt) -- cycle; |
| 105 |
\draw[shirt,shading angle=-45] |
| 106 |
(1.9pt,-2pt) .. controls (1.9pt,-1.8pt) and (1.9pt,-8.5pt) .. |
| 107 |
(1.9pt,-8.75pt) -- (2.3pt,-8.5pt) -- (3.2pt,-5.2pt) -- |
| 108 |
(2.6pt,-5.2 pt) -- (3.2pt,-5 pt) -- (2.3pt,-2.3pt) -- cycle; |
| 109 |
\end{scope} |
| 110 |
\draw[color=\tikzpeople@shirt!80] |
| 111 |
(-4pt,-8pt) .. controls (-2pt,-10pt) and ( 3pt,-9pt) .. |
| 112 |
( 5pt,-7pt) .. controls ( 5pt, 0pt) and (-5pt, 0pt) .. |
| 113 |
(-4pt,-8pt); |
| 114 |
} |
| 115 |
|
| 116 |
\newcommand{\tikzpeople@maninblack@colors}{ |
| 117 |
shirt/210/{-1/-.75},hair/150/{-.4/1.3},skin/0/{.4/.5},earpiece/170/{-.68/.74}, |
| 118 |
undershirt/190/{0/-.2}, tie/330/{.32/-.7}, glasses/30/{.6/.9}% |
| 119 |
} |