alignat align two sums under each other
up vote
4
down vote
favorite
This
begin{alignat*}{2}
f(a) &= lim_{s} frac{1}{2 z} int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q) d x d y &\
&= lim_{s} frac{1}{3s} &Bigg{ sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) d x d y d x d y &\
& & sum_{w} int_{-r}^{+t} g(q)cdot h(q) d x d y d x d y &Bigg} \
end{alignat*}
Produces this:

Obviously, the space between the fraction and curly bracket is not intended, what I wanted to do was to align the second sum under the first one like it is done here. What is incorrect? (I want to do it with alignat without getting too complex like nested alignemets)
align amsmath alignat
add a comment |
up vote
4
down vote
favorite
This
begin{alignat*}{2}
f(a) &= lim_{s} frac{1}{2 z} int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q) d x d y &\
&= lim_{s} frac{1}{3s} &Bigg{ sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) d x d y d x d y &\
& & sum_{w} int_{-r}^{+t} g(q)cdot h(q) d x d y d x d y &Bigg} \
end{alignat*}
Produces this:

Obviously, the space between the fraction and curly bracket is not intended, what I wanted to do was to align the second sum under the first one like it is done here. What is incorrect? (I want to do it with alignat without getting too complex like nested alignemets)
align amsmath alignat
1
While code snippets are useful in explanations, it is always best to compose a fully compilable MWE that illustrates the problem including thedocumentclassand the appropriate packages so that those trying to help don't have to recreate it.
– Peter Grill
7 hours ago
add a comment |
up vote
4
down vote
favorite
up vote
4
down vote
favorite
This
begin{alignat*}{2}
f(a) &= lim_{s} frac{1}{2 z} int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q) d x d y &\
&= lim_{s} frac{1}{3s} &Bigg{ sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) d x d y d x d y &\
& & sum_{w} int_{-r}^{+t} g(q)cdot h(q) d x d y d x d y &Bigg} \
end{alignat*}
Produces this:

Obviously, the space between the fraction and curly bracket is not intended, what I wanted to do was to align the second sum under the first one like it is done here. What is incorrect? (I want to do it with alignat without getting too complex like nested alignemets)
align amsmath alignat
This
begin{alignat*}{2}
f(a) &= lim_{s} frac{1}{2 z} int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q) d x d y &\
&= lim_{s} frac{1}{3s} &Bigg{ sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) d x d y d x d y &\
& & sum_{w} int_{-r}^{+t} g(q)cdot h(q) d x d y d x d y &Bigg} \
end{alignat*}
Produces this:

