\begin{center} \begin{minipage}{\linewidth} \centering \captionsetup{hypcap=false} \begin{tikzpicture}[x=.8cm,y=.8cm,line width=.8pt] \draw[gray!55,thin] (0,0) rectangle (2,1.6); \draw (.5,1.6) .. controls (.5,.2) and (1.5,.2) .. (1.5,1.6); \fill (.5,1.6) circle (2pt); \fill (1.5,1.6) circle (2pt); \node at (1,-.45) {$\operatorname{cup}:0\longrightarrow2$}; \draw[gray!55,thin] (4.5,0) rectangle (6.5,1.6); \draw (5,0) .. controls (5,1.4) and (6,1.4) .. (6,0); \fill (5,0) circle (2pt); \fill (6,0) circle (2pt); \node at (5.5,-.45) {$\operatorname{cap}:2\longrightarrow0$}; \end{tikzpicture} \captionof{figure}{The cup has no input points and two output points. The cap has two input points and no output points.} \label{fig:tl-cup-cap} \end{minipage} \end{center}