Graphics, Figures & TablesTable referencing problems

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
zigga150
Posts: 7
Joined: Thu Sep 10, 2009 9:35 am

Table referencing problems

Post by zigga150 »

Hey guys, I am using a latex template for my thesis. I have my tables and figures in appendix (which is denoted as chapter 6 of the thesis).

The problem is that when I reference the tables I am getting something like: (see Table 6) for all the tables I reference. Where I should be getting (see table 6.1), (see table 6.2).

Any ideas on how I can get an extra digit on my table references.

Thanks in advance :)

~ Dan

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Table referencing problems

Post by localghost »

A minimal working example (MWE) could have been helpful. Otherwise this could dwindle into a quiz. If not done yet, place labels behind captions in the source code.

Code: Select all

\begin{figure}[!ht]
  \centering
  \rule{6.4cm}{3.6cm}
  \caption{Dummy figure}\label{fig:dummy}
\end{figure}

Best regards
Thorsten
User avatar
Stefan Kottwitz
Site Admin
Posts: 10358
Joined: Mon Mar 10, 2008 9:44 pm

Table referencing problems

Post by Stefan Kottwitz »

Hi Dan,

if you didn't use \caption like Thorsten did, the reference could point to the chapter number, here 6. Otherwise you could check if you've redefined the macro \thetable incorrectly, it could be redefined like

Code: Select all

\renewcommand\thetable{\thechapter.\arabic{table}}
forgetting \arabic{table} could cause it too, but I guess there could just \caption be missing or misplaced.

Stefan
LaTeX.org admin
zigga150
Posts: 7
Joined: Thu Sep 10, 2009 9:35 am

Re: Table referencing problems

Post by zigga150 »

Yep my labels and captions were around the wrong way. Thanks for the very prompt reply! :)

~ Dan
Post Reply