tikz.dev / TikZpingus Manual

The TikZpingus package

Extras

A.3.8 The rectangular medal

/pingu/rectmedal = ⟨color⟩(default: pingu@yellow!70!pingu@bronze)

Compiled output

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

/pingu/rectmedal band = ⟨color⟩(default: pingu@blue!90!blue!60!pingu@black)

Requires rectmedal.

Compiled output

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

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

Requires rectmedal.

Change the color of the outer rectmedal ring:

Compiled output

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

/pingu/rectmedal width = ⟨length⟩(default: 7.5mm)

Requires rectmedal.

Change the width of rectmedal:

Compiled output

\begin{tikzpicture}
\pingu[rectmedal, rectmedal width=2mm]
\end{tikzpicture}

/pingu/rectmedal height = ⟨length⟩(default: 6.5mm)

Requires rectmedal.

Change the height of rectmedal:

Compiled output

\begin{tikzpicture}
\pingu[rectmedal, rectmedal height=2mm]
\end{tikzpicture}

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

Requires rectmedal.

Change the width of the outer rectmedal ring:

Compiled output

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

/pingu/rectmedal text = ⟨text⟩

Requires rectmedal.

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

Compiled output

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

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

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

Compiled output

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

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

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

Compiled output

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

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

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

Compiled output

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