showlabels problems with subequations
up vote
3
down vote
favorite
I would like to resume the post on the usepackage{showlabels} for a moment
working on some things, I found this code very handy, but I saw that when I activate the usepackage{showlabels}, from these problems. what could it be?
documentclass[a4paper,10pt]{article}
usepackage{amsmath}
usepackage{empheq}
usepackage{showlabels} %%<------
begin{document}
We refer to the subequation eqref{eq079.1} end eqref{eq079.2} and the whole equation (ref{eq:all}).
begin{subequations}
label{eq:all}
begin{empheq}[left={empheqlbrace,}]{align}
&rho = rho+quad text{con}quad tilde{rho}llrho_{0} label{eq079.1}
\ nonumber \
&p = p_{0} + tilde{p} quad text{con}quad p_{_{0}} = cdotsquad text{e}quad tilde{p}ll p_{0}label{eq079.2}
end{empheq}
end{subequations}
end{document}

numbering labels subequations showlabels
add a comment |
up vote
3
down vote
favorite
I would like to resume the post on the usepackage{showlabels} for a moment
working on some things, I found this code very handy, but I saw that when I activate the usepackage{showlabels}, from these problems. what could it be?
documentclass[a4paper,10pt]{article}
usepackage{amsmath}
usepackage{empheq}
usepackage{showlabels} %%<------
begin{document}
We refer to the subequation eqref{eq079.1} end eqref{eq079.2} and the whole equation (ref{eq:all}).
begin{subequations}
label{eq:all}
begin{empheq}[left={empheqlbrace,}]{align}
&rho = rho+quad text{con}quad tilde{rho}llrho_{0} label{eq079.1}
\ nonumber \
&p = p_{0} + tilde{p} quad text{con}quad p_{_{0}} = cdotsquad text{e}quad tilde{p}ll p_{0}label{eq079.2}
end{empheq}
end{subequations}
end{document}

numbering labels subequations showlabels
1
Interesting, apparently something about the interaction betweenshowlabelsandempheqhas changed since 2014. This answer, which worked back then, now suffers from the same problem.
– Circumscribe
Nov 20 at 18:38
1
With TeX Live 2015 the output is correct, it starts to be mangled with TeX Live 2016 on.
– egreg
Nov 20 at 18:46
@egreg therefore, it does not have a solution, but it is a problem between the two packages.
– Antonio
Nov 20 at 19:05
A change toshowlabelsfor enhancing compatibility withamsmathresults in the label printed twice, one without the shift due toempheqlbrace,and one with. Indeed, if you remove theleft=option, you'll not see the issue, because the double labels overprint each other. I can't see a workaround, sorry. Bothshowlabelsandempheqhook inmaketag@@@and conflict arises.
– egreg
Nov 20 at 21:31
add a comment |
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I would like to resume the post on the usepackage{showlabels} for a moment
working on some things, I found this code very handy, but I saw that when I activate the usepackage{showlabels}, from these problems. what could it be?
documentclass[a4paper,10pt]{article}
usepackage{amsmath}
usepackage{empheq}
usepackage{showlabels} %%<------
begin{document}
We refer to the subequation eqref{eq079.1} end eqref{eq079.2} and the whole equation (ref{eq:all}).
begin{subequations}
label{eq:all}
begin{empheq}[left={empheqlbrace,}]{align}
&rho = rho+quad text{con}quad tilde{rho}llrho_{0} label{eq079.1}
\ nonumber \
&p = p_{0} + tilde{p} quad text{con}quad p_{_{0}} = cdotsquad text{e}quad tilde{p}ll p_{0}label{eq079.2}
end{empheq}
end{subequations}
end{document}

numbering labels subequations showlabels
I would like to resume the post on the usepackage{showlabels} for a moment
working on some things, I found this code very handy, but I saw that when I activate the usepackage{showlabels}, from these problems. what could it be?
documentclass[a4paper,10pt]{article}
usepackage{amsmath}
usepackage{empheq}
usepackage{showlabels} %%<------
begin{document}
We refer to the subequation eqref{eq079.1} end eqref{eq079.2} and the whole equation (ref{eq:all}).
begin{subequations}
label{eq:all}
begin{empheq}[left={empheqlbrace,}]{align}
&rho = rho+quad text{con}quad tilde{rho}llrho_{0} label{eq079.1}
\ nonumber \
&p = p_{0} + tilde{p} quad text{con}quad p_{_{0}} = cdotsquad text{e}quad tilde{p}ll p_{0}label{eq079.2}
end{empheq}
end{subequations}
end{document}

