TransWikia.com

Subsubsection table reference is wrong

TeX - LaTeX Asked by Wanttobepro on August 30, 2021

I have problem with referencing a table in my subsubsection of my document. The reference in my paragraph always shows a different number compared to my table.

This is the code I used for creating the table:

begin{table}[h!]
begin{center}
label{table:6.3}
begin{tabular}{||c || c | c | c | c||}
hline
x & y & z & u & b  [0.5ex] 
hlinehline
hline
Sharpness & 32.7% & 5.3% & 24.2% & 37.8%
hline
hline
end{tabular}
end{center}
caption[xx]
end{table}

and this is the code I used to reference it on my paragraph:

blablabla ref{table:6.3}

When compiled, the table shows Table 6.3 but on my paragraph it will reference Table 6.2.3.2 following the numbering of my subsubsection. I want both my paragraph and table reference using the same number.

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP