LaTeX forum ⇒ LyXNumbers and References for Equations without Label

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Posts: 3
Joined: Wed Sep 26, 2012 11:23 pm

Numbers and References for Equations without Label

Postby ramivei » Thu Feb 21, 2013 11:56 am

Hello everybody,

I started using LyX and it seems great. While entering equations I found I can enter numbered equation which is good. When I tried to reference those equations in my text I found out I need to label them.

My question is can I automatically number my equations and reference them in the text without labeling them each time?



Site Moderator
Posts: 520
Joined: Sat Sep 01, 2012 6:38 am

Postby scottkosty » Thu Feb 21, 2013 1:12 pm

ramivei wrote:Hello everybody,

My question is can I automatically number my equations and reference them in the text without labeling them each time?


How would LyX know which equation you wanted to reference if you do not give it a label?

Posts: 593
Joined: Tue Mar 25, 2008 5:02 pm

Postby kaiserkarl13 » Thu Feb 21, 2013 9:07 pm

I agree with the above post 100%, though I might add something: you can indeed number the equations without giving them labels. You simply can't cross-reference those numbers without a label.

Posts: 1
Joined: Fri Feb 26, 2016 6:36 am

Postby MrCooper » Fri Feb 26, 2016 6:43 am

Are you guys kidding? You're rhetorically asking how would latex know? How does it know how to number them to begin with? This is not magic peeps. Latex knows which equation is which. It is a totally valid question to ask if we can reference an equation with labeling the actual equation, since clearly Latex already knows the equation numbering. For example, I could take a look at my compiled document, note that I want to reference equation number 4 (which is automatically numbered), and then simply reference it. There is no inherent reason why I should have to add a label to the original equation.

User avatar
Site Moderator
Posts: 3761
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Fri Feb 26, 2016 7:19 pm

Welcome Mr Cooper,
it is indeed completely unclear for LaTeX which equation is where.

On the other hand, how do you as the user make a computer program clear, which equation you want to cross reference?

So no, they where not asking rhetorically.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Return to “LyX”

Who is online

Users browsing this forum: No registered users and 3 guests