0

I'm having problems with cross-referencing tables and figures. There is a mismatch between the table number in the caption and the table number on the cross-reference in the text. I'm writing a report and the number of the table in the caption appear as "Table X.Y" being X the chapter number and Y the table number. The cross-reference in the text varies depending if the table is on a chapter, section, subsection or subsubsection. For example, if I make a table in section 2.2.2.1, the table is cross-referenced as table 2.2.2.1 in the text, but on the caption says "Table 2.1". I would like the text to say "table 2.1" and not "table 2.2.2.1".

Any advice to solve this problem?

  • 2
    Probably you have the \label in the wrong place. Put it behind the \caption. – Ulrike Fischer Jan 23 at 15:35
  • no, I have it correctly, after the \caption – Martín Jan 23 at 16:36
  • 2
    Then you will have to show a complete example code. – Ulrike Fischer Jan 23 at 16:38

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.