summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.bride.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-11-08 22:38:47 +0000
committerKarl Berry <karl@freefriends.org>2016-11-08 22:38:47 +0000
commit7516c04b155b9684ffa936fd2f21957501999a42 (patch)
tree019d70e58b650718a345efd9762f75e63581e2d8 /Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.bride.sty
parent21c7cbc76da87bbb51df802f72b58b55f25247ac (diff)
tikzpeople (8nov16)
git-svn-id: svn://tug.org/texlive/trunk@42471 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.bride.sty')
-rwxr-xr-xMaster/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.bride.sty126
1 files changed, 126 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.bride.sty b/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.bride.sty
new file mode 100755
index 00000000000..6f2b6ccffae
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/tikzpeople/tikzpeople.shape.bride.sty
@@ -0,0 +1,126 @@
+%% Copyright 2016 Nils Fleischhacker
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3 of this license or (at your option) any later
+%% version. The latest version of this license is in
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of
+%% LaTeX version 2005/12/01 or later.
+%%
+%% 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{undershirt}
+\tikzpeople@addcolorkey{hat}
+\tikzpeople@addcolorkey{pearls}
+\tikzpeople@addcolorkey{veil}
+
+\newcommand{\tikzpeople@bride@paint}{
+ \tikzpeople@person@paintshirt
+ \tikzpeople@bride@paintshirtdetails
+ \tikzpeople@person@paintrighthorn
+ \tikzpeople@bride@paintveilright
+ \tikzpeople@person@painthead
+ \tikzpeople@person@paintfemalehairstylethree
+ \tikzpeople@bride@paintveilleft
+ \tikzpeople@person@paintgoatee
+ \tikzpeople@person@paintlefthorn
+ \tikzpeople@person@painthalo
+}
+
+\newcommand{\tikzpeople@bride@paintshirtdetails}{
+ \begin{scope}
+ \clip
+ (-4.0pt,-8.0pt) .. controls (-2pt,-10pt) and ( 3pt,-9pt) ..
+ ( 5.0pt,-7.0pt) .. controls ( 5pt, 0pt) and (-5pt, 0pt) ..
+ (-4.0pt,-8.0pt);
+ \draw[skin,color=\tikzpeople@shirt!80]
+ (240:3pt) .. controls +(315:4pt) and +(270:4pt) .. (316:3.1pt) -- cycle;
+ \path[postaction={decorate},decoration={
+ markings,
+ mark=between positions 0.04 and 1 step 0.09 with {\pgftransformscale{\scalingfactor}\fill[pearls] (0pt,0pt) circle (.2pt);},
+ mark=at position 0.58 with {\pgftransformscale{\scalingfactor}\fill[pearls] (216:.5pt) circle (.2pt) ++(288:.5pt) circle (.2pt) ++(0:.5pt) circle (.2pt) ++(72:.5pt) circle (.2pt);}}]
+ (240:3.4pt) .. controls +(315:4pt) and +(270:4pt) .. (316:3.5pt);
+ \end{scope}
+}
+
+\newcommand{\tikzpeople@bride@paintveilright}{
+ \begin{scope}
+ \pgftransformshift{\pgfpointpolar{20}{3pt}}
+ \pgftransformrotate{25}
+ \fill[veil] (0,0) -- ++(.5pt,-2.5pt) arc (80:140:.7pt) arc (60:120:.7pt) arc (40:100:.7pt) -- ++(.5pt,2.5pt) --cycle;
+ \pgftransformshift{\pgfpoint{-.5pt}{0pt}}
+ \pgftransformrotate{-17}
+ \fill[veil] (0,0) -- ++(.5pt,-2.5pt) arc (80:140:.7pt) arc (60:120:.7pt) arc (40:100:.7pt) -- ++(.5pt,2.5pt) --cycle;
+ \end{scope}
+}
+
+\newcommand{\tikzpeople@bride@paintveilleft}{
+ \begin{scope}
+ \fill[veil] (-1.3pt,.6pt) -- ++(.5pt,-2.5pt) arc (80:140:.7pt) arc (60:120:.7pt) arc (40:100:.7pt) -- ++(.5pt,2.5pt) --cycle;
+ \pgftransformshift{\pgfpoint{-.5pt}{-.4pt}}
+ \pgftransformrotate{-17}
+ \fill[veil] (-1.3pt,.6pt) -- ++(.5pt,-2.5pt) arc (80:140:.7pt) arc (60:120:.7pt) arc (40:100:.7pt) -- ++(.5pt,2.5pt) --cycle;
+ \pgftransformshift{\pgfpoint{-.5pt}{-.4pt}}
+ \pgftransformrotate{-17}
+ \fill[veil] (-1.3pt,.6pt) -- ++(.5pt,-2.5pt) arc (80:140:.7pt) arc (60:120:.7pt) arc (40:100:.7pt) -- ++(.5pt,2.5pt) --cycle;
+ \pgftransformshift{\pgfpoint{-.5pt}{-.4pt}}
+ \pgftransformrotate{-17}
+ \fill[veil] (-1.3pt,.6pt) -- ++(.5pt,-2.5pt) arc (80:140:.7pt) arc (60:120:.7pt) arc (40:100:.7pt) -- ++(.5pt,2.5pt) --cycle;
+ \pgftransformshift{\pgfpoint{-.5pt}{-.4pt}}
+ \pgftransformrotate{-17}
+ \fill[veil] (-1.3pt,.6pt) -- ++(.5pt,-2.5pt) arc (80:140:.7pt) arc (60:120:.7pt) arc (40:100:.7pt) -- ++(.5pt,2.5pt) --cycle;
+ \end{scope}
+ \path[postaction={decorate},decoration={markings,
+ mark=between positions 0.1 and 1 step 0.27 with {\pgftransformscale{\scalingfactor}
+ \fill[pearls]
+ (0,.3pt) circle (.2pt) ++(216:.5pt) circle (.2pt) ++(288:.5pt) circle (.2pt)
+ ++(0:.5pt) circle (.2pt) ++(72:.5pt) circle (.2pt);
+ }}]
+ (150:3.3pt) to [out=330,in=210] (35:3pt);
+}
+
+\newcommand{\tikzpeople@bride@definecolors}{
+ \definecolor{shirt}{RGB}{236,240,255}
+ \definecolor{pearls}{rgb}{.96,.96,1}
+ \definecolor{hat}{rgb}{0,0,0}
+ \definecolor{skin}{rgb}{0.84,0.58,0.24}
+ \definecolor{hair}{rgb}{0.45,0.24,0}
+ \definecolor{undershirt}{rgb}{.8,.8,.8}
+ \definecolor{veil}{RGB}{179,196,228}
+}
+\newcommand{\tikzpeople@bride@definestyles}{
+ \tikzstyle{veil}=[color=\tikzpeople@veil!50!white,opacity=0.3];
+ \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{hair}=[color=\tikzpeople@hair!80,top color=\tikzpeople@hair!40, bottom color=\tikzpeople@hair!80,shading angle=45];
+ \tikzstyle{tie}=[color=\tikzpeople@tie!80,inner color=\tikzpeople@tie!60, outer color=\tikzpeople@tie!80];
+ \tikzstyle{undershirt}=[color=\tikzpeople@undershirt!80,top color=\tikzpeople@undershirt!40, bottom color=\tikzpeople@undershirt!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];
+ \tikzstyle{pearls}=[top color=\tikzpeople@pearls!40,bottom color=\tikzpeople@pearls!80,shading angle=-45];
+}
+
+\newcommand{\tikzpeople@bride@colors}{
+ shirt/200/{-1/-.75}, veil/170/{-1.2/.8}, hair/150/{-.4/1.6}, skin/30/{.6/.8}, pearls/340/{.025/1.05,.5/-.4}%
+}