tikz.dev / TikZpingus Manual

The TikZpingus package

Drawing styles

A.2 Drawing Styles

/pingu/:line

Disable glows, shades and fills and enforce a line. This line will be darker than the original fill color:

Compiled output

\begin{tikzpicture}
\pingu[:line]
\end{tikzpicture}

/pingu/:fill(default: pingu@main)

Makes the whole penguin in one solid color (basically a shortcut for setting all main penguin colors to the same):

Compiled output

\begin{tikzpicture}
\pingu[:fill,tie=white,eyes color=white]
\end{tikzpicture}

/pingu/:ghost parts = ⟨opacity⟩(default: .5)

Set the opacity of each penguin component individually. At the moment, this excludes some glow calculations.

Compiled output

\begin{tikzpicture}
\pingu[:ghost parts]
\end{tikzpicture}

/pingu/:ghost = ⟨opacity⟩(default: .5)

Set the opacity of the complete penguin. At the moment, this excludes some glow calculations.

Compiled output

\begin{tikzpicture}
\pingu[:ghost]
\end{tikzpicture}

/pingu/:devil = ⟨color⟩(default: pingu@purple)

Enable all devil components (not the wing items) and set their main color:

Compiled output

\begin{tikzpicture}
\pingu[:devil=green]
\end{tikzpicture}

/pingu/:hide

Do not draw the main pingu:

Compiled output

\begin{tikzpicture}
\pingu[santa hat,:hide]
\end{tikzpicture}

/pingu/:toast

One slice of cuteness: no wings, no feet and no hair, just the body:

Compiled output

\begin{tikzpicture}
\pingu[:toast]
\end{tikzpicture}

/pingu/:back

Mirror the penguin, this swaps left and right, the rotation and more. Yet, at least at the time of writing, this does not swap the drawing order in each layer, but just the layers:

Compiled output

\begin{tikzpicture}
\pingu[:back, left wing wave,
cane left, left item angle=70]
\end{tikzpicture}

/pingu/:pingu = ⟨options⟩

Apply the given options to all penguin-keys (for /pingu/body, /pingu/wings color, /pingu/eyes color, /pingu/bill color, /pingu/hairs color, and /pingu/feet color) allowing to re-use the original color:

Compiled output

\begin{tikzpicture}
\pingu[:pingu={/pingu/@block/.style={fill=green}}]
\end{tikzpicture}

/pingu/:mix = ⟨color-mix⟩(default: 50!white)

Mix the main penguin with given colors by adapting the individual drawing colors individually, but leave all extras intact. This can be used (for example) to gray-out the penguin:

Compiled output

\begin{tikzpicture}
\pingu[mask,tie=red,lollipop left,:mix=50!green]
\end{tikzpicture}

In contrast to :mix-draw this changes the active colors of the penguin.

/pingu/:mix-draw = ⟨color-mix⟩(default: 50!white)

Mix the main penguin with given colors, but leave all extras intact. This can be used (for example) to gray-out the penguin:

Compiled output

\begin{tikzpicture}
\pingu[mask,tie=red,:mix-draw=50!green]
\end{tikzpicture}

In contrast to :mix this changes the drawing options (using /pingu/:pingu).

/pingu/:mix-all = ⟨color-mix⟩(default: 50!white)

Mix everything of the penguin with given colors, including all extras intact. This can be used (for example) to gray-out the penguin:

Compiled output

\begin{tikzpicture}
\pingu[mask,tie=red,lollipop left,:mix-all=50!green]
\end{tikzpicture}