cross referencing latex tables in SWP

Sara's picture


I got asistence from you guys earlier on setting a long table in a latex environment within SWP. How can I cross refrence the table in the document.

In SWP i cross reference using markers which is preset and I would like to use something similar for the case  to get the document compile well.

Thanks for your help

Cross referencing works in

Cross referencing works in LaTeX by placing a marker and then using a cross reference object to that marker. When LaTeX compiles the document the cross reference object resolves to the previous most recent counter object in the document. In the case of tables, you place the marker after the caption so the cross referencc object will resolve to the caption counter. If the marker is placed before the caption, then the cross reference will still resove to the most previous counter object, perhaps the section number.