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:



Example plot \\ \hline
A & 22 \% \\ 
B & 54 \% \\
\caption{Example plot}

Looking the table \ref{tab:example}


Any thought?


Browse other questions tagged or ask your own question.