{eqnarray}
, can't get the equal sign to line up.
Code: Select all
\begin{align*}
interest = PV (r \times t)\\
= 8000 \left(0.06\times \frac{128}{365}\right)\\
= \$ 168.32
\end{align*}
{eqnarray}
, can't get the equal sign to line up.
Code: Select all
\begin{align*}
interest = PV (r \times t)\\
= 8000 \left(0.06\times \frac{128}{365}\right)\\
= \$ 168.32
\end{align*}
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
Code: Select all
\begin{align*}
interest &= PV (r \times t)\\
&= 8000 \left(0.06\times \frac{128}{365}\right)\\
&= \$ 168.32
\end{align*}
Could you please be a bit more specific and describe the problem in more than just one line? A code example would be helpful.financialwar wrote:still don't align, just read the guide, don't you have to put & before and after the = sign?
align
environment only needs with one single alignment character (»&«) in this case. In most cases it is placed right before the equal sign. The provided code should work. If not, kindly provide a counter example.{eqnarray}
.Avoidfinancialwar wrote:[…] Got mixed up with{eqnarray}
.
eqnarray
!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