I have a strange problem that I can't resolve.

In my main *.tex file I have


In the first tex file I have


In the third I have

(which exists by Theorem~\cite{thm1.3}

No matter how many times I 'latex' or 'pdflatex' I keep getting a warning that thm1.3 is undefined.

Any thoughts?

1 Answer 1


The \cite macro should be used to cite bibliography references (marked by \bibitem inside a thebibliography environment). For cross-references (marked by \label), use \ref instead of \cite.

Note: You may use packages like cleveref to automatically add "Theorem" (or whatever term is appropriate) to a cross-reference.




Some text.

\dots~which exists by Theorem~\ref{thm1.3}





(The filecontents environment is only used to include some external files directly into the example, so that it compiles. It is not necessary for the solution.)

  • opps, I did know that. I'll blame...Friday-itis
    – Qwirk
    May 20, 2011 at 6:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.