numbering labels subequations showlabels
numbering labels subequations showlabels
edited Nov 20 at 19:02
asked Nov 20 at 18:05
Antonio
13611
13611
1
Interesting, apparently something about the interaction betweenshowlabelsandempheqhas changed since 2014. This answer, which worked back then, now suffers from the same problem.
– Circumscribe
Nov 20 at 18:38
1
With TeX Live 2015 the output is correct, it starts to be mangled with TeX Live 2016 on.
– egreg
Nov 20 at 18:46
@egreg therefore, it does not have a solution, but it is a problem between the two packages.
– Antonio
Nov 20 at 19:05
A change toshowlabelsfor enhancing compatibility withamsmathresults in the label printed twice, one without the shift due toempheqlbrace,and one with. Indeed, if you remove theleft=option, you'll not see the issue, because the double labels overprint each other. I can't see a workaround, sorry. Bothshowlabelsandempheqhook inmaketag@@@and conflict arises.
– egreg
Nov 20 at 21:31
add a comment |
1
Interesting, apparently something about the interaction betweenshowlabelsandempheqhas changed since 2014. This answer, which worked back then, now suffers from the same problem.
– Circumscribe
Nov 20 at 18:38
1
With TeX Live 2015 the output is correct, it starts to be mangled with TeX Live 2016 on.
– egreg
Nov 20 at 18:46
@egreg therefore, it does not have a solution, but it is a problem between the two packages.
– Antonio
Nov 20 at 19:05
A change toshowlabelsfor enhancing compatibility withamsmathresults in the label printed twice, one without the shift due toempheqlbrace,and one with. Indeed, if you remove theleft=option, you'll not see the issue, because the double labels overprint each other. I can't see a workaround, sorry. Bothshowlabelsandempheqhook inmaketag@@@and conflict arises.
– egreg
Nov 20 at 21:31
1
1
Interesting, apparently something about the interaction between
showlabels and empheq has changed since 2014. This answer, which worked back then, now suffers from the same problem.– Circumscribe
Nov 20 at 18:38
Interesting, apparently something about the interaction between
showlabels and empheq has changed since 2014. This answer, which worked back then, now suffers from the same problem.– Circumscribe
Nov 20 at 18:38
1
1
With TeX Live 2015 the output is correct, it starts to be mangled with TeX Live 2016 on.
– egreg
Nov 20 at 18:46
With TeX Live 2015 the output is correct, it starts to be mangled with TeX Live 2016 on.
– egreg
Nov 20 at 18:46
@egreg therefore, it does not have a solution, but it is a problem between the two packages.
– Antonio
Nov 20 at 19:05
@egreg therefore, it does not have a solution, but it is a problem between the two packages.
– Antonio
Nov 20 at 19:05
A change to
showlabels for enhancing compatibility with amsmath results in the label printed twice, one without the shift due to empheqlbrace, and one with. Indeed, if you remove the left= option, you'll not see the issue, because the double labels overprint each other. I can't see a workaround, sorry. Both showlabels and empheq hook in maketag@@@ and conflict arises.– egreg
Nov 20 at 21:31
A change to
showlabels for enhancing compatibility with amsmath results in the label printed twice, one without the shift due to empheqlbrace, and one with. Indeed, if you remove the left= option, you'll not see the issue, because the double labels overprint each other. I can't see a workaround, sorry. Both showlabels and empheq hook in maketag@@@ and conflict arises.– egreg
Nov 20 at 21:31
add a comment |
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
You could use showkeys instead

documentclass[a4paper,10pt]{article}
usepackage{amsmath}
usepackage{empheq}
usepackage{showkeys} %%<------
begin{document}
We refer to the subequation eqref{eq079.1} end eqref{eq079.2} and the whole equation (ref{eq:all}).
begin{subequations}
label{eq:all}
begin{empheq}[left={empheqlbrace,}]{align}
&rho = rho+quad text{con}quad tilde{rho}llrho_{0} label{eq079.1}
\ nonumber \
&p = p_{0} + tilde{p} quad text{con}quad p_{_{0}} = cdotsquad text{e}quad tilde{p}ll p_{0}label{eq079.2}
end{empheq}
end{subequations}
end{document}
See
numcases environment with showlabels package
:-)
I must confess that the form ofusepackage{showlabels}, is much more orderly, but this is more effective. I do not like the rectangles aesthetically, thanks for the suggestion
– Antonio
Nov 20 at 22:09
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
You could use showkeys instead

documentclass[a4paper,10pt]{article}
usepackage{amsmath}
usepackage{empheq}
usepackage{showkeys} %%<------
begin{document}
We refer to the subequation eqref{eq079.1} end eqref{eq079.2} and the whole equation (ref{eq:all}).
begin{subequations}
label{eq:all}
begin{empheq}[left={empheqlbrace,}]{align}
&rho = rho+quad text{con}quad tilde{rho}llrho_{0} label{eq079.1}
\ nonumber \
&p = p_{0} + tilde{p} quad text{con}quad p_{_{0}} = cdotsquad text{e}quad tilde{p}ll p_{0}label{eq079.2}
end{empheq}
end{subequations}
end{document}
See
numcases environment with showlabels package
:-)
I must confess that the form ofusepackage{showlabels}, is much more orderly, but this is more effective. I do not like the rectangles aesthetically, thanks for the suggestion
– Antonio
Nov 20 at 22:09
add a comment |
up vote
2
down vote
accepted
You could use showkeys instead

