Equation tags with subequations












3














Consider the following MWE:



documentclass{article}

usepackage{mathtools}

begin{document}

begin{align}
label{system}
&left{
begin{aligned}
30^{2} &= h_{C}^{2} + y^{2};\
40^{2} &= h_{C}^{2} + (50 - y)^{2};
end{aligned}
right.\
ArrowBetweenLines[Downarrow]
&left{
begin{aligned}
h_{C}^{2} &= 30^{2} - y^{2};\
h_{C}^{2} &= 40^{2} - (50 - y)^{2}.
end{aligned}
right.
end{align}

end{document}


output



I have two problems that I don't know how to solve:




  • The equation tags are obviously not placed properly.

  • I would like to label all four equation using the subequation environment in order to get "(1a)", "(1b)", "(1c)", and "(1d)".


Thank you in advance.










share|improve this question
























  • I think using alignat already introduces a shift in numbering.
    – Raaja
    34 mins ago










  • @Raaja Okay. If you figure out how to typeset it properly, please let me know.
    – Svend Tveskæg
    32 mins ago










  • Yep I shall do!
    – Raaja
    7 mins ago
















3














Consider the following MWE:



documentclass{article}

usepackage{mathtools}

begin{document}

begin{align}
label{system}
&left{
begin{aligned}
30^{2} &= h_{C}^{2} + y^{2};\
40^{2} &= h_{C}^{2} + (50 - y)^{2};
end{aligned}
right.\
ArrowBetweenLines[Downarrow]
&left{
begin{aligned}
h_{C}^{2} &= 30^{2} - y^{2};\
h_{C}^{2} &= 40^{2} - (50 - y)^{2}.
end{aligned}
right.
end{align}

end{document}


output



I have two problems that I don't know how to solve:




  • The equation tags are obviously not placed properly.

  • I would like to label all four equation using the subequation environment in order to get "(1a)", "(1b)", "(1c)", and "(1d)".


Thank you in advance.










share|improve this question
























  • I think using alignat already introduces a shift in numbering.
    – Raaja
    34 mins ago










  • @Raaja Okay. If you figure out how to typeset it properly, please let me know.
    – Svend Tveskæg
    32 mins ago










  • Yep I shall do!
    – Raaja
    7 mins ago














3












3








3


1





Consider the following MWE:



documentclass{article}

usepackage{mathtools}

begin{document}

begin{align}
label{system}
&left{
begin{aligned}
30^{2} &= h_{C}^{2} + y^{2};\
40^{2} &= h_{C}^{2} + (50 - y)^{2};
end{aligned}
right.\
ArrowBetweenLines[Downarrow]
&left{
begin{aligned}
h_{C}^{2} &= 30^{2} - y^{2};\
h_{C}^{2} &= 40^{2} - (50 - y)^{2}.
end{aligned}
right.
end{align}

end{document}


output



I have two problems that I don't know how to solve:




  • The equation tags are obviously not placed properly.

  • I would like to label all four equation using the subequation environment in order to get "(1a)", "(1b)", "(1c)", and "(1d)".


Thank you in advance.










share|improve this question















Consider the following MWE:



documentclass{article}

usepackage{mathtools}

begin{document}

begin{align}
label{system}
&left{
begin{aligned}
30^{2} &= h_{C}^{2} + y^{2};\
40^{2} &= h_{C}^{2} + (50 - y)^{2};
end{aligned}
right.\
ArrowBetweenLines[Downarrow]
&left{
begin{aligned}
h_{C}^{2} &= 30^{2} - y^{2};\
h_{C}^{2} &= 40^{2} - (50 - y)^{2}.
end{aligned}
right.
end{align}

end{document}


output



I have two problems that I don't know how to solve:




  • The equation tags are obviously not placed properly.

  • I would like to label all four equation using the subequation environment in order to get "(1a)", "(1b)", "(1c)", and "(1d)".


Thank you in advance.







labels subequations






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 46 mins ago









Raaja

2,0902628




2,0902628










asked 2 hours ago









Svend Tveskæg

20.7k1050137




20.7k1050137












  • I think using alignat already introduces a shift in numbering.
    – Raaja
    34 mins ago










  • @Raaja Okay. If you figure out how to typeset it properly, please let me know.
    – Svend Tveskæg
    32 mins ago










  • Yep I shall do!
    – Raaja
    7 mins ago


















  • I think using alignat already introduces a shift in numbering.
    – Raaja
    34 mins ago










  • @Raaja Okay. If you figure out how to typeset it properly, please let me know.
    – Svend Tveskæg
    32 mins ago










  • Yep I shall do!
    – Raaja
    7 mins ago
















I think using alignat already introduces a shift in numbering.
– Raaja
34 mins ago




I think using alignat already introduces a shift in numbering.
– Raaja
34 mins ago












@Raaja Okay. If you figure out how to typeset it properly, please let me know.
– Svend Tveskæg
32 mins ago




@Raaja Okay. If you figure out how to typeset it properly, please let me know.
– Svend Tveskæg
32 mins ago












Yep I shall do!
– Raaja
7 mins ago




Yep I shall do!
– Raaja
7 mins ago










2 Answers
2






active

oldest

votes


















2














May be as a first try with my so-called null hack (of course not beautiful ;)), you can achieve what you want within a subequation environment by overloading the empheq package (of course along with the amsmath package).



documentclass[10pt,a4paper]{article}
usepackage{mathtools}
usepackage{amsmath}
usepackage[overload]{empheq}
begin{document}
begin{subequations}label{e1}
begin{align}[left ={empheqlbrace}]
a = 1 &label{e1a}\
b = 1 &label{e1b}\
c = 1 &label{e1c}
end{align}
% the poor man's NULL hack :D
null\
begin{align*}
&ArrowBetweenLines[Downarrow]
end{align*}
begin{align}[left ={empheqlbrace}]
d = 1 &label{e1d}\
e = 1 &label{e1e}\
f = 1 &label{e1f}
end{align}
end{subequations}

end{document}


which can give you with



enter image description here






share|improve this answer

















  • 1




    Nice first try. :-) The spacing between the two blocks of equations is too lange. Also, the ArrowBetweenLines[Downarrow] isn't moved enough to the left, relative to the equations blocks and the braces.
    – Svend Tveskæg
    1 hour ago












  • @SvendTveskæg I will look into that :)
    – Raaja
    56 mins ago



















1














begin{subequations}
begin{align}[left = empheqlbrace,]
30^{2} &= h_{C}^{2} + y^{2};\
40^{2} &= h_{C}^{2} + (50 - y)^{2};
end{align}
null\[-5pt]
begin{align*}
\[-104pt]
&phantom{sssssssssssssssssssssss}ArrowBetweenLines[Downarrow]
\[-104pt]
end{align*}
null\[-35pt]
begin{align}[left = empheqlbrace,]
h_{C}^{2} &= 30^{2} - y^{2};\
h_{C}^{2} &= 40^{2} - (50 - y)^{2}.
end{align}
end{subequations}


enter image description here






share|improve this answer





















  • It looks okay but it simply can't be the correct way to do it. :-)
    – Svend Tveskæg
    38 mins ago













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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f467287%2fequation-tags-with-subequations%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









2














May be as a first try with my so-called null hack (of course not beautiful ;)), you can achieve what you want within a subequation environment by overloading the empheq package (of course along with the amsmath package).



documentclass[10pt,a4paper]{article}
usepackage{mathtools}
usepackage{amsmath}
usepackage[overload]{empheq}
begin{document}
begin{subequations}label{e1}
begin{align}[left ={empheqlbrace}]
a = 1 &label{e1a}\
b = 1 &label{e1b}\
c = 1 &label{e1c}
end{align}
% the poor man's NULL hack :D
null\
begin{align*}
&ArrowBetweenLines[Downarrow]
end{align*}
begin{align}[left ={empheqlbrace}]
d = 1 &label{e1d}\
e = 1 &label{e1e}\
f = 1 &label{e1f}
end{align}
end{subequations}

end{document}


which can give you with



enter image description here






share|improve this answer

















  • 1




    Nice first try. :-) The spacing between the two blocks of equations is too lange. Also, the ArrowBetweenLines[Downarrow] isn't moved enough to the left, relative to the equations blocks and the braces.
    – Svend Tveskæg
    1 hour ago












  • @SvendTveskæg I will look into that :)
    – Raaja
    56 mins ago
















2














May be as a first try with my so-called null hack (of course not beautiful ;)), you can achieve what you want within a subequation environment by overloading the empheq package (of course along with the amsmath package).



documentclass[10pt,a4paper]{article}
usepackage{mathtools}
usepackage{amsmath}
usepackage[overload]{empheq}
begin{document}
begin{subequations}label{e1}
begin{align}[left ={empheqlbrace}]
a = 1 &label{e1a}\
b = 1 &label{e1b}\
c = 1 &label{e1c}
end{align}
% the poor man's NULL hack :D
null\
begin{align*}
&ArrowBetweenLines[Downarrow]
end{align*}
begin{align}[left ={empheqlbrace}]
d = 1 &label{e1d}\
e = 1 &label{e1e}\
f = 1 &label{e1f}
end{align}
end{subequations}

end{document}


which can give you with



enter image description here






share|improve this answer

















  • 1




    Nice first try. :-) The spacing between the two blocks of equations is too lange. Also, the ArrowBetweenLines[Downarrow] isn't moved enough to the left, relative to the equations blocks and the braces.
    – Svend Tveskæg
    1 hour ago












  • @SvendTveskæg I will look into that :)
    – Raaja
    56 mins ago














2












2








2






May be as a first try with my so-called null hack (of course not beautiful ;)), you can achieve what you want within a subequation environment by overloading the empheq package (of course along with the amsmath package).



documentclass[10pt,a4paper]{article}
usepackage{mathtools}
usepackage{amsmath}
usepackage[overload]{empheq}
begin{document}
begin{subequations}label{e1}
begin{align}[left ={empheqlbrace}]
a = 1 &label{e1a}\
b = 1 &label{e1b}\
c = 1 &label{e1c}
end{align}
% the poor man's NULL hack :D
null\
begin{align*}
&ArrowBetweenLines[Downarrow]
end{align*}
begin{align}[left ={empheqlbrace}]
d = 1 &label{e1d}\
e = 1 &label{e1e}\
f = 1 &label{e1f}
end{align}
end{subequations}

end{document}


which can give you with



enter image description here






share|improve this answer












May be as a first try with my so-called null hack (of course not beautiful ;)), you can achieve what you want within a subequation environment by overloading the empheq package (of course along with the amsmath package).



documentclass[10pt,a4paper]{article}
usepackage{mathtools}
usepackage{amsmath}
usepackage[overload]{empheq}
begin{document}
begin{subequations}label{e1}
begin{align}[left ={empheqlbrace}]
a = 1 &label{e1a}\
b = 1 &label{e1b}\
c = 1 &label{e1c}
end{align}
% the poor man's NULL hack :D
null\
begin{align*}
&ArrowBetweenLines[Downarrow]
end{align*}
begin{align}[left ={empheqlbrace}]
d = 1 &label{e1d}\
e = 1 &label{e1e}\
f = 1 &label{e1f}
end{align}
end{subequations}

end{document}


which can give you with



enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered 1 hour ago









Raaja

2,0902628




2,0902628








  • 1




    Nice first try. :-) The spacing between the two blocks of equations is too lange. Also, the ArrowBetweenLines[Downarrow] isn't moved enough to the left, relative to the equations blocks and the braces.
    – Svend Tveskæg
    1 hour ago












  • @SvendTveskæg I will look into that :)
    – Raaja
    56 mins ago














  • 1




    Nice first try. :-) The spacing between the two blocks of equations is too lange. Also, the ArrowBetweenLines[Downarrow] isn't moved enough to the left, relative to the equations blocks and the braces.
    – Svend Tveskæg
    1 hour ago












  • @SvendTveskæg I will look into that :)
    – Raaja
    56 mins ago








1




1




Nice first try. :-) The spacing between the two blocks of equations is too lange. Also, the ArrowBetweenLines[Downarrow] isn't moved enough to the left, relative to the equations blocks and the braces.
– Svend Tveskæg
1 hour ago






Nice first try. :-) The spacing between the two blocks of equations is too lange. Also, the ArrowBetweenLines[Downarrow] isn't moved enough to the left, relative to the equations blocks and the braces.
– Svend Tveskæg
1 hour ago














@SvendTveskæg I will look into that :)
– Raaja
56 mins ago