Obviously, the space between the fraction and curly bracket is not intended, what I wanted to do was to align the second sum under the first one like it is done here. What is incorrect? (I want to do it with alignat without getting too complex like nested alignemets)
align amsmath alignat
align amsmath alignat
asked 7 hours ago
leosenko
1836
1836
1
While code snippets are useful in explanations, it is always best to compose a fully compilable MWE that illustrates the problem including thedocumentclassand the appropriate packages so that those trying to help don't have to recreate it.
– Peter Grill
7 hours ago
add a comment |
1
While code snippets are useful in explanations, it is always best to compose a fully compilable MWE that illustrates the problem including thedocumentclassand the appropriate packages so that those trying to help don't have to recreate it.
– Peter Grill
7 hours ago
1
1
While code snippets are useful in explanations, it is always best to compose a fully compilable MWE that illustrates the problem including the
documentclass and the appropriate packages so that those trying to help don't have to recreate it.– Peter Grill
7 hours ago
While code snippets are useful in explanations, it is always best to compose a fully compilable MWE that illustrates the problem including the
documentclass and the appropriate packages so that those trying to help don't have to recreate it.– Peter Grill
7 hours ago
add a comment |
3 Answers
3
active
oldest
votes
up vote
3
down vote
A combination of an hphantom{Bigg{} and some additional alignment points gives good results:

Notes:
- The
alignat*=environment produces as manyrl(right/left) pairs as specified in the first parameter and does not insert additional space that thealignenvironment does, so you need to insert the space that is desired between the alignment points (this was not needed in this case). - The double
&&ensure that the subsequent columns are also left aligned.
Code
documentclass{article}
usepackage{mathtools}% include amsmath
begin{document}
begin{alignat*}{4}
f(a)
&= lim_{s} frac{1}{2 z} && int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q) d x d y & \
&= lim_{s} frac{1}{3s} && Bigg{ sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) d x d y d x d y & \
& && hphantom{Bigg{} sum_{w} int_{-r}^{+t} g(q)cdot h(q) d x d y d x d y & Bigg} \
end{alignat*}
end{document}
Why does the solution with simplealignatnot work, since i merely copied what works from the link that I mention in the question and just used different content?
– leosenko
4 hours ago
@leosenko: The solution you linked to employsmathrlapso what you have here is not really identical to that solution. There are lots of different way to do alignments -- I only presented what came naturally to me: Select the desired alighnemt points and use a single&where you want the text before to beraligned and the text following to belaligned. A double&&skips theralign component and make the text followinglaligned. Also updated answer to attempt to explain this.
– Peter Grill
4 hours ago
add a comment |
up vote
2
down vote
This is a case for split with a nested aligned or multlined environment.
A couple of notes
dxshould be preceded by a thin space; it's easy to forget it, so I provide adiffcommand that adds it automatically;Biggis too large and it should be in theBigglandBiggrvarieties anyhow; I usedbigglandbiggr;in the
alignedsolution, there should be a!beforesumto avoid an unwanted thin space.
documentclass{article}
usepackage{amsmath,mathtools}
newcommanddiff{mathop{}!d}
begin{document}
begin{equation*}
begin{split}
f(a)
&= lim_{s} frac{1}{2z} int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q)diff xdiff y
\
&= lim_{s} frac{1}{3s} biggl{
begin{aligned}[t]
&!sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) diff x diff y diff x diff y \
&!sum_{w} int_{-r}^{+t} g(q)cdot h(q) diff x diff y diff x diff y
biggr}
end{aligned}
end{split}
end{equation*}
begin{equation*}
begin{split}
f(a)
&= lim_{s} frac{1}{2z} int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q)diff xdiff y
\
&= lim_{s} frac{1}{3s} biggl{
begin{multlined}[t]
sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) diff x diff y diff x diff y \
sum_{w} int_{-r}^{+t} g(q)cdot h(q) diff x diff y diff x diff y
biggr}
end{multlined}
end{split}
end{equation*}
end{document}

