Skip to content

Instantly share code, notes, and snippets.

@mcnees
Created September 18, 2017 20:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcnees/819651782f82a805ed2425b24e6d3cf7 to your computer and use it in GitHub Desktop.
Save mcnees/819651782f82a805ed2425b24e6d3cf7 to your computer and use it in GitHub Desktop.
Milkshake Duck in LaTeX
% Requires latest version of tikzducks from github
% https://github.com/samcarter8/tikzducks
\documentclass{article}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\usepackage{tikzducks}
% Some colors I like. The first six are modified versions of colors from
% the Gnome Project "Tango" palette.
\definecolor{plum}{rgb}{0.36078, 0.20784, 0.4}
\definecolor{chameleon}{rgb}{0.30588, 0.60392, 0.023529}
\definecolor{cornflower}{rgb}{0.12549, 0.29020, 0.52941}
\definecolor{scarlet}{rgb}{0.8, 0, 0}
\definecolor{brick}{rgb}{0.64314, 0, 0}
\definecolor{sunrise}{rgb}{0.80784, 0.36078, 0}
\definecolor{lightblue}{rgb}{0.15,0.35,0.75}
\definecolor{carolina}{RGB}{153, 186, 221}
\linespread{1.1}
\pagestyle{empty}
\begin{document}
\begin{center}
\begin{tikzpicture}[scale=1.2]
\duck[milkshake=brown!60!white]
\end{tikzpicture}
\begin{tikzpicture}[scale=1.2]
\duck[body=carolina,milkshake=red!60!white]
\end{tikzpicture}
\begin{tikzpicture}[scale=1.2]
\duck[body=scarlet!40,milkshake=orange!60!white]
\end{tikzpicture}
\vskip2em
\begin{tikzpicture}
\draw[] node [right,text width=8cm]
{``The whole internet loves Milkshake Duck, a lovely duck that drinks milkshakes! *5 seconds later* We regret to inform you the duck is racist'' \\ \vskip.5em \hskip12em -- @pixelatedboat
};
\end{tikzpicture}
\end{center}
\end{document}
@mcnees
Copy link
Author

mcnees commented Sep 18, 2017

screen shot 2017-09-18 at 3 03 30 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment