×

# LaTeX issue

Can anyone help me regarding writing in latex. I have a bit problem in aligns and gaps between words.

Note by Nikhil Raj
2 months, 2 weeks ago

Sort by:

How can I write a statement and after a gap write it's proof in bracket. Can you tell how to align all my solution. Like- $2x = 4y \\ x = 2y ({\text{dividing both sides by 2}}$. How can I leave gap between the equation and reason as on line 2. And also how can I align this statement or write this statement in a clean and straight line. · 2 months, 1 week ago

Beginner's version:

$2x =4y \\ x = 2y$

Intermediate version:

$\begin{eqnarray} 2x &=& 4y \\ x &=& 2y \end{eqnarray}$

Hard version:

$\begin{eqnarray} 2x &=& 4y \quad \text{(divide both sides by 2)} \\ x &=& 2y \end{eqnarray}$

· 2 months, 1 week ago

Isn't there any thing like left, right or centre align. Thanks for the reply. Can you tell me, how can i learn LaTeX perfectly. · 2 months, 1 week ago

Use " \begin{array} " and " \end{array} " instead.

Use SearchOnMath to get better at $$\LaTeX$$. · 2 months, 1 week ago