add a comment |
up vote
1
down vote
A solution with an aligned environment nested in a align*. I also propose a different alignment, and an improvement for the spacing of differential symbols:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
f(a) &= lim_{s} frac{1}{2 z} int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q), d x,d y &\
&= lim_{s} frac{1}{3s}begin{aligned}[t]Bigg{ & sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) ,d x,d y,d x,d y \
& sum_{w} int_{-r}^{+t} g(q)cdot h(q) ,d x, d y , d x, d y, Bigg}end{aligned}
end{align*}
bigskip
begin{align*}
f(a) &= lim_{s} frac{1}{2 z} int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q) ,d x,d y &\
&= lim_{s} frac{1}{3s}begin{aligned}[t]Bigg{sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) ,d x,d y,d x,d y & \
sum_{w} int_{-r}^{+t} g(q)cdot h(q),d x,d y,d x,d y &,Bigg}end{aligned}
end{align*}
end{document}

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%2f466418%2falignat-align-two-sums-under-each-other%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
A combination of an hphantom{Bigg{} and some additional alignment points gives good results:

Notes:
- The
alignat*=environment produces as manyrl(right/left) pairs as specified in the first parameter and does not insert additional space that thealignenvironment does, so you need to insert the space that is desired between the alignment points (this was not needed in this case). - The double
&&ensure that the subsequent columns are also left aligned.
Code
documentclass{article}
usepackage{mathtools}% include amsmath
begin{document}
begin{alignat*}{4}
f(a)
&= lim_{s} frac{1}{2 z} && int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q) d x d y & \
&= lim_{s} frac{1}{3s} && Bigg{ sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) d x d y d x d y & \
& && hphantom{Bigg{} sum_{w} int_{-r}^{+t} g(q)cdot h(q) d x d y d x d y & Bigg} \
end{alignat*}
end{document}
Why does the solution with simplealignatnot work, since i merely copied what works from the link that I mention in the question and just used different content?
– leosenko
4 hours ago
@leosenko: The solution you linked to employsmathrlapso what you have here is not really identical to that solution. There are lots of different way to do alignments -- I only presented what came naturally to me: Select the desired alighnemt points and use a single&where you want the text before to beraligned and the text following to belaligned. A double&&skips theralign component and make the text followinglaligned. Also updated answer to attempt to explain this.
– Peter Grill
4 hours ago
add a comment |
up vote
3
down vote
A combination of an hphantom{Bigg{} and some additional alignment points gives good results:

Notes:
- The
alignat*=environment produces as manyrl(right/left) pairs as specified in the first parameter and does not insert additional space that thealignenvironment does, so you need to insert the space that is desired between the alignment points (this was not needed in this case). - The double
&&ensure that the subsequent columns are also left aligned.
Code
documentclass{article}
usepackage{mathtools}% include amsmath
begin{document}
begin{alignat*}{4}
f(a)
&= lim_{s} frac{1}{2 z} && int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q) d x d y & \
&= lim_{s} frac{1}{3s} && Bigg{ sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) d x d y d x d y & \
& && hphantom{Bigg{} sum_{w} int_{-r}^{+t} g(q)cdot h(q) d x d y d x d y & Bigg} \
end{alignat*}
end{document}
Why does the solution with simplealignatnot work, since i merely copied what works from the link that I mention in the question and just used different content?
– leosenko
4 hours ago
@leosenko: The solution you linked to employsmathrlapso what you have here is not really identical to that solution. There are lots of different way to do alignments -- I only presented what came naturally to me: Select the desired alighnemt points and use a single&where you want the text before to beraligned and the text following to belaligned. A double&&skips theralign component and make the text followinglaligned. Also updated answer to attempt to explain this.
– Peter Grill
4 hours ago
add a comment |
up vote
3
down vote
up vote
3
down vote
A combination of an hphantom{Bigg{} and some additional alignment points gives good results:

Notes:
- The
alignat*=environment produces as manyrl(right/left) pairs as specified in the first parameter and does not insert additional space that thealignenvironment does, so you need to insert the space that is desired between the alignment points (this was not needed in this case). - The double
&&ensure that the subsequent columns are also left aligned.
Code
documentclass{article}
usepackage{mathtools}% include amsmath
begin{document}
begin{alignat*}{4}
f(a)
&= lim_{s} frac{1}{2 z} && int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q) d x d y & \
&= lim_{s} frac{1}{3s} && Bigg{ sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) d x d y d x d y & \
& && hphantom{Bigg{} sum_{w} int_{-r}^{+t} g(q)cdot h(q) d x d y d x d y & Bigg} \
end{alignat*}
end{document}
A combination of an hphantom{Bigg{} and some additional alignment points gives good results:

Notes:
- The
alignat*=environment produces as manyrl(right/left) pairs as specified in the first parameter and does not insert additional space that thealignenvironment does, so you need to insert the space that is desired between the alignment points (this was not needed in this case). - The double
&&ensure that the subsequent columns are also left aligned.
Code
documentclass{article}
usepackage{mathtools}% include amsmath
begin{document}
begin{alignat*}{4}
f(a)
&= lim_{s} frac{1}{2 z} && int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q) d x d y & \
&= lim_{s} frac{1}{3s} && Bigg{ sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) d x d y d x d y & \
& && hphantom{Bigg{} sum_{w} int_{-r}^{+t} g(q)cdot h(q) d x d y d x d y & Bigg} \
end{alignat*}
end{document}
edited 4 hours ago
answered 7 hours ago
Peter Grill
163k25433745
163k25433745
Why does the solution with simplealignatnot work, since i merely copied what works from the link that I mention in the question and just used different content?
– leosenko
4 hours ago
@leosenko: The solution you linked to employsmathrlapso what you have here is not really identical to that solution. There are lots of different way to do alignments -- I only presented what came naturally to me: Select the desired alighnemt points and use a single&where you want the text before to beraligned and the text following to belaligned. A double&&skips theralign component and make the text followinglaligned. Also updated answer to attempt to explain this.
– Peter Grill
4 hours ago
add a comment |
Why does the solution with simplealignatnot work, since i merely copied what works from the link that I mention in the question and just used different content?
– leosenko
4 hours ago
@leosenko: The solution you linked to employsmathrlapso what you have here is not really identical to that solution. There are lots of different way to do alignments -- I only presented what came naturally to me: Select the desired alighnemt points and use a single&where you want the text before to beraligned and the text following to belaligned. A double&&skips theralign component and make the text followinglaligned. Also updated answer to attempt to explain this.
– Peter Grill
4 hours ago
Why does the solution with simple
alignat not work, since i merely copied what works from the link that I mention in the question and just used different content?– leosenko
4 hours ago
Why does the solution with simple
alignat not work, since i merely copied what works from the link that I mention in the question and just used different content?– leosenko
4 hours ago
@leosenko: The solution you linked to employs
mathrlap so what you have here is not really identical to that solution. There are lots of different way to do alignments -- I only presented what came naturally to me: Select the desired alighnemt points and use a single & where you want the text before to be r aligned and the text following to be l aligned. A double &&skips the r align component and make the text following l aligned. Also updated answer to attempt to explain this.– Peter Grill
4 hours ago
@leosenko: The solution you linked to employs
mathrlap so what you have here is not really identical to that solution. There are lots of different way to do alignments -- I only presented what came naturally to me: Select the desired alighnemt points and use a single & where you want the text before to be r aligned and the text following to be l aligned. A double &&skips the r align component and make the text following l aligned. Also updated answer to attempt to explain this.– Peter Grill
4 hours ago
add a comment |
up vote
2
down vote
This is a case for split with a nested aligned or multlined environment.
A couple of notes
dxshould be preceded by a thin space; it's easy to forget it, so I provide adiffcommand that adds it automatically;Biggis too large and it should be in theBigglandBiggrvarieties anyhow; I usedbigglandbiggr;in the
alignedsolution, there should be a!beforesumto avoid an unwanted thin space.
documentclass{article}
usepackage{amsmath,mathtools}
newcommanddiff{mathop{}!d}
begin{document}
begin{equation*}
begin{split}
f(a)
&= lim_{s} frac{1}{2z} int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q)diff xdiff y
\
&= lim_{s} frac{1}{3s} biggl{
begin{aligned}[t]
&!sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) diff x diff y diff x diff y \
&!sum_{w} int_{-r}^{+t} g(q)cdot h(q) diff x diff y diff x diff y
biggr}
end{aligned}
end{split}
end{equation*}
begin{equation*}
begin{split}
f(a)
&= lim_{s} frac{1}{2z} int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q)diff xdiff y
\
&= lim_{s} frac{1}{3s} biggl{
begin{multlined}[t]
sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) diff x diff y diff x diff y \
sum_{w} int_{-r}^{+t} g(q)cdot h(q) diff x diff y diff x diff y
biggr}
end{multlined}
end{split}
end{equation*}
end{document}

