I've been using LaTeX for about a month or so and I'm amazed by its capacity. My documents mainly contain equations. I use fleqn on the documentclass option, since I prefer most of my equations flushed to the left.
Code: Select all
\documentclass[12pt,a4paper,fleqn]{article}
Code: Select all
\begin{center}
\fbox{%
\begin{minipage}[h]{270pt}
\[ \xi\mathcal{L} + \sum_{(\alpha)}\left[\eta^{(\alpha)}
- \xi\dot{q}^{(\alpha)}\right]\frac{\partial L}{\partial\dot{q}^{(\alpha)}}
- G ~=~ const. \]
\end{minipage}}
\end{center}
Code: Select all
\centereqn{<height of box>}{<width of box>}{<equation>}
