Math & Science ⇒ another problem with lining up the equation
another problem with lining up the equation
- Attachments
-
- integral.jpg (26.25 KiB) Viewed 3673 times
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
Re: another problem with lining up the equation
Stefan
another problem with lining up the equation
Stefan_K wrote:Put the & before the = in the first row, and before the alignment place in the other rows. Perhaps post your code for that equations here, for seeing how you did it and for fixing.
Stefan
Oh yes, I totally forgot here is my latex code
Code: Select all
\int\limits_{S}f=\int\limits_{S}\frac{1}{2}f_{\mu\nu}(x(u))J^{\mu\nu}(x(u))du^{1}\wedge du^{2}\\
&=\int\limits_{S}\frac{E}{4\pi}\frac{Rsin\theta cos\phi}{R^3}J^{yz}(\theta,\phi)d\theta\wedge d\phi+\\
&+\int\limits_{S}\frac{E}{4\pi}\frac{Rsin\theta sin\phi}{R^3}J^{zx}(\theta,\phi)d\theta\wedge d\phi\\
&+\int\limits_{S}\frac{E}{4\pi}\frac{Rcos\theta}{R^3}J^{xy}(\theta,\phi)d\theta\wedge d\phi\\
&=\frac{E}{4\pi}\int_{0}^{2\pi}d\theta\int_{0}^{\pi}d\theta sin\theta=-\frac{E}{2}cos\theta|_{0}^{\pi}\\
&=E- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
another problem with lining up the equation
Just use code instead of latex, I edited it. I'll have a look.rayman wrote:P.S Why latex does not work here?
Stefan
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
another problem with lining up the equation
Code: Select all
\begin{align*}
\int\limits_{S}f&=\int\limits_{S}\frac{1}{2}f_{\mu\nu}(x(u))J^{\mu\nu}(x(u))du^{1}\wedge du^{2}\\
&=\int\limits_{S}\frac{E}{4\pi}\frac{R\sin\theta\cos\phi}{R^3}J^{yz}(\theta,\phi)d\theta\wedge d\phi\\
&\quad+\int\limits_{S}\frac{E}{4\pi}\frac{R\sin\theta\sin\phi}{R^3}J^{zx}(\theta,\phi)d\theta\wedge d\phi\\
&\quad+\int\limits_{S}\frac{E}{4\pi}\frac{R\cos\theta}{R^3}J^{xy}(\theta,\phi)d\theta\wedge d\phi\\
&=\frac{E}{4\pi}\int_{0}^{2\pi}d\theta\int_{0}^{\pi}d\theta\sin\theta=-\frac{E}{2}\cos\theta|_{0}^{\pi}\\
&=E
\end{align*}