norak
- 2
- 0
Hi guys, I want to write up some math and have the following code:
\begin{align}
L_{A}(s)&=V(A,0)-V(A,s) \\
&=\int_{t=A}^{T(A)+A-\alpha S_{A}}e^{-r(t-A)}W_{t}dt - \int_{t=A}^{T(A)+A-\alpha (S_{A}+s)}e^{-r(t-A)}W_{t}dt \\
&=\int^{T(A)+A-\alpha S_{A}}_{T(A)+A-\alpha(S_{A}+s)}e^{-r(t-A)W_{t}dt}
\end{align}
Now using Physics Forum's inbuilt Latex thingy the following appears:
<br /> \begin{align*} <br /> L_{A}(s)&=V(A,0)-V(A,s) \\<br /> &=\int_{t=A}^{T(A)+A-\alpha S_{A}}e^{-r(t-A)}W_{t}dt - \int_{t=A}^{T(A)+A-\alpha (S_{A}+s)}e^{-r(t-A)}W_{t}dt \\<br /> &=\int^{T(A)+A-\alpha S_{A}}_{T(A)+A-\alpha(S_{A}+s)}e^{-r(t-A)W_{t}dt}<br /> \end{align*}<br />
However, when I try to compile this using my own Latex compiler, I get the following error message:
It says that the "align" doesn't work! Are there any computer experts who know what I am doing wrong??
\begin{align}
L_{A}(s)&=V(A,0)-V(A,s) \\
&=\int_{t=A}^{T(A)+A-\alpha S_{A}}e^{-r(t-A)}W_{t}dt - \int_{t=A}^{T(A)+A-\alpha (S_{A}+s)}e^{-r(t-A)}W_{t}dt \\
&=\int^{T(A)+A-\alpha S_{A}}_{T(A)+A-\alpha(S_{A}+s)}e^{-r(t-A)W_{t}dt}
\end{align}
Now using Physics Forum's inbuilt Latex thingy the following appears:
<br /> \begin{align*} <br /> L_{A}(s)&=V(A,0)-V(A,s) \\<br /> &=\int_{t=A}^{T(A)+A-\alpha S_{A}}e^{-r(t-A)}W_{t}dt - \int_{t=A}^{T(A)+A-\alpha (S_{A}+s)}e^{-r(t-A)}W_{t}dt \\<br /> &=\int^{T(A)+A-\alpha S_{A}}_{T(A)+A-\alpha(S_{A}+s)}e^{-r(t-A)W_{t}dt}<br /> \end{align*}<br />
However, when I try to compile this using my own Latex compiler, I get the following error message:
It says that the "align" doesn't work! Are there any computer experts who know what I am doing wrong??