## asnaseer Group Title How to align the equals signs on equations of the form: f(2) = 2*(2)^2 + 8 = 2*4 + 8 = 8 + 8 = 16 2 years ago 2 years ago

1. asnaseer Group Title

To achieve this you need to enclose your equations between \$$[$$\begin{align} and \end{align}\$$]$$. Each equal sign should be preceded with an '&' symbol, and each line should end with a double backslash (i.e. \\). So the sample equation in the question would be written out as: \$$[$$\begin{align} f(2) &= 2*(2)^2 + 8\\ &= 2*4 + 8\\ &= 8 + 8\\ &= 16 \end{align}\$$]$$ This will produce something like this:\begin{align} f(2) &= 2*(2)^2 + 8\\ &= 2*4 + 8\\ &= 8 + 8\\ &= 16 \end{align}

2. satellite73 Group Title

$\begin{array} f(2) &= 2*(2)^2 + 8\\ &= 2*4 + 8\\ &= 8 + 8\\ &= 16 \end{array}$ just checking it works with "array" as well

3. Akshay_Budhkar Group Title

how did they write it?

4. myininaya Group Title

when asnaseer come back we should tackle him with the question

5. myininaya Group Title

oh

6. myininaya Group Title

this is it

7. myininaya Group Title

\begin{array} f(2) &= 2*(2)^2 + 8\\ &= 2*4 + 8\\ &= 8 + 8\\ &= 16 \end{array}

8. Akshay_Budhkar Group Title

??

9. myininaya Group Title

you know you can copy that code

10. myininaya Group Title

right click it

11. Akshay_Budhkar Group Title

\begin{align} f(2) &= 2*(2)^2 + 8\\ &= 2*4 + 8\\ &= 8 + 8\\ &= 16 \end{align}

12. myininaya Group Title

yep

13. Akshay_Budhkar Group Title

no but i want it in the equation editor

14. myininaya Group Title

you can do it in the equation editor

15. Akshay_Budhkar Group Title

\[\begin{align} f(2) &= 2*(2)^2 + 8\\ &= 2*4 + 8\\ &= 8 + 8\\ &= 16 \end{align}\]

16. myininaya Group Title

$\begin{array} new line \\ new line \\ new line \end{array}$

17. myininaya Group Title

i did that in equation editor

18. myininaya Group Title

i did a new line you have to do \begin{array} \\ newline\\ newline \end{array}

19. myininaya Group Title

oop

20. Akshay_Budhkar Group Title

? i mlost

21. Akshay_Budhkar Group Title

$\newline \newline$

22. myininaya Group Title

|dw:1327727286914:dw|

23. Akshay_Budhkar Group Title

$\begin{array} &akshay & myin \end{array}$

24. Akshay_Budhkar Group Title

:(

25. Akshay_Budhkar Group Title

what am i supposed to type in the equation editor?

26. myininaya Group Title

not &

27. myininaya Group Title

\\ .

28. myininaya Group Title

$\begin{array} \\akshay \\ myin \end{array}$

29. Akshay_Budhkar Group Title

$\begin {array} \\akshay \\myin \end {array}$

30. Akshay_Budhkar Group Title

cool!

31. myininaya Group Title

$\begin{array} \\akshay \\ myin \\ :) \end{array}$

32. waleed_kha Group Title

\begin{align} Thank &=you\\ &= Its gr8 \\&=\huge {For \cancel { Not }2 \cancel{forget} } \end{align}. its so cool ! ^_^

33. Mr.Math Group Title

TEST: $\begin{array} x&=2+3\times 4 \\ &=2+12 \\ &=14 \end{array}$

34. mkone Group Title

Il y a aussi l'environment eqnarray: begin{eqnarray} f(2) &=& 2*(2)^2 - 8\\ &= & 2*4 - 8\\ &=& 8 - 8 \\ &=& 0\end{eqnarray}, displays: $$\begin{eqnarray} f(2) &=& 2*(2)^2 - 8\\ &= & 2*4 - 8\\ &=& 8 - 8 \\ &=& 0\end{eqnarray}$$ Which is very similar indeed, but I'm sure there are some small difference that helps perfectionists smile. Here another example: $$\begin{eqnarray} f(2) = 2*(2)^2 - 8\\ = 2*4 - 8\\ = 8 - 8 \\ = 0\end{eqnarray}$$ begin{eqnarray} f(2) = 2*(2)^2 - 8\\ = 2*4 - 8\\ = 8 - 8 \\ = 0\end{eqnarray} and Pascal's triangle: $$\begin{eqnarray} &1\\ &1\ 1\\ &1\ 2\ 1 \\ &1\ 3\ 3\ 1 \\ & 1\ 4\ 6\ 4\ 1 \\ &1\ 5\ 10\ 10\ 5\ 1 \end{eqnarray}$$ begin{eqnarray} &1\\ &1\ 1\\ &1\ 2\ 1 \\ &1\ 3\ 3\ 1 \\ & 1\ 4\ 6\ 4\ 1 \\ &1\ 5\ 10\ 10\ 5\ 1 \end{eqnarray}