2

Although I have a valid label for a table, the reference to that label does not appear in the PDF file, or sometimes appear as ?? if I put a tilde before \ref.

The code is the following:

\documentclass{article}

\begin{document}

\begin{table}[!t]
\footnotesize
\parbox{.50\linewidth}{
\centering
\begin{tabular}{l|l}
Example plot \\ \hline
A & 22 \% \\ 
B & 54 \% \\
\end{tabular}
}
\label{tab:example}
\caption{Example plot}
\end{table}

Looking the table \ref{tab:example}


\end{document}

Any thought?

ShreevatsaR
  • 45,428
  • 10
  • 117
  • 149
user13791
  • 121

0 Answers0