documentclass[a4paper,10pt]{article}
usepackage{amsmath}
usepackage{empheq}
usepackage{showkeys} %%<------
begin{document}
We refer to the subequation eqref{eq079.1} end eqref{eq079.2} and the whole equation (ref{eq:all}).
begin{subequations}
label{eq:all}
begin{empheq}[left={empheqlbrace,}]{align}
&rho = rho+quad text{con}quad tilde{rho}llrho_{0} label{eq079.1}
\ nonumber \
&p = p_{0} + tilde{p} quad text{con}quad p_{_{0}} = cdotsquad text{e}quad tilde{p}ll p_{0}label{eq079.2}
end{empheq}
end{subequations}
end{document}
See
numcases environment with showlabels package
:-)
I must confess that the form ofusepackage{showlabels}, is much more orderly, but this is more effective. I do not like the rectangles aesthetically, thanks for the suggestion
– Antonio
Nov 20 at 22:09
add a comment |
up vote
2
down vote
accepted
up vote
2
down vote
accepted
You could use showkeys instead

documentclass[a4paper,10pt]{article}
usepackage{amsmath}
usepackage{empheq}
usepackage{showkeys} %%<------
begin{document}
We refer to the subequation eqref{eq079.1} end eqref{eq079.2} and the whole equation (ref{eq:all}).
begin{subequations}
label{eq:all}
begin{empheq}[left={empheqlbrace,}]{align}
&rho = rho+quad text{con}quad tilde{rho}llrho_{0} label{eq079.1}
\ nonumber \
&p = p_{0} + tilde{p} quad text{con}quad p_{_{0}} = cdotsquad text{e}quad tilde{p}ll p_{0}label{eq079.2}
end{empheq}
end{subequations}
end{document}
See
numcases environment with showlabels package
:-)
You could use showkeys instead

documentclass[a4paper,10pt]{article}
usepackage{amsmath}
usepackage{empheq}
usepackage{showkeys} %%<------
begin{document}
We refer to the subequation eqref{eq079.1} end eqref{eq079.2} and the whole equation (ref{eq:all}).
begin{subequations}
label{eq:all}
begin{empheq}[left={empheqlbrace,}]{align}
&rho = rho+quad text{con}quad tilde{rho}llrho_{0} label{eq079.1}
\ nonumber \
&p = p_{0} + tilde{p} quad text{con}quad p_{_{0}} = cdotsquad text{e}quad tilde{p}ll p_{0}label{eq079.2}
end{empheq}
end{subequations}
end{document}
See
numcases environment with showlabels package
:-)
answered Nov 20 at 21:55
David Carlisle
478k3811071841
478k3811071841
I must confess that the form ofusepackage{showlabels}, is much more orderly, but this is more effective. I do not like the rectangles aesthetically, thanks for the suggestion
– Antonio
Nov 20 at 22:09
add a comment |
I must confess that the form ofusepackage{showlabels}, is much more orderly, but this is more effective. I do not like the rectangles aesthetically, thanks for the suggestion
– Antonio
Nov 20 at 22:09
I must confess that the form of
usepackage{showlabels}, is much more orderly, but this is more effective. I do not like the rectangles aesthetically, thanks for the suggestion– Antonio
Nov 20 at 22:09
I must confess that the form of
usepackage{showlabels}, is much more orderly, but this is more effective. I do not like the rectangles aesthetically, thanks for the suggestion– Antonio
Nov 20 at 22:09
add a comment |
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%2f461005%2fshowlabels-problems-with-subequations%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
1
Interesting, apparently something about the interaction between
showlabelsandempheqhas changed since 2014. This answer, which worked back then, now suffers from the same problem.– Circumscribe
Nov 20 at 18:38
1
With TeX Live 2015 the output is correct, it starts to be mangled with TeX Live 2016 on.
– egreg
Nov 20 at 18:46
@egreg therefore, it does not have a solution, but it is a problem between the two packages.
– Antonio
Nov 20 at 19:05
A change to
showlabelsfor enhancing compatibility withamsmathresults in the label printed twice, one without the shift due toempheqlbrace,and one with. Indeed, if you remove theleft=option, you'll not see the issue, because the double labels overprint each other. I can't see a workaround, sorry. Bothshowlabelsandempheqhook inmaketag@@@and conflict arises.– egreg
Nov 20 at 21:31