Sometimes I use a figure numbering style in which each number is placed to the left of a figure. When using this formatting, I try to make sure that the space occupied by a given number and figure is confined by the same margins as those set for the main text. This creates a nice alignment effect. I have tried to achieve it in LaTeX by using two minipage environments inside a figure environment and some simple mathematics:
\begin{figure}[htp]
\begin{minipage}{\1cm}
{\Large(3)}
\end{minipage}%
\newlength{\pic}
\setlength{\pic}{\columnwidth}
\addtolength{\pic}{-\1cm}
\begin{minipage}{\pic}
\includegraphics[width=\pic]{blue}
\caption{Caption}
\label{blue}
\end{minipage}%
\end{figure}
This code, however, didn't work quite as I expected: as you can see in the picture below, the figure sticks out onto the right margin.

How can I ensure that the figure fills up the space next to the number while being neatly aligned with the body of the text?
(Incidentally, I would also be very grateful for some suggestions on how to make the number and the picture aligned at the top.)