-
Notifications
You must be signed in to change notification settings - Fork 13
/
Phantom.tex
39 lines (30 loc) · 1.1 KB
/
Phantom.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
% !TeX program = arara -p generate_examples % | txs:///view-log | txs:///view-pdf "?am).pdf"
\documentclass{standalone}
\usepackage{tikzducks}
\definecolor{skin}{RGB}{212,183,145}
\definecolor{tshirtcol}{RGB}{250,191,173}
\definecolor{jacketcol}{RGB}{69,69,69}
\definecolor{billcol}{RGB}{211,136,44}
\begin{document}
\begin{tikzpicture}
\newcommand{\duckhookbody}{
\begin{scope}[scale=0.4,xshift=0.2cm,yshift=0.2cm]
\fill[lightgray] (2.2193,4.6237) .. controls (1.3412,5.2280) and (0.8244,4.4045) .. (0.8244,3.5585) .. controls (0.8244,2.7125) and (1.1478,2.4867) .. (1.1478,2.4867) .. controls (2.8529,3.0021) and (0.2799,3.3673) .. (2.2193,4.6237) -- cycle;
\end{scope}
}
\duck[
body=skin,
bill=billcol,
tshirt=white,
jacket=jacketcol,
bowtie=black,
buttons=black,
lapel=black,
strawhat=jacketcol,
ribbon=jacketcol
]
\fill[billcol] \duckpathbill;
\fill[white!85!yellow, rotate=-20] (-0.06,1.74) ellipse[x radius=0.0786, y radius=0.1143];
\fill[black, rotate=-20] (-0.03,1.73) ellipse[x radius=0.0286, y radius=0.0643];
\end{tikzpicture}
\end{document}