Is there a way possible to imitate the align
environment for math mode commands, without having all writing being placed toward the center on the output page?
MWE:
\documentclass{article}
\usepackage{mathtools}
\begin{document}
\begin{align*}
\cos\theta_1 \cos\theta_2-\sin\theta_1\sin\theta_2 &= \cos(\theta_1 +\theta_2) \\
\sin\theta_1 \cos\theta_2 + \cos\theta_1 \sin\theta_2 &= \sin(\theta_1+\theta_2)
\end{align*}
\end{document}
Best Answer
The amsmath package has a
fleqn
option which, according to the manual (texdoc amsmath
) has the following effect:Thus:
seems to be what you are after.
The
mathtools
package loadsamsmath
internally and passes any unknown arguments on to it. This includes thefleqn
option. Thus:also works.
Here's a comparison of the outputs. The upper one is without
fleqn
and the lower one with.