I'm trying to set up my equations for 3 hours and it's driving me crazy. I'm new in LaTeX so I don't master it at all.
This is the closest, with the simplest code, that I could get.
\documentclass[a4paper,11pt]{report}
\usepackage{amsmath}
\begin{document}
\begin{align}
dX(t)=&-f1*X(t)L(t)dt+g1*U(t)dt\\
&-\sqrt{f1*X(t)L(t)}dW1(t)+\sqrt{g1*U(t)}dW2(t)
\end{align}
\begin{align}
dL(t)=&-f1*X(t)L(t)dt+g1*U(t)dt-f2*U(t)L(t)dt+g2*Y(t)dt\\
&-\sqrt{f1*X(t)L(t)}dW1(t)+\sqrt{g1*U(t)}dW2(t)\\
&-\sqrt{f2*U(t)L(t)}dW3(t)+\sqrt{g2*Y(t)}dW4(t)
\end{align}
\begin{align}
dU(t)=&f1*X(t)L(t)dt-g1*U(t)dt-f2*U(t)L(t)dt+g2*Y(t)dt\\
&+\sqrt{f1*X(t)L(t)}dW1(t)-\sqrt{g1*U(t)}dW2(t)\\
&-\sqrt{f2*U(t)L(t)}dW3(t)+\sqrt{g2*Y(t)}dW4(t)
\end{align}
\begin{align}
dY(t)=&f2*U(t)L(t)dt-g2*Y(t)dt\\
&+\sqrt{f2*U(t)L(t)}dW3(t)-\sqrt{g2*Y(t)}dW4(t)
\end{align}
\end{document}
And it's giving me this
It's close to what I want but I want the dX, dL, … to be aligned aswell.
And, if possible, but not very important, to get only one number of ref. for the whole set.
I tried numerous ways with align, split, aligned and I couldn't do it.
I've the conviction that the answer is very simple but I don't know what to try anymore, I've read so many post about it here and I'm still blocked.
Thank you.
Edit :
As suspected, it wasn't tricky at all, thank you very much.
Best Answer
Key changes:
a single
align
block, with extra\\
for blank lines={}&
, not=&
, to get the proper spacing around=
\notag
for unnumbered linesHere is the revision.