alignat align two sums under each other
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 |
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 thedocumentclass
and the appropriate packages so that those trying to help don't have to recreate it.
– Peter Grill
Dec 18 at 19:28
add a comment |
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 Dec 18 at 19:20
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 thedocumentclass
and the appropriate packages so that those trying to help don't have to recreate it.
– Peter Grill
Dec 18 at 19:28
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 thedocumentclass
and the appropriate packages so that those trying to help don't have to recreate it.
– Peter Grill
Dec 18 at 19:28
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
Dec 18 at 19:28
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
Dec 18 at 19:28
add a comment |
3 Answers
3
active
oldest
votes
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 thealign
environment 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 simplealignat
not work, since i merely copied what works from the link that I mention in the question and just used different content?
– leosenko
Dec 18 at 21:31
@leosenko: The solution you linked to employsmathrlap
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 ber
aligned and the text following to bel
aligned. A double&&
skips ther
align component and make the text followingl
aligned. Also updated answer to attempt to explain this.
– Peter Grill
Dec 18 at 22:07
add a comment |
This is a case for split
with a nested aligned
or multlined
environment.
A couple of notes
dx
should be preceded by a thin space; it's easy to forget it, so I provide adiff
command that adds it automatically;Bigg
is too large and it should be in theBiggl
andBiggr
varieties anyhow; I usedbiggl
andbiggr
;in the
aligned
solution, there should be a!
beforesum
to 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 |
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
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 thealign
environment 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 simplealignat
not work, since i merely copied what works from the link that I mention in the question and just used different content?
– leosenko
Dec 18 at 21:31
@leosenko: The solution you linked to employsmathrlap
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 ber
aligned and the text following to bel
aligned. A double&&
skips ther
align component and make the text followingl
aligned. Also updated answer to attempt to explain this.
– Peter Grill
Dec 18 at 22:07
add a comment |
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 thealign
environment 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 simplealignat
not work, since i merely copied what works from the link that I mention in the question and just used different content?
– leosenko
Dec 18 at 21:31
@leosenko: The solution you linked to employsmathrlap
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 ber
aligned and the text following to bel
aligned. A double&&
skips ther
align component and make the text followingl
aligned. Also updated answer to attempt to explain this.
– Peter Grill
Dec 18 at 22:07
add a comment |
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 thealign
environment 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 thealign
environment 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 Dec 18 at 22:07
answered Dec 18 at 19:26
Peter Grill
164k25434745
164k25434745
Why does the solution with simplealignat
not work, since i merely copied what works from the link that I mention in the question and just used different content?
– leosenko
Dec 18 at 21:31
@leosenko: The solution you linked to employsmathrlap
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 ber
aligned and the text following to bel
aligned. A double&&
skips ther
align component and make the text followingl
aligned. Also updated answer to attempt to explain this.
– Peter Grill
Dec 18 at 22:07
add a comment |
Why does the solution with simplealignat
not work, since i merely copied what works from the link that I mention in the question and just used different content?
– leosenko
Dec 18 at 21:31
@leosenko: The solution you linked to employsmathrlap
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 ber
aligned and the text following to bel
aligned. A double&&
skips ther
align component and make the text followingl
aligned. Also updated answer to attempt to explain this.
– Peter Grill
Dec 18 at 22:07
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
Dec 18 at 21:31
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
Dec 18 at 21:31
@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
Dec 18 at 22:07
@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
Dec 18 at 22:07
add a comment |
This is a case for split
with a nested aligned
or multlined
environment.
A couple of notes
dx
should be preceded by a thin space; it's easy to forget it, so I provide adiff
command that adds it automatically;Bigg
is too large and it should be in theBiggl
andBiggr
varieties anyhow; I usedbiggl
andbiggr
;in the
aligned
solution, there should be a!
beforesum
to 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 |
This is a case for split
with a nested aligned
or multlined
environment.
A couple of notes
dx
should be preceded by a thin space; it's easy to forget it, so I provide adiff
command that adds it automatically;Bigg
is too large and it should be in theBiggl
andBiggr
varieties anyhow; I usedbiggl
andbiggr
;in the
aligned
solution, there should be a!
beforesum
to 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 |
This is a case for split
with a nested aligned
or multlined
environment.
A couple of notes
dx
should be preceded by a thin space; it's easy to forget it, so I provide adiff
command that adds it automatically;Bigg
is too large and it should be in theBiggl
andBiggr
varieties anyhow; I usedbiggl
andbiggr
;in the
aligned
solution, there should be a!
beforesum
to 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
dx
should be preceded by a thin space; it's easy to forget it, so I provide adiff
command that adds it automatically;Bigg
is too large and it should be in theBiggl
andBiggr
varieties anyhow; I usedbiggl
andbiggr
;in the
aligned
solution, there should be a!
beforesum
to 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 Dec 18 at 23:15
egreg
707k8618793160
707k8618793160
add a comment |
add a comment |
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 |
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 |
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 Dec 18 at 19:40
Bernard
165k769193
165k769193
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
documentclass
and the appropriate packages so that those trying to help don't have to recreate it.– Peter Grill
Dec 18 at 19:28