LaTeX forum ⇒ GeneralCan't use \ref or \cref for equations Topic is solved

LaTeX specific issues not fitting into one of the other forums of this category.
Posts: 2
Joined: Wed Jul 25, 2018 7:00 pm

Can't use \ref or \cref for equations

Postby abbyapril » Wed Jul 25, 2018 7:14 pm

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!


User avatar
Stefan Kottwitz
Site Admin
Posts: 9243
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Wed Jul 25, 2018 7:20 pm


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?

Site admin

Posts: 2
Joined: Wed Jul 25, 2018 7:00 pm

Postby abbyapril » Fri Jul 27, 2018 3:04 pm

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!

Return to “General”

Who is online

Users browsing this forum: No registered users and 8 guests