# [texhax] Labels in table environment

Mel Janowitz meljan at optonline.net
Fri Jun 25 05:01:00 CEST 2004

To: tug-support

Is there any special trick for correctly putting labels into a table
environment? I am trying
\begin{table}
\caption{..........}
\begin{tabular}
.................
................
\end{tabular}
\label{tab:xyz}
\end{table}

I tried putting the label inside the caption, and that did not help. (Note:
That was the fix for figures.) The tables are labelled correctly, but when
I try to use the labels they do not reflect the correct numbering.  I can
supply an example. I am using the amsbook package.

I should mention that I am a tug member.

Thank you,

Mel Janowitz