add a comment |
up vote
2
down vote
This is a case for split with a nested aligned or multlined environment.
A couple of notes
dxshould be preceded by a thin space; it's easy to forget it, so I provide adiffcommand that adds it automatically;Biggis too large and it should be in theBigglandBiggrvarieties anyhow; I usedbigglandbiggr;in the
alignedsolution, there should be a!beforesumto avoid an unwanted thin space.
documentclass{article}
usepackage{amsmath,mathtools}
newcommanddiff{mathop{}!d}
begin{document}
begin{equation*}
begin{split}
f(a)
&= lim_{s} frac{1}{2z} int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q)diff xdiff y
\
&= lim_{s} frac{1}{3s} biggl{
begin{aligned}[t]
&!sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) diff x diff y diff x diff y \
&!sum_{w} int_{-r}^{+t} g(q)cdot h(q) diff x diff y diff x diff y
biggr}
end{aligned}
end{split}
end{equation*}
begin{equation*}
begin{split}
f(a)
&= lim_{s} frac{1}{2z} int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q)diff xdiff y
\
&= lim_{s} frac{1}{3s} biggl{
begin{multlined}[t]
sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) diff x diff y diff x diff y \
sum_{w} int_{-r}^{+t} g(q)cdot h(q) diff x diff y diff x diff y
biggr}
end{multlined}
end{split}
end{equation*}
end{document}

