Is this possible to use two label for same equation
up vote
2
down vote
favorite
Is this possible to use different label
s for same equation number, I've tried with the below code:
documentclass{book}
usepackage{amsmath}
begin{document}
begin{align}
label{test}
a+b=clabel{trial}
end{align}
end{document}
but I got error, please advise...
equations labels
add a comment |
up vote
2
down vote
favorite
Is this possible to use different label
s for same equation number, I've tried with the below code:
documentclass{book}
usepackage{amsmath}
begin{document}
begin{align}
label{test}
a+b=clabel{trial}
end{align}
end{document}
but I got error, please advise...
equations labels
As far as I know, the result is indeed correct. Because, you cannot use multiple lables for one equation.
– Raaja
Nov 26 at 7:41
Only one label is possible
– Saravanan
Nov 26 at 7:44
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
Is this possible to use different label
s for same equation number, I've tried with the below code:
documentclass{book}
usepackage{amsmath}
begin{document}
begin{align}
label{test}
a+b=clabel{trial}
end{align}
end{document}
but I got error, please advise...
equations labels
Is this possible to use different label
s for same equation number, I've tried with the below code:
documentclass{book}
usepackage{amsmath}
begin{document}
begin{align}
label{test}
a+b=clabel{trial}
end{align}
end{document}
but I got error, please advise...
equations labels
equations labels
edited Nov 26 at 11:42
TeXnician
23.6k62984
23.6k62984
asked Nov 26 at 7:33
MadyYuvi
2,056211
2,056211
As far as I know, the result is indeed correct. Because, you cannot use multiple lables for one equation.
– Raaja
Nov 26 at 7:41
Only one label is possible
– Saravanan
Nov 26 at 7:44
add a comment |
As far as I know, the result is indeed correct. Because, you cannot use multiple lables for one equation.
– Raaja
Nov 26 at 7:41
Only one label is possible
– Saravanan
Nov 26 at 7:44
As far as I know, the result is indeed correct. Because, you cannot use multiple lables for one equation.
– Raaja
Nov 26 at 7:41
As far as I know, the result is indeed correct. Because, you cannot use multiple lables for one equation.
– Raaja
Nov 26 at 7:41
Only one label is possible
– Saravanan
Nov 26 at 7:44
Only one label is possible
– Saravanan
Nov 26 at 7:44
add a comment |
1 Answer
1
active
oldest
votes
up vote
4
down vote
In simple cases, such as begin{equation}
you can have any number of label
(although there is no real need ever to do so) however in alignments then the code has to make sure that the label
works in any cell even though the left and right sides of the equation are really separate groups, so it drops multiple labels with a warning. There would be no real advantage to allowing it as ref{test}
would always be the same as ref{trial}
As per your suggestion, I've changed align to equation, but still the same problem exists, please advise...
– MadyYuvi
Nov 26 at 14:05
@MadyYuvi no my suggestion was to just have onelabel
why would you ever need two?
– David Carlisle
Nov 26 at 14:34
Sorry, I misunderstood your words...
– MadyYuvi
Nov 27 at 9:18
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
In simple cases, such as begin{equation}
you can have any number of label
(although there is no real need ever to do so) however in alignments then the code has to make sure that the label
works in any cell even though the left and right sides of the equation are really separate groups, so it drops multiple labels with a warning. There would be no real advantage to allowing it as ref{test}
would always be the same as ref{trial}
As per your suggestion, I've changed align to equation, but still the same problem exists, please advise...
– MadyYuvi
Nov 26 at 14:05
@MadyYuvi no my suggestion was to just have onelabel
why would you ever need two?
– David Carlisle
Nov 26 at 14:34
Sorry, I misunderstood your words...
– MadyYuvi
Nov 27 at 9:18
add a comment |
up vote
4
down vote
In simple cases, such as begin{equation}
you can have any number of label
(although there is no real need ever to do so) however in alignments then the code has to make sure that the label
works in any cell even though the left and right sides of the equation are really separate groups, so it drops multiple labels with a warning. There would be no real advantage to allowing it as ref{test}
would always be the same as ref{trial}
As per your suggestion, I've changed align to equation, but still the same problem exists, please advise...
– MadyYuvi
Nov 26 at 14:05
@MadyYuvi no my suggestion was to just have onelabel
why would you ever need two?
– David Carlisle
Nov 26 at 14:34
Sorry, I misunderstood your words...
– MadyYuvi
Nov 27 at 9:18
add a comment |
up vote
4
down vote
up vote
4
down vote
In simple cases, such as begin{equation}
you can have any number of label
(although there is no real need ever to do so) however in alignments then the code has to make sure that the label
works in any cell even though the left and right sides of the equation are really separate groups, so it drops multiple labels with a warning. There would be no real advantage to allowing it as ref{test}
would always be the same as ref{trial}
In simple cases, such as begin{equation}
you can have any number of label
(although there is no real need ever to do so) however in alignments then the code has to make sure that the label
works in any cell even though the left and right sides of the equation are really separate groups, so it drops multiple labels with a warning. There would be no real advantage to allowing it as ref{test}
would always be the same as ref{trial}
answered Nov 26 at 8:06
David Carlisle
478k3811091841
478k3811091841
As per your suggestion, I've changed align to equation, but still the same problem exists, please advise...
– MadyYuvi
Nov 26 at 14:05
@MadyYuvi no my suggestion was to just have onelabel
why would you ever need two?
– David Carlisle
Nov 26 at 14:34
Sorry, I misunderstood your words...
– MadyYuvi
Nov 27 at 9:18
add a comment |
As per your suggestion, I've changed align to equation, but still the same problem exists, please advise...
– MadyYuvi
Nov 26 at 14:05
@MadyYuvi no my suggestion was to just have onelabel
why would you ever need two?
– David Carlisle
Nov 26 at 14:34
Sorry, I misunderstood your words...
– MadyYuvi
Nov 27 at 9:18
As per your suggestion, I've changed align to equation, but still the same problem exists, please advise...
– MadyYuvi
Nov 26 at 14:05
As per your suggestion, I've changed align to equation, but still the same problem exists, please advise...
– MadyYuvi
Nov 26 at 14:05
@MadyYuvi no my suggestion was to just have one
label
why would you ever need two?– David Carlisle
Nov 26 at 14:34
@MadyYuvi no my suggestion was to just have one
label
why would you ever need two?– David Carlisle
Nov 26 at 14:34
Sorry, I misunderstood your words...
– MadyYuvi
Nov 27 at 9:18
Sorry, I misunderstood your words...
– MadyYuvi
Nov 27 at 9:18
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f461776%2fis-this-possible-to-use-two-label-for-same-equation%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
As far as I know, the result is indeed correct. Because, you cannot use multiple lables for one equation.
– Raaja
Nov 26 at 7:41
Only one label is possible
– Saravanan
Nov 26 at 7:44