@SvendTveskæg I will look into that :)
– Raaja
56 mins ago











1














begin{subequations}
begin{align}[left = empheqlbrace,]
30^{2} &= h_{C}^{2} + y^{2};\
40^{2} &= h_{C}^{2} + (50 - y)^{2};
end{align}
null\[-5pt]
begin{align*}
\[-104pt]
&phantom{sssssssssssssssssssssss}ArrowBetweenLines[Downarrow]
\[-104pt]
end{align*}
null\[-35pt]
begin{align}[left = empheqlbrace,]
h_{C}^{2} &= 30^{2} - y^{2};\
h_{C}^{2} &= 40^{2} - (50 - y)^{2}.
end{align}
end{subequations}


enter image description here






share|improve this answer





















  • It looks okay but it simply can't be the correct way to do it. :-)
    – Svend Tveskæg
    38 mins ago


















1














begin{subequations}
begin{align}[left = empheqlbrace,]
30^{2} &= h_{C}^{2} + y^{2};\
40^{2} &= h_{C}^{2} + (50 - y)^{2};
end{align}
null\[-5pt]
begin{align*}
\[-104pt]
&phantom{sssssssssssssssssssssss}ArrowBetweenLines[Downarrow]
\[-104pt]
end{align*}
null\[-35pt]
begin{align}[left = empheqlbrace,]
h_{C}^{2} &= 30^{2} - y^{2};\
h_{C}^{2} &= 40^{2} - (50 - y)^{2}.
end{align}
end{subequations}


enter image description here






share|improve this answer





















  • It looks okay but it simply can't be the correct way to do it. :-)
    – Svend Tveskæg
    38 mins ago
















1












1








1






begin{subequations}
begin{align}[left = empheqlbrace,]
30^{2} &= h_{C}^{2} + y^{2};\
40^{2} &= h_{C}^{2} + (50 - y)^{2};
end{align}
null\[-5pt]
begin{align*}
\[-104pt]
&phantom{sssssssssssssssssssssss}ArrowBetweenLines[Downarrow]
\[-104pt]
end{align*}
null\[-35pt]
begin{align}[left = empheqlbrace,]
h_{C}^{2} &= 30^{2} - y^{2};\
h_{C}^{2} &= 40^{2} - (50 - y)^{2}.
end{align}
end{subequations}


enter image description here






share|improve this answer












begin{subequations}
begin{align}[left = empheqlbrace,]
30^{2} &= h_{C}^{2} + y^{2};\
40^{2} &= h_{C}^{2} + (50 - y)^{2};
end{align}
null\[-5pt]
begin{align*}
\[-104pt]
&phantom{sssssssssssssssssssssss}ArrowBetweenLines[Downarrow]
\[-104pt]
end{align*}
null\[-35pt]
begin{align}[left = empheqlbrace,]
h_{C}^{2} &= 30^{2} - y^{2};\
h_{C}^{2} &= 40^{2} - (50 - y)^{2}.
end{align}
end{subequations}


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered 39 mins ago









Saravanan

1,083213




1,083213












  • It looks okay but it simply can't be the correct way to do it. :-)
    – Svend Tveskæg
    38 mins ago




















  • It looks okay but it simply can't be the correct way to do it. :-)
    – Svend Tveskæg
    38 mins ago


















It looks okay but it simply can't be the correct way to do it. :-)
– Svend Tveskæg
38 mins ago






It looks okay but it simply can't be the correct way to do it. :-)
– Svend Tveskæg
38 mins ago




















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%2f467287%2fequation-tags-with-subequations%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

404 Error Contact Form 7 ajax form submitting

How to know if a Active Directory user can login interactively

TypeError: fit_transform() missing 1 required positional argument: 'X'