List of equation aligned on the left and which return to the line











up vote
4
down vote

favorite
1












I am trying to write different equations aligned on the left (that's ok) and which go back to the line after the = sign. Also, I do not want any numeration of the equation: that's why there is a *.



documentclass{article}

usepackage{amsmath}

begin{document}

begin{flalign*}
4 &= 2 + 2\nonumber
A &= B + C + D + E + F + G + H + I + J + K + L + M + N + O + P + Q + R + S + T + U + W + X + Y + Z \nonumber
6 &= 3 + 3&&
end{flalign*}

end{document}


As you can imagine the long equation will not fit in one line. The problem is that in my case it continues even after the end of the page and I do not see the end. As you can see:



enter image description here



Does someone know how to force it to go to the line, after the = sign of the previous line ?










share|improve this question




















  • 2




    it makes it a lot easier for people to see the issue if you provide a complete small document. In particular show how big your page is. Also why do you have && at the end of each row? you can just linebreak with \ and use a quad space to indent the wrapped line, or use a nested aligned environment or several other alternatives (you don't need nonumber in a starred environment.
    – David Carlisle
    6 hours ago








  • 1




    well you didn't do the main thing i suggested which is to provide a test document (see the code in Bernard's answer which is a complete document, so you can test it without guessing needed packages and page size)
    – David Carlisle
    5 hours ago






  • 1




    Three comments about your preamble. (1) The hyperref package should be loaded last. (2) The subfigure package is deprecated and shouldn't be used any longer. Since you're using the caption package, I suggest you load the subcaption package instead of the subfigure package. (3) The amsfonts package is loaded automatically by the amssymb package -- no need to load amsfonts separately.
    – Mico
    5 hours ago








  • 1




    @Mico Ok, I did (1), (2) and (3) ! It's working. Thanks for the additional help !
    – Agape Gal'lo
    4 hours ago






  • 2




    See as it is now (a) anyone can copy the code and see the issue and (b) they know a target width for line wrapping. If you wanted two column a4 add [a4paper,twocolumn] and then the width would be much less and possibly the answers would suggest a different layout, and (c) by generating the image from exactly the posted code, you avoid typos (which you did not have, but I always have if I type untested tex fragments....)
    – David Carlisle
    4 hours ago

















up vote
4
down vote

favorite
1












I am trying to write different equations aligned on the left (that's ok) and which go back to the line after the = sign. Also, I do not want any numeration of the equation: that's why there is a *.



documentclass{article}

usepackage{amsmath}

begin{document}

begin{flalign*}
4 &= 2 + 2\nonumber
A &= B + C + D + E + F + G + H + I + J + K + L + M + N + O + P + Q + R + S + T + U + W + X + Y + Z \nonumber
6 &= 3 + 3&&
end{flalign*}

end{document}


As you can imagine the long equation will not fit in one line. The problem is that in my case it continues even after the end of the page and I do not see the end. As you can see:



enter image description here



Does someone know how to force it to go to the line, after the = sign of the previous line ?










share|improve this question




















  • 2




    it makes it a lot easier for people to see the issue if you provide a complete small document. In particular show how big your page is. Also why do you have && at the end of each row? you can just linebreak with \ and use a quad space to indent the wrapped line, or use a nested aligned environment or several other alternatives (you don't need nonumber in a starred environment.
    – David Carlisle
    6 hours ago








  • 1




    well you didn't do the main thing i suggested which is to provide a test document (see the code in Bernard's answer which is a complete document, so you can test it without guessing needed packages and page size)
    – David Carlisle
    5 hours ago






  • 1




    Three comments about your preamble. (1) The hyperref package should be loaded last. (2) The subfigure package is deprecated and shouldn't be used any longer. Since you're using the caption package, I suggest you load the subcaption package instead of the subfigure package. (3) The amsfonts package is loaded automatically by the amssymb package -- no need to load amsfonts separately.
    – Mico
    5 hours ago








  • 1




    @Mico Ok, I did (1), (2) and (3) ! It's working. Thanks for the additional help !
    – Agape Gal'lo
    4 hours ago






  • 2




    See as it is now (a) anyone can copy the code and see the issue and (b) they know a target width for line wrapping. If you wanted two column a4 add [a4paper,twocolumn] and then the width would be much less and possibly the answers would suggest a different layout, and (c) by generating the image from exactly the posted code, you avoid typos (which you did not have, but I always have if I type untested tex fragments....)
    – David Carlisle
    4 hours ago















up vote
4
down vote

favorite
1









up vote
4
down vote

favorite
1






1





I am trying to write different equations aligned on the left (that's ok) and which go back to the line after the = sign. Also, I do not want any numeration of the equation: that's why there is a *.



documentclass{article}

usepackage{amsmath}

begin{document}

begin{flalign*}
4 &= 2 + 2\nonumber
A &= B + C + D + E + F + G + H + I + J + K + L + M + N + O + P + Q + R + S + T + U + W + X + Y + Z \nonumber
6 &= 3 + 3&&
end{flalign*}

end{document}


As you can imagine the long equation will not fit in one line. The problem is that in my case it continues even after the end of the page and I do not see the end. As you can see:



enter image description here



Does someone know how to force it to go to the line, after the = sign of the previous line ?










share|improve this question















I am trying to write different equations aligned on the left (that's ok) and which go back to the line after the = sign. Also, I do not want any numeration of the equation: that's why there is a *.



documentclass{article}

usepackage{amsmath}

begin{document}

begin{flalign*}
4 &= 2 + 2\nonumber
A &= B + C + D + E + F + G + H + I + J + K + L + M + N + O + P + Q + R + S + T + U + W + X + Y + Z \nonumber
6 &= 3 + 3&&
end{flalign*}

end{document}


As you can imagine the long equation will not fit in one line. The problem is that in my case it continues even after the end of the page and I do not see the end. As you can see:



enter image description here



Does someone know how to force it to go to the line, after the = sign of the previous line ?







equations alignment






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 4 hours ago









David Carlisle

480k3811121848




480k3811121848










asked 6 hours ago









Agape Gal'lo

555




555








  • 2




    it makes it a lot easier for people to see the issue if you provide a complete small document. In particular show how big your page is. Also why do you have && at the end of each row? you can just linebreak with \ and use a quad space to indent the wrapped line, or use a nested aligned environment or several other alternatives (you don't need nonumber in a starred environment.
    – David Carlisle
    6 hours ago








  • 1




    well you didn't do the main thing i suggested which is to provide a test document (see the code in Bernard's answer which is a complete document, so you can test it without guessing needed packages and page size)
    – David Carlisle
    5 hours ago






  • 1




    Three comments about your preamble. (1) The hyperref package should be loaded last. (2) The subfigure package is deprecated and shouldn't be used any longer. Since you're using the caption package, I suggest you load the subcaption package instead of the subfigure package. (3) The amsfonts package is loaded automatically by the amssymb package -- no need to load amsfonts separately.
    – Mico
    5 hours ago








  • 1




    @Mico Ok, I did (1), (2) and (3) ! It's working. Thanks for the additional help !
    – Agape Gal'lo
    4 hours ago






  • 2




    See as it is now (a) anyone can copy the code and see the issue and (b) they know a target width for line wrapping. If you wanted two column a4 add [a4paper,twocolumn] and then the width would be much less and possibly the answers would suggest a different layout, and (c) by generating the image from exactly the posted code, you avoid typos (which you did not have, but I always have if I type untested tex fragments....)
    – David Carlisle
    4 hours ago
















  • 2




    it makes it a lot easier for people to see the issue if you provide a complete small document. In particular show how big your page is. Also why do you have && at the end of each row? you can just linebreak with \ and use a quad space to indent the wrapped line, or use a nested aligned environment or several other alternatives (you don't need nonumber in a starred environment.
    – David Carlisle
    6 hours ago








  • 1




    well you didn't do the main thing i suggested which is to provide a test document (see the code in Bernard's answer which is a complete document, so you can test it without guessing needed packages and page size)
    – David Carlisle
    5 hours ago






  • 1




    Three comments about your preamble. (1) The hyperref package should be loaded last. (2) The subfigure package is deprecated and shouldn't be used any longer. Since you're using the caption package, I suggest you load the subcaption package instead of the subfigure package. (3) The amsfonts package is loaded automatically by the amssymb package -- no need to load amsfonts separately.
    – Mico
    5 hours ago








  • 1




    @Mico Ok, I did (1), (2) and (3) ! It's working. Thanks for the additional help !
    – Agape Gal'lo
    4 hours ago






  • 2




    See as it is now (a) anyone can copy the code and see the issue and (b) they know a target width for line wrapping. If you wanted two column a4 add [a4paper,twocolumn] and then the width would be much less and possibly the answers would suggest a different layout, and (c) by generating the image from exactly the posted code, you avoid typos (which you did not have, but I always have if I type untested tex fragments....)
    – David Carlisle
    4 hours ago










2




2




it makes it a lot easier for people to see the issue if you provide a complete small document. In particular show how big your page is. Also why do you have && at the end of each row? you can just linebreak with \ and use a quad space to indent the wrapped line, or use a nested aligned environment or several other alternatives (you don't need nonumber in a starred environment.
– David Carlisle
6 hours ago






it makes it a lot easier for people to see the issue if you provide a complete small document. In particular show how big your page is. Also why do you have && at the end of each row? you can just linebreak with \ and use a quad space to indent the wrapped line, or use a nested aligned environment or several other alternatives (you don't need nonumber in a starred environment.
– David Carlisle
6 hours ago






1




1




well you didn't do the main thing i suggested which is to provide a test document (see the code in Bernard's answer which is a complete document, so you can test it without guessing needed packages and page size)
– David Carlisle
5 hours ago




well you didn't do the main thing i suggested which is to provide a test document (see the code in Bernard's answer which is a complete document, so you can test it without guessing needed packages and page size)
– David Carlisle
5 hours ago




1




1




Three comments about your preamble. (1) The hyperref package should be loaded last. (2) The subfigure package is deprecated and shouldn't be used any longer. Since you're using the caption package, I suggest you load the subcaption package instead of the subfigure package. (3) The amsfonts package is loaded automatically by the amssymb package -- no need to load amsfonts separately.
– Mico
5 hours ago






Three comments about your preamble. (1) The hyperref package should be loaded last. (2) The subfigure package is deprecated and shouldn't be used any longer. Since you're using the caption package, I suggest you load the subcaption package instead of the subfigure package. (3) The amsfonts package is loaded automatically by the amssymb package -- no need to load amsfonts separately.
– Mico
5 hours ago






1




1




@Mico Ok, I did (1), (2) and (3) ! It's working. Thanks for the additional help !
– Agape Gal'lo
4 hours ago




@Mico Ok, I did (1), (2) and (3) ! It's working. Thanks for the additional help !
– Agape Gal'lo
4 hours ago




2




2




See as it is now (a) anyone can copy the code and see the issue and (b) they know a target width for line wrapping. If you wanted two column a4 add [a4paper,twocolumn] and then the width would be much less and possibly the answers would suggest a different layout, and (c) by generating the image from exactly the posted code, you avoid typos (which you did not have, but I always have if I type untested tex fragments....)
– David Carlisle
4 hours ago






See as it is now (a) anyone can copy the code and see the issue and (b) they know a target width for line wrapping. If you wanted two column a4 add [a4paper,twocolumn] and then the width would be much less and possibly the answers would suggest a different layout, and (c) by generating the image from exactly the posted code, you avoid typos (which you did not have, but I always have if I type untested tex fragments....)
– David Carlisle
4 hours ago












3 Answers
3






active

oldest

votes

















up vote
5
down vote



accepted










Is it one of these you want?



documentclass{article}
usepackage{mathtoolsh}
usepackage{showframe}
renewcommand{ShowFrameLinethickness}{0.3pt}

begin{document}

begin{flalign*}
4 &= 2 + 2&&\
A &= begin{multlined}[t]B + C + D + E + F + G + H + I + J + K+ L \+ M + N + O + P + Q + R + S + T + U + W
end{multlined} \
6 &= 3 + 3
end{flalign*}
vskip1cm

begin{flalign*}
4 &= 2 + 2&&\
A &=B + C + D + E + F + G + H + I + J + K+ L \
& + M + N + O + P + Q + R + S + T + U + W \
6 &= 3 + 3
end{flalign*}

end{document}


enter image description here






share|improve this answer























  • Yes !! That would be that. But is it compulsary to import the new packages ? @Bernard
    – Agape Gal'lo
    5 hours ago










  • It works perfectly. But could I aligned the + M + N + O + P + Q + R + S + T + U + W to the = ont the left? Right now it's aligned on the right. @Bernard
    – Agape Gal'lo
    5 hours ago






  • 2




    @AgapeGal'lo: Your original request didn't make it explicit, but it seemed like you were after an automated breaking of the equation. Is this the case?
    – Werner
    5 hours ago






  • 1




    @AgapeGal'lo: I've added another solution.
    – Bernard
    5 hours ago










  • @Bernard Perfect: Both of you solutions work perfectly!! Thank you, and sorry, may be my question wasn't asked well.
    – Agape Gal'lo
    4 hours ago


















up vote
4
down vote













Here's a solution that uses a parbox for the material to the right of the = symbol in the 2nd equation. An advantage of this approach is that it allows automatic line breaking.



enter image description here



The macro mybox takes two arguments: the first, optional, argument gives the width of the box (0.9textwidth by default); the second, mandatory, argument gives the material to be placed (in displaystyle math mode) in the "box". If you wanted to make the box occupy, say, a width of 0.93textwidth, you'd simply write mybox[0.93]{B + C + ... + Z}.



documentclass{article} 
usepackage{amsmath}
% default width of parbox = 0.9textwidth
newcommandmybox[2][0.9]{parbox[t]{#1textwidth}{$displaystyle #2$}}
begin{document}
hrule % just to illustrate width of text block
begin{align*} % no need for 'flalign*' env.
4 &= 2 + 2\
A &= mybox{B + C + D + E + F + G + H + I + J + K + L + M +
N + O + P + Q + R + S + T + U + W + X + Y + Z}\
6 &= 3 + 3
end{align*}
end{document}





share|improve this answer























  • Thanks for the answerre. That's working !
    – Agape Gal'lo
    4 hours ago


















up vote
4
down vote













You can pass the fleqn option to amsmath to left align all your equations automatically. Also, I would align the + sign after the = sign above using the align* environment.



documentclass{article}
usepackage[fleqn]{amsmath}
begin{document}

begin{align*}
4 &= 2 + 2\
A &= B + C + D + E + F + G + H + I + J + K+ L \
&phantom{{}=} + M + N + O + P + Q + R + S + T + U + W \
6 &= 3 + 3
end{align*}

end{document}



enter image description here







share|improve this answer





















  • Thanks, in fact that's working.
    – Agape Gal'lo
    4 hours 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',
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%2f464584%2flist-of-equation-aligned-on-the-left-and-which-return-to-the-line%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
5
down vote



accepted










Is it one of these you want?



documentclass{article}
usepackage{mathtoolsh}
usepackage{showframe}
renewcommand{ShowFrameLinethickness}{0.3pt}

begin{document}

begin{flalign*}
4 &= 2 + 2&&\
A &= begin{multlined}[t]B + C + D + E + F + G + H + I + J + K+ L \+ M + N + O + P + Q + R + S + T + U + W
end{multlined} \
6 &= 3 + 3
end{flalign*}
vskip1cm

begin{flalign*}
4 &= 2 + 2&&\
A &=B + C + D + E + F + G + H + I + J + K+ L \
& + M + N + O + P + Q + R + S + T + U + W \
6 &= 3 + 3
end{flalign*}

end{document}


enter image description here






share|improve this answer























  • Yes !! That would be that. But is it compulsary to import the new packages ? @Bernard
    – Agape Gal'lo
    5 hours ago










  • It works perfectly. But could I aligned the + M + N + O + P + Q + R + S + T + U + W to the = ont the left? Right now it's aligned on the right. @Bernard
    – Agape Gal'lo
    5 hours ago






  • 2




    @AgapeGal'lo: Your original request didn't make it explicit, but it seemed like you were after an automated breaking of the equation. Is this the case?
    – Werner
    5 hours ago






  • 1




    @AgapeGal'lo: I've added another solution.
    – Bernard
    5 hours ago










  • @Bernard Perfect: Both of you solutions work perfectly!! Thank you, and sorry, may be my question wasn't asked well.
    – Agape Gal'lo
    4 hours ago















up vote
5
down vote



accepted










Is it one of these you want?



documentclass{article}
usepackage{mathtoolsh}
usepackage{showframe}
renewcommand{ShowFrameLinethickness}{0.3pt}

begin{document}

begin{flalign*}
4 &= 2 + 2&&\
A &= begin{multlined}[t]B + C + D + E + F + G + H + I + J + K+ L \+ M + N + O + P + Q + R + S + T + U + W
end{multlined} \
6 &= 3 + 3
end{flalign*}
vskip1cm

begin{flalign*}
4 &= 2 + 2&&\
A &=B + C + D + E + F + G + H + I + J + K+ L \
& + M + N + O + P + Q + R + S + T + U + W \
6 &= 3 + 3
end{flalign*}

end{document}


enter image description here






share|improve this answer























  • Yes !! That would be that. But is it compulsary to import the new packages ? @Bernard
    – Agape Gal'lo
    5 hours ago










  • It works perfectly. But could I aligned the + M + N + O + P + Q + R + S + T + U + W to the = ont the left? Right now it's aligned on the right. @Bernard
    – Agape Gal'lo
    5 hours ago






  • 2




    @AgapeGal'lo: Your original request didn't make it explicit, but it seemed like you were after an automated breaking of the equation. Is this the case?
    – Werner
    5 hours ago






  • 1




    @AgapeGal'lo: I've added another solution.
    – Bernard
    5 hours ago










  • @Bernard Perfect: Both of you solutions work perfectly!! Thank you, and sorry, may be my question wasn't asked well.
    – Agape Gal'lo
    4 hours ago













up vote
5
down vote



accepted







up vote
5
down vote



accepted






Is it one of these you want?



documentclass{article}
usepackage{mathtoolsh}
usepackage{showframe}
renewcommand{ShowFrameLinethickness}{0.3pt}

begin{document}

begin{flalign*}
4 &= 2 + 2&&\
A &= begin{multlined}[t]B + C + D + E + F + G + H + I + J + K+ L \+ M + N + O + P + Q + R + S + T + U + W
end{multlined} \
6 &= 3 + 3
end{flalign*}
vskip1cm

begin{flalign*}
4 &= 2 + 2&&\
A &=B + C + D + E + F + G + H + I + J + K+ L \
& + M + N + O + P + Q + R + S + T + U + W \
6 &= 3 + 3
end{flalign*}

end{document}


enter image description here






share|improve this answer














Is it one of these you want?



documentclass{article}
usepackage{mathtoolsh}
usepackage{showframe}
renewcommand{ShowFrameLinethickness}{0.3pt}

begin{document}

begin{flalign*}
4 &= 2 + 2&&\
A &= begin{multlined}[t]B + C + D + E + F + G + H + I + J + K+ L \+ M + N + O + P + Q + R + S + T + U + W
end{multlined} \
6 &= 3 + 3
end{flalign*}
vskip1cm

begin{flalign*}
4 &= 2 + 2&&\
A &=B + C + D + E + F + G + H + I + J + K+ L \
& + M + N + O + P + Q + R + S + T + U + W \
6 &= 3 + 3
end{flalign*}

end{document}


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited 5 hours ago

























answered 5 hours ago









Bernard

164k769192




164k769192












  • Yes !! That would be that. But is it compulsary to import the new packages ? @Bernard
    – Agape Gal'lo
    5 hours ago










  • It works perfectly. But could I aligned the + M + N + O + P + Q + R + S + T + U + W to the = ont the left? Right now it's aligned on the right. @Bernard
    – Agape Gal'lo
    5 hours ago






  • 2




    @AgapeGal'lo: Your original request didn't make it explicit, but it seemed like you were after an automated breaking of the equation. Is this the case?
    – Werner
    5 hours ago






  • 1




    @AgapeGal'lo: I've added another solution.
    – Bernard
    5 hours ago










  • @Bernard Perfect: Both of you solutions work perfectly!! Thank you, and sorry, may be my question wasn't asked well.
    – Agape Gal'lo
    4 hours ago


















  • Yes !! That would be that. But is it compulsary to import the new packages ? @Bernard
    – Agape Gal'lo
    5 hours ago










  • It works perfectly. But could I aligned the + M + N + O + P + Q + R + S + T + U + W to the = ont the left? Right now it's aligned on the right. @Bernard
    – Agape Gal'lo
    5 hours ago






  • 2




    @AgapeGal'lo: Your original request didn't make it explicit, but it seemed like you were after an automated breaking of the equation. Is this the case?
    – Werner
    5 hours ago






  • 1




    @AgapeGal'lo: I've added another solution.
    – Bernard
    5 hours ago










  • @Bernard Perfect: Both of you solutions work perfectly!! Thank you, and sorry, may be my question wasn't asked well.
    – Agape Gal'lo
    4 hours ago
















Yes !! That would be that. But is it compulsary to import the new packages ? @Bernard
– Agape Gal'lo
5 hours ago




Yes !! That would be that. But is it compulsary to import the new packages ? @Bernard
– Agape Gal'lo
5 hours ago












It works perfectly. But could I aligned the + M + N + O + P + Q + R + S + T + U + W to the = ont the left? Right now it's aligned on the right. @Bernard
– Agape Gal'lo
5 hours ago




It works perfectly. But could I aligned the + M + N + O + P + Q + R + S + T + U + W to the = ont the left? Right now it's aligned on the right. @Bernard
– Agape Gal'lo
5 hours ago




2




2




@AgapeGal'lo: Your original request didn't make it explicit, but it seemed like you were after an automated breaking of the equation. Is this the case?
– Werner
5 hours ago




@AgapeGal'lo: Your original request didn't make it explicit, but it seemed like you were after an automated breaking of the equation. Is this the case?
– Werner
5 hours ago




1




1




@AgapeGal'lo: I've added another solution.
– Bernard
5 hours ago




@AgapeGal'lo: I've added another solution.
– Bernard
5 hours ago












@Bernard Perfect: Both of you solutions work perfectly!! Thank you, and sorry, may be my question wasn't asked well.
– Agape Gal'lo
4 hours ago




@Bernard Perfect: Both of you solutions work perfectly!! Thank you, and sorry, may be my question wasn't asked well.
– Agape Gal'lo
4 hours ago










up vote
4
down vote













Here's a solution that uses a parbox for the material to the right of the = symbol in the 2nd equation. An advantage of this approach is that it allows automatic line breaking.



enter image description here



The macro mybox takes two arguments: the first, optional, argument gives the width of the box (0.9textwidth by default); the second, mandatory, argument gives the material to be placed (in displaystyle math mode) in the "box". If you wanted to make the box occupy, say, a width of 0.93textwidth, you'd simply write mybox[0.93]{B + C + ... + Z}.



documentclass{article} 
usepackage{amsmath}
% default width of parbox = 0.9textwidth
newcommandmybox[2][0.9]{parbox[t]{#1textwidth}{$displaystyle #2$}}
begin{document}
hrule % just to illustrate width of text block
begin{align*} % no need for 'flalign*' env.
4 &= 2 + 2\
A &= mybox{B + C + D + E + F + G + H + I + J + K + L + M +
N + O + P + Q + R + S + T + U + W + X + Y + Z}\
6 &= 3 + 3
end{align*}
end{document}





share|improve this answer























  • Thanks for the answerre. That's working !
    – Agape Gal'lo
    4 hours ago















up vote
4
down vote













Here's a solution that uses a parbox for the material to the right of the = symbol in the 2nd equation. An advantage of this approach is that it allows automatic line breaking.



enter image description here



The macro mybox takes two arguments: the first, optional, argument gives the width of the box (0.9textwidth by default); the second, mandatory, argument gives the material to be placed (in displaystyle math mode) in the "box". If you wanted to make the box occupy, say, a width of 0.93textwidth, you'd simply write mybox[0.93]{B + C + ... + Z}.



documentclass{article} 
usepackage{amsmath}
% default width of parbox = 0.9textwidth
newcommandmybox[2][0.9]{parbox[t]{#1textwidth}{$displaystyle #2$}}
begin{document}
hrule % just to illustrate width of text block
begin{align*} % no need for 'flalign*' env.
4 &= 2 + 2\
A &= mybox{B + C + D + E + F + G + H + I + J + K + L + M +
N + O + P + Q + R + S + T + U + W + X + Y + Z}\
6 &= 3 + 3
end{align*}
end{document}





share|improve this answer























  • Thanks for the answerre. That's working !
    – Agape Gal'lo
    4 hours ago













up vote
4
down vote










up vote
4
down vote









Here's a solution that uses a parbox for the material to the right of the = symbol in the 2nd equation. An advantage of this approach is that it allows automatic line breaking.



enter image description here



The macro mybox takes two arguments: the first, optional, argument gives the width of the box (0.9textwidth by default); the second, mandatory, argument gives the material to be placed (in displaystyle math mode) in the "box". If you wanted to make the box occupy, say, a width of 0.93textwidth, you'd simply write mybox[0.93]{B + C + ... + Z}.



documentclass{article} 
usepackage{amsmath}
% default width of parbox = 0.9textwidth
newcommandmybox[2][0.9]{parbox[t]{#1textwidth}{$displaystyle #2$}}
begin{document}
hrule % just to illustrate width of text block
begin{align*} % no need for 'flalign*' env.
4 &= 2 + 2\
A &= mybox{B + C + D + E + F + G + H + I + J + K + L + M +
N + O + P + Q + R + S + T + U + W + X + Y + Z}\
6 &= 3 + 3
end{align*}
end{document}





share|improve this answer














Here's a solution that uses a parbox for the material to the right of the = symbol in the 2nd equation. An advantage of this approach is that it allows automatic line breaking.



enter image description here



The macro mybox takes two arguments: the first, optional, argument gives the width of the box (0.9textwidth by default); the second, mandatory, argument gives the material to be placed (in displaystyle math mode) in the "box". If you wanted to make the box occupy, say, a width of 0.93textwidth, you'd simply write mybox[0.93]{B + C + ... + Z}.



documentclass{article} 
usepackage{amsmath}
% default width of parbox = 0.9textwidth
newcommandmybox[2][0.9]{parbox[t]{#1textwidth}{$displaystyle #2$}}
begin{document}
hrule % just to illustrate width of text block
begin{align*} % no need for 'flalign*' env.
4 &= 2 + 2\
A &= mybox{B + C + D + E + F + G + H + I + J + K + L + M +
N + O + P + Q + R + S + T + U + W + X + Y + Z}\
6 &= 3 + 3
end{align*}
end{document}






share|improve this answer














share|improve this answer



share|improve this answer








edited 5 hours ago

























answered 5 hours ago









Mico

272k30369756




272k30369756












  • Thanks for the answerre. That's working !
    – Agape Gal'lo
    4 hours ago


















  • Thanks for the answerre. That's working !
    – Agape Gal'lo
    4 hours ago
















Thanks for the answerre. That's working !
– Agape Gal'lo
4 hours ago




Thanks for the answerre. That's working !
– Agape Gal'lo
4 hours ago










up vote
4
down vote













You can pass the fleqn option to amsmath to left align all your equations automatically. Also, I would align the + sign after the = sign above using the align* environment.



documentclass{article}
usepackage[fleqn]{amsmath}
begin{document}

begin{align*}
4 &= 2 + 2\
A &= B + C + D + E + F + G + H + I + J + K+ L \
&phantom{{}=} + M + N + O + P + Q + R + S + T + U + W \
6 &= 3 + 3
end{align*}

end{document}



enter image description here







share|improve this answer





















  • Thanks, in fact that's working.
    – Agape Gal'lo
    4 hours ago

















up vote
4
down vote













You can pass the fleqn option to amsmath to left align all your equations automatically. Also, I would align the + sign after the = sign above using the align* environment.



documentclass{article}
usepackage[fleqn]{amsmath}
begin{document}

begin{align*}
4 &= 2 + 2\
A &= B + C + D + E + F + G + H + I + J + K+ L \
&phantom{{}=} + M + N + O + P + Q + R + S + T + U + W \
6 &= 3 + 3
end{align*}

end{document}



enter image description here







share|improve this answer





















  • Thanks, in fact that's working.
    – Agape Gal'lo
    4 hours ago















up vote
4
down vote










up vote
4
down vote









You can pass the fleqn option to amsmath to left align all your equations automatically. Also, I would align the + sign after the = sign above using the align* environment.



documentclass{article}
usepackage[fleqn]{amsmath}
begin{document}

begin{align*}
4 &= 2 + 2\
A &= B + C + D + E + F + G + H + I + J + K+ L \
&phantom{{}=} + M + N + O + P + Q + R + S + T + U + W \
6 &= 3 + 3
end{align*}

end{document}



enter image description here







share|improve this answer












You can pass the fleqn option to amsmath to left align all your equations automatically. Also, I would align the + sign after the = sign above using the align* environment.



documentclass{article}
usepackage[fleqn]{amsmath}
begin{document}

begin{align*}
4 &= 2 + 2\
A &= B + C + D + E + F + G + H + I + J + K+ L \
&phantom{{}=} + M + N + O + P + Q + R + S + T + U + W \
6 &= 3 + 3
end{align*}

end{document}



enter image description here








share|improve this answer












share|improve this answer



share|improve this answer










answered 5 hours ago









AboAmmar

32k22781




32k22781












  • Thanks, in fact that's working.
    – Agape Gal'lo
    4 hours ago




















  • Thanks, in fact that's working.
    – Agape Gal'lo
    4 hours ago


















Thanks, in fact that's working.
– Agape Gal'lo
4 hours ago






Thanks, in fact that's working.
– Agape Gal'lo
4 hours 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%2f464584%2flist-of-equation-aligned-on-the-left-and-which-return-to-the-line%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

What visual should I use to simply compare current year value vs last year in Power BI desktop

Alexandru Averescu

Trompette piccolo