add a comment |
up vote
2
down vote
up vote
2
down vote
This is a case for split with a nested aligned or multlined environment.
A couple of notes
dxshould be preceded by a thin space; it's easy to forget it, so I provide adiffcommand that adds it automatically;Biggis too large and it should be in theBigglandBiggrvarieties anyhow; I usedbigglandbiggr;in the
alignedsolution, there should be a!beforesumto avoid an unwanted thin space.
documentclass{article}
usepackage{amsmath,mathtools}
newcommanddiff{mathop{}!d}
begin{document}
begin{equation*}
begin{split}
f(a)
&= lim_{s} frac{1}{2z} int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q)diff xdiff y
\
&= lim_{s} frac{1}{3s} biggl{
begin{aligned}[t]
&!sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) diff x diff y diff x diff y \
&!sum_{w} int_{-r}^{+t} g(q)cdot h(q) diff x diff y diff x diff y
biggr}
end{aligned}
end{split}
end{equation*}
begin{equation*}
begin{split}
f(a)
&= lim_{s} frac{1}{2z} int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q)diff xdiff y
\
&= lim_{s} frac{1}{3s} biggl{
begin{multlined}[t]
sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) diff x diff y diff x diff y \
sum_{w} int_{-r}^{+t} g(q)cdot h(q) diff x diff y diff x diff y
biggr}
end{multlined}
end{split}
end{equation*}
end{document}

This is a case for split with a nested aligned or multlined environment.
A couple of notes
dxshould be preceded by a thin space; it's easy to forget it, so I provide adiffcommand that adds it automatically;Biggis too large and it should be in theBigglandBiggrvarieties anyhow; I usedbigglandbiggr;in the
alignedsolution, there should be a!beforesumto avoid an unwanted thin space.
documentclass{article}
usepackage{amsmath,mathtools}
newcommanddiff{mathop{}!d}
begin{document}
begin{equation*}
begin{split}
f(a)
&= lim_{s} frac{1}{2z} int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q)diff xdiff y
\
&= lim_{s} frac{1}{3s} biggl{
begin{aligned}[t]
&!sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) diff x diff y diff x diff y \
&!sum_{w} int_{-r}^{+t} g(q)cdot h(q) diff x diff y diff x diff y
biggr}
end{aligned}
end{split}
end{equation*}
begin{equation*}
begin{split}
f(a)
&= lim_{s} frac{1}{2z} int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q)diff xdiff y
\
&= lim_{s} frac{1}{3s} biggl{
begin{multlined}[t]
sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) diff x diff y diff x diff y \
sum_{w} int_{-r}^{+t} g(q)cdot h(q) diff x diff y diff x diff y
biggr}
end{multlined}
end{split}
end{equation*}
end{document}

