### Who is online

In total there are 4 users online :: 1 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: Yahoo [Bot] and 3 guests

## Problem with Equation Reference

Add tags Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).

### Problem with Equation Reference

I tried to use the following commands
Code: Select all  •  Open in writeLaTeX
\begin{equation}\label{xx} 3+4=7 \end{equation}Referring to the equation \eqref{xx}

or

Code: Select all  •  Open in writeLaTeX
\begin{equation}3+4=7 \label{xx}\end{equation}Referring to the equation \eqref{xx}

but it did not work...
it worked just if instead of \eqref{xx} I wrote \ref{xx}. Why is it so? Should I use a particular package? N.B I am using Texniccenter and Mixtek as a compiler
beth87

Posts: 6
Joined: Sat Jun 11th, 2011

### Re: Problem with Equation Reference

"It doesn't work" is an error description that is as good as useless. What is the exact error message from the log? As a random shot I would guess that you forgot to load the amsmath package.

Thorsten
LaTeX Community Moderator

¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses

localghost
Site Moderator

Posts: 9219
Joined: Fri Feb 2nd, 2007
Location: Braunschweig, Germany