tikz.dev / TikZpingus Manual

The TikZpingus package

Extras

A.3.7 The medal

/pingu/medal = ⟨color⟩(default: pingu@yellow)

Compiled output

\begin{tikzpicture}
\pingu[medal]
\end{tikzpicture}

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

Requires medal.

Compiled output

\begin{tikzpicture}
\pingu[medal, medal band=green]
\end{tikzpicture}

/pingu/medal shade = ⟨color⟩(default: ⟨medal⟩!65!pingu@white)

Requires medal.

Change the color of the outer medal ring:

Compiled output

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

/pingu/medal shade width = ⟨length⟩(default: .75\p@)

Requires medal.

Change the width of the outer medal ring:

Compiled output

\begin{tikzpicture}
\pingu[medal, medal shade=green,
medal shade width=2mm]
\end{tikzpicture}

/pingu/medal text = ⟨text⟩

Requires medal.

Set the text displayed in the medal. The style can be changed by updating the substyle medal text style.

Compiled output

\begin{tikzpicture}
\pingu[medal, medal text=XY,
medal text style/.style={black}]
\end{tikzpicture}

/pingu/gold medal = ⟨text⟩(default: 1)

Basically the same as the normal medal. This will activate /pingu/medal:

Compiled output

\begin{tikzpicture}
\pingu[gold medal]
\end{tikzpicture}

/pingu/silver medal = ⟨text⟩(default: 2)

Basically the same as the normal medal, but with a silver color. This will activate /pingu/medal:

Compiled output

\begin{tikzpicture}
\pingu[silver medal]
\end{tikzpicture}

/pingu/bronze medal = ⟨text⟩(default: 3)

Basically the same as the normal medal, but with a bronze color. This will activate /pingu/medal:

Compiled output

\begin{tikzpicture}
\pingu[bronze medal]
\end{tikzpicture}