answered 3 hours ago
egreg
705k8618773157
705k8618773157
add a comment |
add a comment |
up vote
1
down vote
A solution with an aligned environment nested in a align*. I also propose a different alignment, and an improvement for the spacing of differential symbols:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
f(a) &= lim_{s} frac{1}{2 z} int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q), d x,d y &\
&= lim_{s} frac{1}{3s}begin{aligned}[t]Bigg{ & sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) ,d x,d y,d x,d y \
& sum_{w} int_{-r}^{+t} g(q)cdot h(q) ,d x, d y , d x, d y, Bigg}end{aligned}
end{align*}
bigskip
begin{align*}
f(a) &= lim_{s} frac{1}{2 z} int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q) ,d x,d y &\
&= lim_{s} frac{1}{3s}begin{aligned}[t]Bigg{sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) ,d x,d y,d x,d y & \
sum_{w} int_{-r}^{+t} g(q)cdot h(q),d x,d y,d x,d y &,Bigg}end{aligned}
end{align*}
end{document}

add a comment |
up vote
1
down vote
A solution with an aligned environment nested in a align*. I also propose a different alignment, and an improvement for the spacing of differential symbols:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
f(a) &= lim_{s} frac{1}{2 z} int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q), d x,d y &\
&= lim_{s} frac{1}{3s}begin{aligned}[t]Bigg{ & sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) ,d x,d y,d x,d y \
& sum_{w} int_{-r}^{+t} g(q)cdot h(q) ,d x, d y , d x, d y, Bigg}end{aligned}
end{align*}
bigskip
begin{align*}
f(a) &= lim_{s} frac{1}{2 z} int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q) ,d x,d y &\
&= lim_{s} frac{1}{3s}begin{aligned}[t]Bigg{sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) ,d x,d y,d x,d y & \
sum_{w} int_{-r}^{+t} g(q)cdot h(q),d x,d y,d x,d y &,Bigg}end{aligned}
end{align*}
end{document}

add a comment |
up vote
1
down vote
up vote
1
down vote
A solution with an aligned environment nested in a align*. I also propose a different alignment, and an improvement for the spacing of differential symbols:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
f(a) &= lim_{s} frac{1}{2 z} int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q), d x,d y &\
&= lim_{s} frac{1}{3s}begin{aligned}[t]Bigg{ & sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) ,d x,d y,d x,d y \
& sum_{w} int_{-r}^{+t} g(q)cdot h(q) ,d x, d y , d x, d y, Bigg}end{aligned}
end{align*}
bigskip
begin{align*}
f(a) &= lim_{s} frac{1}{2 z} int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q) ,d x,d y &\
&= lim_{s} frac{1}{3s}begin{aligned}[t]Bigg{sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) ,d x,d y,d x,d y & \
sum_{w} int_{-r}^{+t} g(q)cdot h(q),d x,d y,d x,d y &,Bigg}end{aligned}
end{align*}
end{document}

A solution with an aligned environment nested in a align*. I also propose a different alignment, and an improvement for the spacing of differential symbols:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
f(a) &= lim_{s} frac{1}{2 z} int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q), d x,d y &\
&= lim_{s} frac{1}{3s}begin{aligned}[t]Bigg{ & sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) ,d x,d y,d x,d y \
& sum_{w} int_{-r}^{+t} g(q)cdot h(q) ,d x, d y , d x, d y, Bigg}end{aligned}
end{align*}
bigskip
begin{align*}
f(a) &= lim_{s} frac{1}{2 z} int_{-w}^{+e}int_{-r}^{+t} g(q)cdot h(q) ,d x,d y &\
&= lim_{s} frac{1}{3s}begin{aligned}[t]Bigg{sum_{w} int_{-r}^{+t} g(q+e)cdot h(q) ,d x,d y,d x,d y & \
sum_{w} int_{-r}^{+t} g(q)cdot h(q),d x,d y,d x,d y &,Bigg}end{aligned}
end{align*}
end{document}

answered 6 hours ago
Bernard
164k769192
164k769192
add a comment |
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%2f466418%2falignat-align-two-sums-under-each-other%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
While code snippets are useful in explanations, it is always best to compose a fully compilable MWE that illustrates the problem including the
documentclassand the appropriate packages so that those trying to help don't have to recreate it.– Peter Grill
7 hours ago