Is this possible to use two label for same equation
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 |
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 '18 at 7:41
Only one label is possible
– Saravanan
Nov 26 '18 at 7:44
add a comment |
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 '18 at 11:42
TeXnician
24.8k63187
24.8k63187
asked Nov 26 '18 at 7:33
MadyYuviMadyYuvi
2,202311
2,202311
As far as I know, the result is indeed correct. Because, you cannot use multiple lables for one equation.
– Raaja
Nov 26 '18 at 7:41
Only one label is possible
– Saravanan
Nov 26 '18 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 '18 at 7:41
Only one label is possible
– Saravanan
Nov 26 '18 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 '18 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 '18 at 7:41
Only one label is possible
– Saravanan
Nov 26 '18 at 7:44
Only one label is possible
– Saravanan
Nov 26 '18 at 7:44
add a comment |
1 Answer
1
active
oldest
votes
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 '18 at 14:05
@MadyYuvi no my suggestion was to just have onelabel
why would you ever need two?
– David Carlisle
Nov 26 '18 at 14:34
Sorry, I misunderstood your words...
– MadyYuvi
Nov 27 '18 at 9:18
add a comment |
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',
autoActivateHeartbeat: false,
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
});
}
});
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
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
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 '18 at 14:05
@MadyYuvi no my suggestion was to just have onelabel
why would you ever need two?
– David Carlisle
Nov 26 '18 at 14:34
Sorry, I misunderstood your words...
– MadyYuvi
Nov 27 '18 at 9:18
add a comment |
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 '18 at 14:05
@MadyYuvi no my suggestion was to just have onelabel
why would you ever need two?
– David Carlisle
Nov 26 '18 at 14:34
Sorry, I misunderstood your words...
– MadyYuvi
Nov 27 '18 at 9:18
add a comment |
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 '18 at 8:06
David CarlisleDavid Carlisle
486k4111221867
486k4111221867
As per your suggestion, I've changed align to equation, but still the same problem exists, please advise...
– MadyYuvi
Nov 26 '18 at 14:05
@MadyYuvi no my suggestion was to just have onelabel
why would you ever need two?
– David Carlisle
Nov 26 '18 at 14:34
Sorry, I misunderstood your words...
– MadyYuvi
Nov 27 '18 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 '18 at 14:05
@MadyYuvi no my suggestion was to just have onelabel
why would you ever need two?
– David Carlisle
Nov 26 '18 at 14:34
Sorry, I misunderstood your words...
– MadyYuvi
Nov 27 '18 at 9:18
As per your suggestion, I've changed align to equation, but still the same problem exists, please advise...
– MadyYuvi
Nov 26 '18 at 14:05
As per your suggestion, I've changed align to equation, but still the same problem exists, please advise...
– MadyYuvi
Nov 26 '18 at 14:05
@MadyYuvi no my suggestion was to just have one
label
why would you ever need two?– David Carlisle
Nov 26 '18 at 14:34
@MadyYuvi no my suggestion was to just have one
label
why would you ever need two?– David Carlisle
Nov 26 '18 at 14:34
Sorry, I misunderstood your words...
– MadyYuvi
Nov 27 '18 at 9:18
Sorry, I misunderstood your words...
– MadyYuvi
Nov 27 '18 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.
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 '18 at 7:41
Only one label is possible
– Saravanan
Nov 26 '18 at 7:44