Thursday, August 8, 2013

Q. How do you align equations in Latex or Latexit?

A.  The best way to do this is to you use the array enviroment.  Avoid eqnarray.


The star suppresses numbering of the equations and the & symbol shows point(s) in the equations that you would like to see aligned.  

\begin{align*}
%\begin{eqnarray}
&\nabla T  &\text{gradient}\\
&\nabla \cdot T  &\text{divergence}\\
&\nabla \times T  &\text{curl}
%\end{eqnarray}
\end{align*}