% !TeX root = ./testing/test.tex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % The tikzducks package % A package to bring rubber ducks into tikz % Maintained by samcarter % % Project repository and bug tracker: % https://github.com/samcarter/tikzducks % % Released under the LaTeX Project Public License v1.3c or later % See https://www.latex-project.org/lppl.txt % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ProvidesPackage{tikzducks}[2024/12/10 version v1.9 Draw rubber ducks in TikZ] \RequirePackage{expl3} \RequirePackage{tikz} \usetikzlibrary{patterns.meta} % for the wizard hat \usetikzlibrary{calc} % for the sports jerseys \usetikzlibrary{decorations.shapes} % for sombrero \usetikzlibrary{decorations.pathmorphing} \definecolor{duck@overleafcol}{RGB}{72,172,60} \newcommand*{\duck}[1][]{% \begin{scope}% \tikzset{/duck/.cd,#1}% \duck@draw% \end{scope}% } \ExplSyntaxOn \ifdefined\sys_rand_seed: \pgfmathsetseed {\sys_rand_seed:} \else \ifdefined\pdfrandomseed % pdflatex \else \ifdefined\randomseed \let\pdfrandomseed\randomseed % post TL19 xelatex and lualatex \else \let\pdfrandomseed\time % pre TL19 xelatex \fi \fi \pgfmathsetseed{\number\pdfrandomseed} \fi \ExplSyntaxOff \newcommand*{\stripes}[1][]{% \tikzset{/stripes/.cd,#1}% \stripes@draw% } \input tikzducks-generic