tikz.dev / TikZpingus Manual

The TikZpingus package

Extras

A.3.11 The pants

/pingu/pants = ⟨color⟩(default: pingu@red)

Sets the color of the pants:

Compiled output

\begin{tikzpicture}
\pingu[pants=green]
\end{tikzpicture}

/pingu/pants bands = ⟨true/false⟩(default: false)

Requires pants.

Switch the bands of the pants on and of:

Compiled output

\begin{tikzpicture}
\pingu[pants, pants bands]
\end{tikzpicture}

/pingu/pants button left = ⟨color⟩(default: pingu@black)

Requires pants.

Set the color of the left pant button:

Compiled output

\begin{tikzpicture}
\pingu[pants, pants button left=green]
\end{tikzpicture}

/pingu/pants button right = ⟨color⟩(default: pingu@black)

Requires pants.

Set the color of the right pant button:

Compiled output

\begin{tikzpicture}
\pingu[pants, pants button right=green]
\end{tikzpicture}

/pingu/pants buttons = ⟨color⟩(default: pingu@black)

Requires pants.

Sets /pingu/pants button left and /pingu/pants button right with the same color.

Compiled output

\begin{tikzpicture}
\pingu[pants, pants buttons=green]
\end{tikzpicture}

/pingu/pants button left shade = ⟨color⟩(default: ⟨pants button left⟩!70!white)

Requires pants.

Set the color of the left pant button shade:

Compiled output

\begin{tikzpicture}
\pingu[pants,
pants button left shade=green]
\end{tikzpicture}

/pingu/pants button right shade = ⟨color⟩(default: ⟨pants button right⟩!70!white)

Requires pants.

Set the color of the right pant button shade:

Compiled output

\begin{tikzpicture}
\pingu[pants,
pants button right shade=green]
\end{tikzpicture}

/pingu/pants buttons shade = ⟨color⟩(default: pingu@black!70!white)

Requires pants.

Sets /pingu/pants button left shade and /pingu/pants button right shade with the same color.

Compiled output

\begin{tikzpicture}
\pingu[pants, pants buttons shade=green]
\end{tikzpicture}

/pingu/pants no buttons

Requires pants.

Remove the buttons from the pants:

Compiled output

\begin{tikzpicture}
\pingu[pants, pants no buttons]
\end{tikzpicture}

/pingu/pants extra height = ⟨length⟩(default: 1.5mm)

Requires pants.

Raise the pants:

Compiled output

\begin{tikzpicture}
\pingu[pants, pants extra height=6mm]
\end{tikzpicture}

pants without buttons: alias of pants no buttons.