# [texhax] problem with \ref

Philip G. Ratcliffe philip.ratcliffe at fastwebnet.it
Mon Jan 22 23:28:50 CET 2007

I wrote the following to this very list just 11 days ago:

> [snip]

The problem is usually to do with placement of the \label{} command.
Obviously, it must be placed INSIDE the relevant environment, but, less
known, it must come AFTER the \caption command (often it is suggested to
place it inside the \caption argument (though this is not strictly
necessary). The point is that it is the \caption command that triggers the
new number.

> [snip]

Cheers,  Phil Ratcliffe