-
Notifications
You must be signed in to change notification settings - Fork 13
/
MonaDuck.tex
34 lines (25 loc) · 1.63 KB
/
MonaDuck.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
% !TeX program = arara -p generate_examples % | txs:///view-log | txs:///view-pdf "?am).pdf"
\documentclass{standalone}
\usepackage{tikzducks}
\definecolor{skin}{RGB}{223,194,110}
\definecolor{haircol}{RGB}{71,47,24}
\definecolor{billcol}{RGB}{199,128,56}
\definecolor{jacketcol}{RGB}{91,67,35}
\definecolor{shirtcol}{RGB}{144,106,55}
\newcommand{\duckhookbody}{
\begin{scope}[scale=0.128,xshift=0.3cm]
\fill[shirtcol] (2.3052,7.2660) .. controls (-1.2412,0.5419) and (6.7402,1.8426) .. (7.1136,5.7103) -- cycle;
\fill[jacketcol] (3.5921,8.9038) .. controls (1.7395,8.5466) and (-1.5171,4.8497) .. (1.9223,1.5599) .. controls (2.1377,1.3543) and (2.4086,1.1697) .. (2.7251,1.0068) .. controls (3.0415,0.8440) and (3.4036,0.7029) .. (3.8013,0.5845) .. controls (4.1991,0.4660) and (4.6325,0.3702) .. (5.0916,0.2977) .. controls (5.5507,0.2251) and (6.0357,0.1761) .. (6.5365,0.1511) .. controls (7.0374,0.1261) and (7.5540,0.1253) .. (8.0768,0.1494) .. controls (8.5994,0.1736) and (9.1280,0.2227) .. (9.6528,0.2975) .. controls (10.1777,0.3724) and (10.6985,0.4731) .. (11.2055,0.6002) .. controls (11.7127,0.7275) and (12.2059,0.8811) .. (12.6755,1.0621) .. controls (13.1451,1.2432) and (13.9419,1.4517) .. (14.3542,1.6882) -- (14.3319,11.4) .. controls (6.5396,7.1336) and (4.0771,5.6374) .. (2.1453,2.7501) .. controls (2.6116,6.2388) and (3.5921,8.9038) .. (3.5921,8.9038) -- cycle;
\end{scope}
}
\begin{document}
\begin{tikzpicture}[inner sep=0pt]
\clip (0.08,0.08) rectangle (1.78,2.6);
\node at (0.93,1.35) {\includegraphics[width=1.7cm]{MonaLisa}};
\duck[
longhair=haircol,
body=skin,
bill=billcol
]
\end{tikzpicture}
\end{document}