The code is:
\documentclass{article}
\begin{document}
Critical temperature for different Type I superconductors is given in Table \ref{Tab:Tcr}:
\begin{center}
\begin{tabular}{l l}
material & T [K]\\
\hline
Sn & 3,7 \\
Pb & 7,2 \\
Al & 1,2\\
\end{tabular}
\label{Tab:Tcr}
\end{center}
\end{document}
The table reference is missing in the text. How to display the table reference?
Best Answer
You can't
\label
atabular
, because atabular
does not receive an intrinsic ordering scheme (aka a number) that can be referenced. But if you place thetabular
inside of atable
, you can\label
that.Now I will add an version that defies my earlier assertion. With the
caption
package, the\captionof
macro is provided to emulate atable
without the use of the floatingtable
environment. And\captionof
can take a label. So, technically, you still are not\label
ing thetabular
, but only the\captionof
.