but that lets me end up with two table captions. One that I included myself in the body of the table (cf. above) and the 'real' latex caption. If, however, I remove the caption, the label will not work anymore and I cannot retrieve the table number.
How could I make the label work without also specifying a caption?
Thank you very much for your help.
Last edited by Isopropyl on Wed Oct 28, 2009 4:28 pm, edited 1 time in total.
(Please note that this example uses \thetable instead of \ref{tabl} since a \ref{tabl} would produce a hyperlink to the table itself if the hyperref package is loaded.)
If you need an entry to the list of tables as well, you could use \captionlistentry provided by the caption package instead of \refstepcounter, like here: