Featured Book

LaTeX Beginners Guide

Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 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: No registered users and 4 guests

Partner Sites

TeXwelt - Fragen und Antworten goLaTeX
TeXblog
TeXnicCenter
TeXample

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

Postby beth87 on Fri Jul 1st, 2011

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

Postby localghost on Fri Jul 1st, 2011

"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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses
User avatar
localghost
Site Moderator
 
Posts: 9219
Joined: Fri Feb 2nd, 2007
Location: Braunschweig, Germany


Return to Math & Science

Who is online

Users browsing this forum: No registered users and 4 guests