# Justified alignment for equations

I am writing a IEEE journal paper full of equations and with center alignment the paper looks so messy.

I needed to justified align at least those that are coming successively one after another. I want equations at the left of the line but their numbers at the right.

Currently I am using these codes

$$\label{eqn_33} UR_i=DR_i=\dfrac{P_i^{max}}{2} \qquad \textrm{(MW/min)} \quad\forall i\\$$


which is centering alignment.

• Either use the fleqn option in your document class, or use one of flalign, flalign* environments from amsmath. Oct 22, 2014 at 11:46
• Welcome to TeX.SX! Please always provide compilable code but not snippets. Do you want to have all equations aligned to the left or just one? Or are you talking about the align environment? Please clarify. If you are using a template like IEEEtran, you maybe mustn't change their style scheme. Oct 22, 2014 at 11:47
• @Bernard none of these works if the OP is using IEEEtran. Well, lets wait for the MWE. Oct 22, 2014 at 11:48
• If the article is being prepared for publication in an IEEE journal then the setting of equation by the 'IEEEtran' class should not be altered. Oct 22, 2014 at 12:06
• Regarding your edit. Yes, it does look messy. You should use align for most of your equations, maybe do not number all of them but just the important ones. And you should write a little text in between (\shortintertext or alike). Oct 22, 2014 at 12:13

I would not do this, as it is not the recommended style by IEEE, but you can change this globally with the following MWE:

% arara: pdflatex

\documentclass{IEEEtran}
\usepackage[fleqn]{mathtools}
\setlength{\mathindent}{0pt}
\usepackage{blindtext} % for demo only
\usepackage[per-mode=symbol-or-fraction]{siunitx}

\begin{document}
\blindtext
$$\label{eqn_33} UR_i=DR_i=\frac{P_i^\text{max}}{2}\,\si{\mega\watt\per\minute}\qquad\forall i$$
Which results in \SI{42}{\mega\watt\per\minute} \blindtext
\end{document}


• I am using TexStudio and how can I add package mathtools, usually they are downloaded automatically but this one is seems it didn't happen
– Nile
Oct 22, 2014 at 12:25
• 1, 2, 3... Oct 22, 2014 at 12:27
• $\forall i$ should go before, not after, the rest of the equation. It's a mathematical symbol and not simply shorthand for the words `for all.'
– JPi
Dec 21, 2014 at 14:15