tikz.dev / TikZpingus Manual

The TikZpingus package

Penguin keys

A.1.1 Anchors and Placement

/pingu/anchor = ⟨anchor or point⟩(default: origin)

Move the penguin so that the given anchor ends up at the origin (see Section 2.2). Valid names are origin (the right shoulder, the default), center, north, south, east, west, north east, north west, south east, south west, head, head top, bill, belly, feet, left shoulder, and right shoulder. Anything else has to be a point (<x>,<y>) in the coordinate system of the penguin (the parentheses are optional).

Compiled output

\begin{tikzpicture}
\pingu[anchor=belly]
\draw[red] (-2.5mm,0) -- (2.5mm,0) (0,-2.5mm) -- (0,2.5mm);
\end{tikzpicture}

/pingu/right of = ⟨name:distance⟩

Place the penguin right of the penguin with the given /pingu/name, on the same ground line. Without a distance (right of=a) both penguins touch.

Compiled output

\begin{tikzpicture}
\pingu[name=a]
\pingu[right of=a:5mm,body=pingu@blue]
\end{tikzpicture}

/pingu/left of = ⟨name:distance⟩

Like /pingu/right of, but to the left.

Compiled output

\begin{tikzpicture}
\pingu[name=a]
\pingu[left of=a:5mm,body=pingu@blue]
\end{tikzpicture}

/pingu/above of = ⟨name:distance⟩

Place the penguin above the penguin with the given /pingu/name, centered on it.

Compiled output

\begin{tikzpicture}
\pingu[name=a]
\pingu[above of=a:5mm,body=pingu@blue]
\end{tikzpicture}

/pingu/below of = ⟨name:distance⟩

Like /pingu/above of, but below.

Compiled output

\begin{tikzpicture}
\pingu[name=a]
\pingu[below of=a:5mm,body=pingu@blue]
\end{tikzpicture}