# [texhax] problem with \ref

Peter Flom flom at ndri.org
Mon Jan 22 23:51:02 CET 2007

thanks to all

I wish all my problems were that easy to solve!

Peter

>>> philip.ratcliffe at fastwebnet.it 01/22/07 5:28 PM >>>
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