General ⇒ Can't use \ref or \cref for equations
Can't use \ref or \cref for equations
I can't get \ref or \cref to work in my document for referencing equations. There are lots of equations, so I'd like to be able to reference them in such a way that the numbers are automatically fixed when I add a new equation. \ref worked for the figures in my document, but not equations. When it complies, it gives me a warning that says the reference is undefined. I'm not messing up any spelling or brackets. Please help!
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Can't use \ref or \cref for equations
Hi,
welcome to the forum!
Stefan
welcome to the forum!
\ref
works by default, so perhaps there's a problem in your code. Can you post code how you are doing it?Stefan
LaTeX.org admin
Can't use \ref or \cref for equations
I tried commenting out \usepackage{cleveref} and that seems to have worked. I guess it was unnecessary to have it there. Thanks you for your help!