Estas son algunas notas personales sobre Latex.
Para dibujar un rectándulo alrededor de una ecuación
Agregar:
\boxed{ "la ecuación" }
Redimensionar una ecuación para ajustarla al ancho de página
Usar \resizebox{factor\hsize}{!}{$ theequation $}. Ejemplo:
\begin{equation}
\resizebox{.9\hsize}{!}
{$
\Pi = \frac{EI}{2} \left[ \int_0^L \left(\frac{d\theta}{ds}\right)^2 ds + \alpha_m \int_0^L \left( \frac{du_s}{ds} \right)^2 ds + \alpha_s \int_0^L \left( \frac{du_n}{ds} - \theta \right)^2 \right] - W
$}
\end{equation}
\multirow and \multicolumn commands
To use \multirow we have to:
\usepackage{multirow}
\multirow{number of rows}{width}{text}
The text argument's natural width is used when placing * in the width argument.
To use \multicolumn we have to:
\multicolumn{number of columns}{alignment: l, c, r}{text}