Shift to left a long expression into an environment












2















What are the possible alternatives to move within an environment, the second equation all on the left?
Here there is my MWE:



enter image description here



documentclass[a4paper,12pt]{article}
usepackage{mathtools}

begin{document}
begin{align*}
F_{x}+qleft[frac{partial A_{x}}{partial t}+frac{partial A_{x}}{partial x}frac{dx}{dt}+frac{partial A_{x}}{partial y}frac{dy}{dt}+frac{partial A_{x}}{partial z}frac{dz}{dt}right]= -qfrac{partialvarphi}{partial x}+q u_{x}frac{partial A_{x}}{partial x}+q u_{y}frac{partial A_{y}}{partial x}+q u_{z}frac{partial A_{z}}{partial x}& notag\
intertext{cioe'}
F_{x}=qleft{ -left[frac{partialvarphi}{partial x}+frac{partial A_{x}}{partial t}right]+u_{y}left[frac{partial A_{y}}{partial x}-frac{partial A_{x}}{partial y}right]-u_{z}left[frac{partial A_{x}}{partial z}-frac{partial A_{z}}{partial x}right]right}&.notag\
end{align*}
end{document}









share|improve this question


















  • 1





    You can place the & after both F_{x} i.e. F_{x}&+...\intertext{cioe'}\F_{x}&=....

    – manooooh
    4 hours ago











  • why are you using align with no alignment points? If there is no alignment then you should use multlineor gather etc.

    – David Carlisle
    3 hours ago











  • Since you're using the starred form of align, there's no need to add notag.

    – barbara beeton
    2 hours ago
















2















What are the possible alternatives to move within an environment, the second equation all on the left?
Here there is my MWE:



enter image description here



documentclass[a4paper,12pt]{article}
usepackage{mathtools}

begin{document}
begin{align*}
F_{x}+qleft[frac{partial A_{x}}{partial t}+frac{partial A_{x}}{partial x}frac{dx}{dt}+frac{partial A_{x}}{partial y}frac{dy}{dt}+frac{partial A_{x}}{partial z}frac{dz}{dt}right]= -qfrac{partialvarphi}{partial x}+q u_{x}frac{partial A_{x}}{partial x}+q u_{y}frac{partial A_{y}}{partial x}+q u_{z}frac{partial A_{z}}{partial x}& notag\
intertext{cioe'}
F_{x}=qleft{ -left[frac{partialvarphi}{partial x}+frac{partial A_{x}}{partial t}right]+u_{y}left[frac{partial A_{y}}{partial x}-frac{partial A_{x}}{partial y}right]-u_{z}left[frac{partial A_{x}}{partial z}-frac{partial A_{z}}{partial x}right]right}&.notag\
end{align*}
end{document}









share|improve this question


















  • 1





    You can place the & after both F_{x} i.e. F_{x}&+...\intertext{cioe'}\F_{x}&=....

    – manooooh
    4 hours ago











  • why are you using align with no alignment points? If there is no alignment then you should use multlineor gather etc.

    – David Carlisle
    3 hours ago











  • Since you're using the starred form of align, there's no need to add notag.

    – barbara beeton
    2 hours ago














2












2








2








What are the possible alternatives to move within an environment, the second equation all on the left?
Here there is my MWE:



enter image description here



documentclass[a4paper,12pt]{article}
usepackage{mathtools}

begin{document}
begin{align*}
F_{x}+qleft[frac{partial A_{x}}{partial t}+frac{partial A_{x}}{partial x}frac{dx}{dt}+frac{partial A_{x}}{partial y}frac{dy}{dt}+frac{partial A_{x}}{partial z}frac{dz}{dt}right]= -qfrac{partialvarphi}{partial x}+q u_{x}frac{partial A_{x}}{partial x}+q u_{y}frac{partial A_{y}}{partial x}+q u_{z}frac{partial A_{z}}{partial x}& notag\
intertext{cioe'}
F_{x}=qleft{ -left[frac{partialvarphi}{partial x}+frac{partial A_{x}}{partial t}right]+u_{y}left[frac{partial A_{y}}{partial x}-frac{partial A_{x}}{partial y}right]-u_{z}left[frac{partial A_{x}}{partial z}-frac{partial A_{z}}{partial x}right]right}&.notag\
end{align*}
end{document}









share|improve this question














What are the possible alternatives to move within an environment, the second equation all on the left?
Here there is my MWE:



enter image description here



documentclass[a4paper,12pt]{article}
usepackage{mathtools}

begin{document}
begin{align*}
F_{x}+qleft[frac{partial A_{x}}{partial t}+frac{partial A_{x}}{partial x}frac{dx}{dt}+frac{partial A_{x}}{partial y}frac{dy}{dt}+frac{partial A_{x}}{partial z}frac{dz}{dt}right]= -qfrac{partialvarphi}{partial x}+q u_{x}frac{partial A_{x}}{partial x}+q u_{y}frac{partial A_{y}}{partial x}+q u_{z}frac{partial A_{z}}{partial x}& notag\
intertext{cioe'}
F_{x}=qleft{ -left[frac{partialvarphi}{partial x}+frac{partial A_{x}}{partial t}right]+u_{y}left[frac{partial A_{y}}{partial x}-frac{partial A_{x}}{partial y}right]-u_{z}left[frac{partial A_{x}}{partial z}-frac{partial A_{z}}{partial x}right]right}&.notag\
end{align*}
end{document}






math-mode equations align flalign






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 4 hours ago









SebastianoSebastiano

11.1k42164




11.1k42164








  • 1





    You can place the & after both F_{x} i.e. F_{x}&+...\intertext{cioe'}\F_{x}&=....

    – manooooh
    4 hours ago











  • why are you using align with no alignment points? If there is no alignment then you should use multlineor gather etc.

    – David Carlisle
    3 hours ago











  • Since you're using the starred form of align, there's no need to add notag.

    – barbara beeton
    2 hours ago














  • 1





    You can place the & after both F_{x} i.e. F_{x}&+...\intertext{cioe'}\F_{x}&=....

    – manooooh
    4 hours ago











  • why are you using align with no alignment points? If there is no alignment then you should use multlineor gather etc.

    – David Carlisle
    3 hours ago











  • Since you're using the starred form of align, there's no need to add notag.

    – barbara beeton
    2 hours ago








1




1





You can place the & after both F_{x} i.e. F_{x}&+...\intertext{cioe'}\F_{x}&=....

– manooooh
4 hours ago





You can place the & after both F_{x} i.e. F_{x}&+...\intertext{cioe'}\F_{x}&=....

– manooooh
4 hours ago













why are you using align with no alignment points? If there is no alignment then you should use multlineor gather etc.

– David Carlisle
3 hours ago





why are you using align with no alignment points? If there is no alignment then you should use multlineor gather etc.

– David Carlisle
3 hours ago













Since you're using the starred form of align, there's no need to add notag.

– barbara beeton
2 hours ago





Since you're using the starred form of align, there's no need to add notag.

– barbara beeton
2 hours ago










2 Answers
2






active

oldest

votes


















1














I would place both & alignment points at the very beginning of each row.



Two additional remarks: (a) Placing the & symbols at the very end of each row is equivalent to not providing any alignments points at all which, in turn, means that that the equations will be aligned at the right-hand ends. (b) The notag directives do nothing but create code clutter when used inside an align* environment.



enter image description here



documentclass[a4paper,12pt]{article}
usepackage[italian]{babel}
usepackage[margin=2.5cm]{geometry} % choose suitable page size parameters
usepackage{mathtools}

begin{document}
begin{align*}
&F_{x}+qleft[frac{partial A_{x}}{partial t}
+frac{partial A_{x}}{partial x}frac{dx}{dt}
+frac{partial A_{x}}{partial y}frac{dy}{dt}
+frac{partial A_{x}}{partial z}frac{dz}{dt}right]=
-qfrac{partialvarphi}{partial x}
+q u_{x}frac{partial A_{x}}{partial x}
+q u_{y}frac{partial A_{y}}{partial x}
+q u_{z}frac{partial A_{z}}{partial x}\
intertext{cio`e}
&F_{x}=qleft{ -left[frac{partialvarphi}{partial x}
+frac{partial A_{x}}{partial t}right]
+u_{y}left[frac{partial A_{y}}{partial x}
-frac{partial A_{x}}{partial y}right]
-u_{z}left[frac{partial A_{x}}{partial z}
-frac{partial A_{z}}{partial x}right]right}.
end{align*}
end{document}





share|improve this answer





















  • 1





    Thank you very much with all my heart! Thank you always for your understanding and help, including comments.

    – Sebastiano
    3 hours ago






  • 2





    You're most welcome!

    – Mico
    3 hours ago











  • Idem with all the sincerity.

    – Sebastiano
    3 hours ago



















2














There's no reason for using align without aligning things.



I'd go with a standard



documentclass[a4paper,12pt]{article}
usepackage{mathtools}

begin{document}

begin{equation*}
F_{x}+qleft[frac{partial A_{x}}{partial t}+frac{partial A_{x}}{partial x}frac{dx}{dt}+frac{partial A_{x}}{partial y}frac{dy}{dt}+frac{partial A_{x}}{partial z}frac{dz}{dt}right]= -qfrac{partialvarphi}{partial x}+q u_{x}frac{partial A_{x}}{partial x}+q u_{y}frac{partial A_{y}}{partial x}+q u_{z}frac{partial A_{z}}{partial x}
end{equation*}
cioè
begin{equation*}
F_{x}=qleft{ -left[frac{partialvarphi}{partial x}+frac{partial A_{x}}{partial t}right]+u_{y}left[frac{partial A_{y}}{partial x}-frac{partial A_{x}}{partial y}right]-u_{z}left[frac{partial A_{x}}{partial z}-frac{partial A_{z}}{partial x}right]right}.
end{equation*}

end{document}


If you want to align both F_x, the way is to fix the alignment point at them:



documentclass[a4paper,12pt]{article}
usepackage{mathtools}

begin{document}

begin{align*}
&F_{x}+qleft[frac{partial A_{x}}{partial t}+frac{partial A_{x}}{partial x}frac{dx}{dt}+frac{partial A_{x}}{partial y}frac{dy}{dt}+frac{partial A_{x}}{partial z}frac{dz}{dt}right]= -qfrac{partialvarphi}{partial x}+q u_{x}frac{partial A_{x}}{partial x}+q u_{y}frac{partial A_{y}}{partial x}+q u_{z}frac{partial A_{z}}{partial x}\
intertext{cioè}
&F_{x}=qleft{ -left[frac{partialvarphi}{partial x}+frac{partial A_{x}}{partial t}right]+u_{y}left[frac{partial A_{y}}{partial x}-frac{partial A_{x}}{partial y}right]-u_{z}left[frac{partial A_{x}}{partial z}-frac{partial A_{z}}{partial x}right]right}.
end{align*}

end{document}


Note that notag is superfluous in align* that does not number equations in the first place. Also remember that there must not be a trailing \, which would cause unwanted vertical space (and a spurious equation number with align).





Here's a polished version, with a macro instead of all those partial commands, and the two options.



documentclass[a4paper]{article}
usepackage{mathtools}

newcommand{der}[2]{%
frac{d#1}{d#2}%
}
newcommand{pder}[2]{%
frac{partial #1}{partial #2}%
}

begin{document}

section{texttt{align}}

begin{align*}
&F_{x}+qleft[pder{A_{x}}{t}+pder{A_{x}}{x}der{x}{t}
+pder{A_{x}}{y}frac{dy}{dt}+pder{A_{x}}{z}der{z}{t}right]
=-qpder{varphi}{x}+q u_{x}pder{A_{x}}{x}+q u_{y}pder{A_{y}}{x}
+q u_{z}pder{A_{z}}{x}
intertext{cioè}
&F_{x}=
qleft{
-left[pder{varphi}{x}+pder{A_{x}}{t}right]
+u_{y}left[pder{A_{y}}{x}-pder{A_{x}}{y}right]
-u_{z}left[pder{A_{x}}{z}-pder{A_{z}}{x}right]
right}.
end{align*}

section{texttt{equation}}

begin{equation*}
F_{x}+qleft[pder{A_{x}}{t}+pder{A_{x}}{x}frac{dx}{dt}
+pder{A_{x}}{y}frac{dy}{dt}+pder{A_{x}}{z}frac{dz}{dt}right]
=-qpder{varphi}{x}+q u_{x}pder{A_{x}}{x}+q u_{y}pder{A_{y}}{x}
+q u_{z}pder{A_{z}}{x}
end{equation*}
cioè
begin{equation*}
F_{x}=
qleft{
-left[pder{varphi}{x}+pder{A_{x}}{t}right]
+u_{y}left[pder{A_{y}}{x}-pder{A_{x}}{y}right]
-u_{z}left[pder{A_{x}}{z}-pder{A_{z}}{x}right]
right}.
end{equation*}

end{document}


enter image description here






share|improve this answer


























  • Thank you very much, also to you, dear friend!

    – Sebastiano
    3 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',
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%2f480583%2fshift-to-left-a-long-expression-into-an-environment%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









1














I would place both & alignment points at the very beginning of each row.



Two additional remarks: (a) Placing the & symbols at the very end of each row is equivalent to not providing any alignments points at all which, in turn, means that that the equations will be aligned at the right-hand ends. (b) The notag directives do nothing but create code clutter when used inside an align* environment.



enter image description here



documentclass[a4paper,12pt]{article}
usepackage[italian]{babel}
usepackage[margin=2.5cm]{geometry} % choose suitable page size parameters
usepackage{mathtools}

begin{document}
begin{align*}
&F_{x}+qleft[frac{partial A_{x}}{partial t}
+frac{partial A_{x}}{partial x}frac{dx}{dt}
+frac{partial A_{x}}{partial y}frac{dy}{dt}
+frac{partial A_{x}}{partial z}frac{dz}{dt}right]=
-qfrac{partialvarphi}{partial x}
+q u_{x}frac{partial A_{x}}{partial x}
+q u_{y}frac{partial A_{y}}{partial x}
+q u_{z}frac{partial A_{z}}{partial x}\
intertext{cio`e}
&F_{x}=qleft{ -left[frac{partialvarphi}{partial x}
+frac{partial A_{x}}{partial t}right]
+u_{y}left[frac{partial A_{y}}{partial x}
-frac{partial A_{x}}{partial y}right]
-u_{z}left[frac{partial A_{x}}{partial z}
-frac{partial A_{z}}{partial x}right]right}.
end{align*}
end{document}





share|improve this answer





















  • 1





    Thank you very much with all my heart! Thank you always for your understanding and help, including comments.

    – Sebastiano
    3 hours ago






  • 2





    You're most welcome!

    – Mico
    3 hours ago











  • Idem with all the sincerity.

    – Sebastiano
    3 hours ago
















1














I would place both & alignment points at the very beginning of each row.



Two additional remarks: (a) Placing the & symbols at the very end of each row is equivalent to not providing any alignments points at all which, in turn, means that that the equations will be aligned at the right-hand ends. (b) The notag directives do nothing but create code clutter when used inside an align* environment.



enter image description here



documentclass[a4paper,12pt]{article}
usepackage[italian]{babel}
usepackage[margin=2.5cm]{geometry} % choose suitable page size parameters
usepackage{mathtools}

begin{document}
begin{align*}
&F_{x}+qleft[frac{partial A_{x}}{partial t}
+frac{partial A_{x}}{partial x}frac{dx}{dt}
+frac{partial A_{x}}{partial y}frac{dy}{dt}
+frac{partial A_{x}}{partial z}frac{dz}{dt}right]=
-qfrac{partialvarphi}{partial x}
+q u_{x}frac{partial A_{x}}{partial x}
+q u_{y}frac{partial A_{y}}{partial x}
+q u_{z}frac{partial A_{z}}{partial x}\
intertext{cio`e}
&F_{x}=qleft{ -left[frac{partialvarphi}{partial x}
+frac{partial A_{x}}{partial t}right]
+u_{y}left[frac{partial A_{y}}{partial x}
-frac{partial A_{x}}{partial y}right]
-u_{z}left[frac{partial A_{x}}{partial z}
-frac{partial A_{z}}{partial x}right]right}.
end{align*}
end{document}





share|improve this answer





















  • 1





    Thank you very much with all my heart! Thank you always for your understanding and help, including comments.

    – Sebastiano
    3 hours ago






  • 2





    You're most welcome!

    – Mico
    3 hours ago











  • Idem with all the sincerity.

    – Sebastiano
    3 hours ago














1












1








1







I would place both & alignment points at the very beginning of each row.



Two additional remarks: (a) Placing the & symbols at the very end of each row is equivalent to not providing any alignments points at all which, in turn, means that that the equations will be aligned at the right-hand ends. (b) The notag directives do nothing but create code clutter when used inside an align* environment.



enter image description here



documentclass[a4paper,12pt]{article}
usepackage[italian]{babel}
usepackage[margin=2.5cm]{geometry} % choose suitable page size parameters
usepackage{mathtools}

begin{document}
begin{align*}
&F_{x}+qleft[frac{partial A_{x}}{partial t}
+frac{partial A_{x}}{partial x}frac{dx}{dt}
+frac{partial A_{x}}{partial y}frac{dy}{dt}
+frac{partial A_{x}}{partial z}frac{dz}{dt}right]=
-qfrac{partialvarphi}{partial x}
+q u_{x}frac{partial A_{x}}{partial x}
+q u_{y}frac{partial A_{y}}{partial x}
+q u_{z}frac{partial A_{z}}{partial x}\
intertext{cio`e}
&F_{x}=qleft{ -left[frac{partialvarphi}{partial x}
+frac{partial A_{x}}{partial t}right]
+u_{y}left[frac{partial A_{y}}{partial x}
-frac{partial A_{x}}{partial y}right]
-u_{z}left[frac{partial A_{x}}{partial z}
-frac{partial A_{z}}{partial x}right]right}.
end{align*}
end{document}





share|improve this answer















I would place both & alignment points at the very beginning of each row.



Two additional remarks: (a) Placing the & symbols at the very end of each row is equivalent to not providing any alignments points at all which, in turn, means that that the equations will be aligned at the right-hand ends. (b) The notag directives do nothing but create code clutter when used inside an align* environment.



enter image description here



documentclass[a4paper,12pt]{article}
usepackage[italian]{babel}
usepackage[margin=2.5cm]{geometry} % choose suitable page size parameters
usepackage{mathtools}

begin{document}
begin{align*}
&F_{x}+qleft[frac{partial A_{x}}{partial t}
+frac{partial A_{x}}{partial x}frac{dx}{dt}
+frac{partial A_{x}}{partial y}frac{dy}{dt}
+frac{partial A_{x}}{partial z}frac{dz}{dt}right]=
-qfrac{partialvarphi}{partial x}
+q u_{x}frac{partial A_{x}}{partial x}
+q u_{y}frac{partial A_{y}}{partial x}
+q u_{z}frac{partial A_{z}}{partial x}\
intertext{cio`e}
&F_{x}=qleft{ -left[frac{partialvarphi}{partial x}
+frac{partial A_{x}}{partial t}right]
+u_{y}left[frac{partial A_{y}}{partial x}
-frac{partial A_{x}}{partial y}right]
-u_{z}left[frac{partial A_{x}}{partial z}
-frac{partial A_{z}}{partial x}right]right}.
end{align*}
end{document}






share|improve this answer














share|improve this answer



share|improve this answer








edited 3 hours ago

























answered 3 hours ago









MicoMico

283k31388776




283k31388776








  • 1





    Thank you very much with all my heart! Thank you always for your understanding and help, including comments.

    – Sebastiano
    3 hours ago






  • 2





    You're most welcome!

    – Mico
    3 hours ago











  • Idem with all the sincerity.

    – Sebastiano
    3 hours ago














  • 1





    Thank you very much with all my heart! Thank you always for your understanding and help, including comments.

    – Sebastiano
    3 hours ago






  • 2





    You're most welcome!

    – Mico
    3 hours ago











  • Idem with all the sincerity.

    – Sebastiano
    3 hours ago








1




1





Thank you very much with all my heart! Thank you always for your understanding and help, including comments.

– Sebastiano
3 hours ago





Thank you very much with all my heart! Thank you always for your understanding and help, including comments.

– Sebastiano
3 hours ago




2




2





You're most welcome!

– Mico
3 hours ago





You're most welcome!

– Mico
3 hours ago













Idem with all the sincerity.

– Sebastiano
3 hours ago





Idem with all the sincerity.

– Sebastiano
3 hours ago











2














There's no reason for using align without aligning things.



I'd go with a standard



documentclass[a4paper,12pt]{article}
usepackage{mathtools}

begin{document}

begin{equation*}
F_{x}+qleft[frac{partial A_{x}}{partial t}+frac{partial A_{x}}{partial x}frac{dx}{dt}+frac{partial A_{x}}{partial y}frac{dy}{dt}+frac{partial A_{x}}{partial z}frac{dz}{dt}right]= -qfrac{partialvarphi}{partial x}+q u_{x}frac{partial A_{x}}{partial x}+q u_{y}frac{partial A_{y}}{partial x}+q u_{z}frac{partial A_{z}}{partial x}
end{equation*}
cioè
begin{equation*}
F_{x}=qleft{ -left[frac{partialvarphi}{partial x}+frac{partial A_{x}}{partial t}right]+u_{y}left[frac{partial A_{y}}{partial x}-frac{partial A_{x}}{partial y}right]-u_{z}left[frac{partial A_{x}}{partial z}-frac{partial A_{z}}{partial x}right]right}.
end{equation*}

end{document}


If you want to align both F_x, the way is to fix the alignment point at them:



documentclass[a4paper,12pt]{article}
usepackage{mathtools}

begin{document}

begin{align*}
&F_{x}+qleft[frac{partial A_{x}}{partial t}+frac{partial A_{x}}{partial x}frac{dx}{dt}+frac{partial A_{x}}{partial y}frac{dy}{dt}+frac{partial A_{x}}{partial z}frac{dz}{dt}right]= -qfrac{partialvarphi}{partial x}+q u_{x}frac{partial A_{x}}{partial x}+q u_{y}frac{partial A_{y}}{partial x}+q u_{z}frac{partial A_{z}}{partial x}\
intertext{cioè}
&F_{x}=qleft{ -left[frac{partialvarphi}{partial x}+frac{partial A_{x}}{partial t}right]+u_{y}left[frac{partial A_{y}}{partial x}-frac{partial A_{x}}{partial y}right]-u_{z}left[frac{partial A_{x}}{partial z}-frac{partial A_{z}}{partial x}right]right}.
end{align*}

end{document}


Note that notag is superfluous in align* that does not number equations in the first place. Also remember that there must not be a trailing \, which would cause unwanted vertical space (and a spurious equation number with align).





Here's a polished version, with a macro instead of all those partial commands, and the two options.



documentclass[a4paper]{article}
usepackage{mathtools}

newcommand{der}[2]{%
frac{d#1}{d#2}%
}
newcommand{pder}[2]{%
frac{partial #1}{partial #2}%
}

begin{document}

section{texttt{align}}

begin{align*}
&F_{x}+qleft[pder{A_{x}}{t}+pder{A_{x}}{x}der{x}{t}
+pder{A_{x}}{y}frac{dy}{dt}+pder{A_{x}}{z}der{z}{t}right]
=-qpder{varphi}{x}+q u_{x}pder{A_{x}}{x}+q u_{y}pder{A_{y}}{x}
+q u_{z}pder{A_{z}}{x}
intertext{cioè}
&F_{x}=
qleft{
-left[pder{varphi}{x}+pder{A_{x}}{t}right]
+u_{y}left[pder{A_{y}}{x}-pder{A_{x}}{y}right]
-u_{z}left[pder{A_{x}}{z}-pder{A_{z}}{x}right]
right}.
end{align*}

section{texttt{equation}}

begin{equation*}
F_{x}+qleft[pder{A_{x}}{t}+pder{A_{x}}{x}frac{dx}{dt}
+pder{A_{x}}{y}frac{dy}{dt}+pder{A_{x}}{z}frac{dz}{dt}right]
=-qpder{varphi}{x}+q u_{x}pder{A_{x}}{x}+q u_{y}pder{A_{y}}{x}
+q u_{z}pder{A_{z}}{x}
end{equation*}
cioè
begin{equation*}
F_{x}=
qleft{
-left[pder{varphi}{x}+pder{A_{x}}{t}right]
+u_{y}left[pder{A_{y}}{x}-pder{A_{x}}{y}right]
-u_{z}left[pder{A_{x}}{z}-pder{A_{z}}{x}right]
right}.
end{equation*}

end{document}


enter image description here






share|improve this answer


























  • Thank you very much, also to you, dear friend!

    – Sebastiano
    3 hours ago
















2














There's no reason for using align without aligning things.



I'd go with a standard



documentclass[a4paper,12pt]{article}
usepackage{mathtools}

begin{document}

begin{equation*}
F_{x}+qleft[frac{partial A_{x}}{partial t}+frac{partial A_{x}}{partial x}frac{dx}{dt}+frac{partial A_{x}}{partial y}frac{dy}{dt}+frac{partial A_{x}}{partial z}frac{dz}{dt}right]= -qfrac{partialvarphi}{partial x}+q u_{x}frac{partial A_{x}}{partial x}+q u_{y}frac{partial A_{y}}{partial x}+q u_{z}frac{partial A_{z}}{partial x}
end{equation*}
cioè
begin{equation*}
F_{x}=qleft{ -left[frac{partialvarphi}{partial x}+frac{partial A_{x}}{partial t}right]+u_{y}left[frac{partial A_{y}}{partial x}-frac{partial A_{x}}{partial y}right]-u_{z}left[frac{partial A_{x}}{partial z}-frac{partial A_{z}}{partial x}right]right}.
end{equation*}

end{document}


If you want to align both F_x, the way is to fix the alignment point at them:



documentclass[a4paper,12pt]{article}
usepackage{mathtools}

begin{document}

begin{align*}
&F_{x}+qleft[frac{partial A_{x}}{partial t}+frac{partial A_{x}}{partial x}frac{dx}{dt}+frac{partial A_{x}}{partial y}frac{dy}{dt}+frac{partial A_{x}}{partial z}frac{dz}{dt}right]= -qfrac{partialvarphi}{partial x}+q u_{x}frac{partial A_{x}}{partial x}+q u_{y}frac{partial A_{y}}{partial x}+q u_{z}frac{partial A_{z}}{partial x}\
intertext{cioè}
&F_{x}=qleft{ -left[frac{partialvarphi}{partial x}+frac{partial A_{x}}{partial t}right]+u_{y}left[frac{partial A_{y}}{partial x}-frac{partial A_{x}}{partial y}right]-u_{z}left[frac{partial A_{x}}{partial z}-frac{partial A_{z}}{partial x}right]right}.
end{align*}

end{document}


Note that notag is superfluous in align* that does not number equations in the first place. Also remember that there must not be a trailing \, which would cause unwanted vertical space (and a spurious equation number with align).





Here's a polished version, with a macro instead of all those partial commands, and the two options.



documentclass[a4paper]{article}
usepackage{mathtools}

newcommand{der}[2]{%
frac{d#1}{d#2}%
}
newcommand{pder}[2]{%
frac{partial #1}{partial #2}%
}

begin{document}

section{texttt{align}}

begin{align*}
&F_{x}+qleft[pder{A_{x}}{t}+pder{A_{x}}{x}der{x}{t}
+pder{A_{x}}{y}frac{dy}{dt}+pder{A_{x}}{z}der{z}{t}right]
=-qpder{varphi}{x}+q u_{x}pder{A_{x}}{x}+q u_{y}pder{A_{y}}{x}
+q u_{z}pder{A_{z}}{x}
intertext{cioè}
&F_{x}=
qleft{
-left[pder{varphi}{x}+pder{A_{x}}{t}right]
+u_{y}left[pder{A_{y}}{x}-pder{A_{x}}{y}right]
-u_{z}left[pder{A_{x}}{z}-pder{A_{z}}{x}right]
right}.
end{align*}

section{texttt{equation}}

begin{equation*}
F_{x}+qleft[pder{A_{x}}{t}+pder{A_{x}}{x}frac{dx}{dt}
+pder{A_{x}}{y}frac{dy}{dt}+pder{A_{x}}{z}frac{dz}{dt}right]
=-qpder{varphi}{x}+q u_{x}pder{A_{x}}{x}+q u_{y}pder{A_{y}}{x}
+q u_{z}pder{A_{z}}{x}
end{equation*}
cioè
begin{equation*}
F_{x}=
qleft{
-left[pder{varphi}{x}+pder{A_{x}}{t}right]
+u_{y}left[pder{A_{y}}{x}-pder{A_{x}}{y}right]
-u_{z}left[pder{A_{x}}{z}-pder{A_{z}}{x}right]
right}.
end{equation*}

end{document}


enter image description here






share|improve this answer


























  • Thank you very much, also to you, dear friend!

    – Sebastiano
    3 hours ago














2












2








2







There's no reason for using align without aligning things.



I'd go with a standard



documentclass[a4paper,12pt]{article}
usepackage{mathtools}

begin{document}

begin{equation*}
F_{x}+qleft[frac{partial A_{x}}{partial t}+frac{partial A_{x}}{partial x}frac{dx}{dt}+frac{partial A_{x}}{partial y}frac{dy}{dt}+frac{partial A_{x}}{partial z}frac{dz}{dt}right]= -qfrac{partialvarphi}{partial x}+q u_{x}frac{partial A_{x}}{partial x}+q u_{y}frac{partial A_{y}}{partial x}+q u_{z}frac{partial A_{z}}{partial x}
end{equation*}
cioè
begin{equation*}
F_{x}=qleft{ -left[frac{partialvarphi}{partial x}+frac{partial A_{x}}{partial t}right]+u_{y}left[frac{partial A_{y}}{partial x}-frac{partial A_{x}}{partial y}right]-u_{z}left[frac{partial A_{x}}{partial z}-frac{partial A_{z}}{partial x}right]right}.
end{equation*}

end{document}


If you want to align both F_x, the way is to fix the alignment point at them:



documentclass[a4paper,12pt]{article}
usepackage{mathtools}

begin{document}

begin{align*}
&F_{x}+qleft[frac{partial A_{x}}{partial t}+frac{partial A_{x}}{partial x}frac{dx}{dt}+frac{partial A_{x}}{partial y}frac{dy}{dt}+frac{partial A_{x}}{partial z}frac{dz}{dt}right]= -qfrac{partialvarphi}{partial x}+q u_{x}frac{partial A_{x}}{partial x}+q u_{y}frac{partial A_{y}}{partial x}+q u_{z}frac{partial A_{z}}{partial x}\
intertext{cioè}
&F_{x}=qleft{ -left[frac{partialvarphi}{partial x}+frac{partial A_{x}}{partial t}right]+u_{y}left[frac{partial A_{y}}{partial x}-frac{partial A_{x}}{partial y}right]-u_{z}left[frac{partial A_{x}}{partial z}-frac{partial A_{z}}{partial x}right]right}.
end{align*}

end{document}


Note that notag is superfluous in align* that does not number equations in the first place. Also remember that there must not be a trailing \, which would cause unwanted vertical space (and a spurious equation number with align).





Here's a polished version, with a macro instead of all those partial commands, and the two options.



documentclass[a4paper]{article}
usepackage{mathtools}

newcommand{der}[2]{%
frac{d#1}{d#2}%
}
newcommand{pder}[2]{%
frac{partial #1}{partial #2}%
}

begin{document}

section{texttt{align}}

begin{align*}
&F_{x}+qleft[pder{A_{x}}{t}+pder{A_{x}}{x}der{x}{t}
+pder{A_{x}}{y}frac{dy}{dt}+pder{A_{x}}{z}der{z}{t}right]
=-qpder{varphi}{x}+q u_{x}pder{A_{x}}{x}+q u_{y}pder{A_{y}}{x}
+q u_{z}pder{A_{z}}{x}
intertext{cioè}
&F_{x}=
qleft{
-left[pder{varphi}{x}+pder{A_{x}}{t}right]
+u_{y}left[pder{A_{y}}{x}-pder{A_{x}}{y}right]
-u_{z}left[pder{A_{x}}{z}-pder{A_{z}}{x}right]
right}.
end{align*}

section{texttt{equation}}

begin{equation*}
F_{x}+qleft[pder{A_{x}}{t}+pder{A_{x}}{x}frac{dx}{dt}
+pder{A_{x}}{y}frac{dy}{dt}+pder{A_{x}}{z}frac{dz}{dt}right]
=-qpder{varphi}{x}+q u_{x}pder{A_{x}}{x}+q u_{y}pder{A_{y}}{x}
+q u_{z}pder{A_{z}}{x}
end{equation*}
cioè
begin{equation*}
F_{x}=
qleft{
-left[pder{varphi}{x}+pder{A_{x}}{t}right]
+u_{y}left[pder{A_{y}}{x}-pder{A_{x}}{y}right]
-u_{z}left[pder{A_{x}}{z}-pder{A_{z}}{x}right]
right}.
end{equation*}

end{document}


enter image description here






share|improve this answer















There's no reason for using align without aligning things.



I'd go with a standard



documentclass[a4paper,12pt]{article}
usepackage{mathtools}

begin{document}

begin{equation*}
F_{x}+qleft[frac{partial A_{x}}{partial t}+frac{partial A_{x}}{partial x}frac{dx}{dt}+frac{partial A_{x}}{partial y}frac{dy}{dt}+frac{partial A_{x}}{partial z}frac{dz}{dt}right]= -qfrac{partialvarphi}{partial x}+q u_{x}frac{partial A_{x}}{partial x}+q u_{y}frac{partial A_{y}}{partial x}+q u_{z}frac{partial A_{z}}{partial x}
end{equation*}
cioè
begin{equation*}
F_{x}=qleft{ -left[frac{partialvarphi}{partial x}+frac{partial A_{x}}{partial t}right]+u_{y}left[frac{partial A_{y}}{partial x}-frac{partial A_{x}}{partial y}right]-u_{z}left[frac{partial A_{x}}{partial z}-frac{partial A_{z}}{partial x}right]right}.
end{equation*}

end{document}


If you want to align both F_x, the way is to fix the alignment point at them:



documentclass[a4paper,12pt]{article}
usepackage{mathtools}

begin{document}

begin{align*}
&F_{x}+qleft[frac{partial A_{x}}{partial t}+frac{partial A_{x}}{partial x}frac{dx}{dt}+frac{partial A_{x}}{partial y}frac{dy}{dt}+frac{partial A_{x}}{partial z}frac{dz}{dt}right]= -qfrac{partialvarphi}{partial x}+q u_{x}frac{partial A_{x}}{partial x}+q u_{y}frac{partial A_{y}}{partial x}+q u_{z}frac{partial A_{z}}{partial x}\
intertext{cioè}
&F_{x}=qleft{ -left[frac{partialvarphi}{partial x}+frac{partial A_{x}}{partial t}right]+u_{y}left[frac{partial A_{y}}{partial x}-frac{partial A_{x}}{partial y}right]-u_{z}left[frac{partial A_{x}}{partial z}-frac{partial A_{z}}{partial x}right]right}.
end{align*}

end{document}


Note that notag is superfluous in align* that does not number equations in the first place. Also remember that there must not be a trailing \, which would cause unwanted vertical space (and a spurious equation number with align).





Here's a polished version, with a macro instead of all those partial commands, and the two options.



documentclass[a4paper]{article}
usepackage{mathtools}

newcommand{der}[2]{%
frac{d#1}{d#2}%
}
newcommand{pder}[2]{%
frac{partial #1}{partial #2}%
}

begin{document}

section{texttt{align}}

begin{align*}
&F_{x}+qleft[pder{A_{x}}{t}+pder{A_{x}}{x}der{x}{t}
+pder{A_{x}}{y}frac{dy}{dt}+pder{A_{x}}{z}der{z}{t}right]
=-qpder{varphi}{x}+q u_{x}pder{A_{x}}{x}+q u_{y}pder{A_{y}}{x}
+q u_{z}pder{A_{z}}{x}
intertext{cioè}
&F_{x}=
qleft{
-left[pder{varphi}{x}+pder{A_{x}}{t}right]
+u_{y}left[pder{A_{y}}{x}-pder{A_{x}}{y}right]
-u_{z}left[pder{A_{x}}{z}-pder{A_{z}}{x}right]
right}.
end{align*}

section{texttt{equation}}

begin{equation*}
F_{x}+qleft[pder{A_{x}}{t}+pder{A_{x}}{x}frac{dx}{dt}
+pder{A_{x}}{y}frac{dy}{dt}+pder{A_{x}}{z}frac{dz}{dt}right]
=-qpder{varphi}{x}+q u_{x}pder{A_{x}}{x}+q u_{y}pder{A_{y}}{x}
+q u_{z}pder{A_{z}}{x}
end{equation*}
cioè
begin{equation*}
F_{x}=
qleft{
-left[pder{varphi}{x}+pder{A_{x}}{t}right]
+u_{y}left[pder{A_{y}}{x}-pder{A_{x}}{y}right]
-u_{z}left[pder{A_{x}}{z}-pder{A_{z}}{x}right]
right}.
end{equation*}

end{document}


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited 3 hours ago

























answered 3 hours ago









egregegreg

728k8819233233




728k8819233233













  • Thank you very much, also to you, dear friend!

    – Sebastiano
    3 hours ago



















  • Thank you very much, also to you, dear friend!

    – Sebastiano
    3 hours ago

















Thank you very much, also to you, dear friend!

– Sebastiano
3 hours ago





Thank you very much, also to you, dear friend!

– Sebastiano
3 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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f480583%2fshift-to-left-a-long-expression-into-an-environment%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

A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

Calculate evaluation metrics using cross_val_predict sklearn

Insert data from modal to MySQL (multiple modal on website)