tikz.dev / TikZpingus Manual

The TikZpingus package

Penguin keys

A.1.7 The Hair

/pingu/hair 1 color = ⟨color⟩(default: pingu@main)

Set the color of the first hair (this may be used differently by other hairstyles):

Compiled output

\begin{tikzpicture}
\pingu[hair 1 color=green]
\end{tikzpicture}

/pingu/hair 2 color = ⟨color⟩(default: pingu@main)

Set the color of the second hair (this may be used differently by other hairstyles):

Compiled output

\begin{tikzpicture}
\pingu[hair 2 color=green]
\end{tikzpicture}

/pingu/hair 3 color = ⟨color⟩(default: pingu@main)

Set the color of the third hair (this may be used differently by other hairstyles):

Compiled output

\begin{tikzpicture}
\pingu[hair 3 color=green]
\end{tikzpicture}

/pingu/hair 4 color = ⟨color⟩(default: pingu@main)

Set the color of the fourth hair (this may be used differently by other hairstyles):

Compiled output

\begin{tikzpicture}
\pingu[hair 4 color=green]
\end{tikzpicture}

/pingu/hair 5 color = ⟨color⟩(default: pingu@main)

Set the color of the fifth hair (this may be used differently by other hairstyles):

Compiled output

\begin{tikzpicture}
\pingu[hair 5 color=green]
\end{tikzpicture}

/pingu/hairs color = ⟨color⟩

Set the color of all hairs by calling /pingu/hair 1 color, /pingu/hair 2 color, /pingu/hair 3 color, /pingu/hair 4 color, and /pingu/hair 5 color with the same argument:

Compiled output

\begin{tikzpicture}
\pingu[hairs color=green]
\end{tikzpicture}

hairs: alias of hairs color.

hair: alias of hairs color.

/pingu/hairstyle = ⟨hair-selector⟩(default: normal)

Change the hairstyle (Section 2.7):

Compiled output

\begin{tikzpicture}
\pingu[hairstyle=none]
\end{tikzpicture}

hair style: alias of hairstyle.

Shortcuts for hairstyle: hairstyle none, hairstyle normal. The color is passed to hairs color.