Is this possible to use two label for same equation











up vote
2
down vote

favorite












Is this possible to use different labels 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...










share|improve this question
























  • 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















up vote
2
down vote

favorite












Is this possible to use different labels 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...










share|improve this question
























  • 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













up vote
2
down vote

favorite









up vote
2
down vote

favorite











Is this possible to use different labels 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...










share|improve this question















Is this possible to use different labels 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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 26 at 11:42









TeXnician

23.7k62984




23.7k62984










asked Nov 26 at 7:33









MadyYuvi

2,066211




2,066211












  • 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










  • 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










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}






share|improve this answer





















  • 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










  • Sorry, I misunderstood your words...
    – MadyYuvi
    Nov 27 at 9:18











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















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

























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}






share|improve this answer





















  • 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










  • Sorry, I misunderstood your words...
    – MadyYuvi
    Nov 27 at 9:18















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}






share|improve this answer





















  • 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










  • Sorry, I misunderstood your words...
    – MadyYuvi
    Nov 27 at 9:18













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}






share|improve this answer












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}







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 26 at 8:06









David Carlisle

479k3811101843




479k3811101843












  • 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










  • 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










  • @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
















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


















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

How do I know what Microsoft account the skydrive app is syncing to?

When does type information flow backwards in C++?

Grease: Live!