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]
\hline\hline
\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.
\labelafter the\caption. – leandriis Jul 24 '20 at 07:44\captionis missing its mandatory argument. You might want to use\caption[<short caption text>]{<long caption text>}instead.