0

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

enter image description here

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

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

which is centering alignment.

  • 2
    Either use the fleqn option in your document class, or use one of flalign, flalign* environments from amsmath. – Bernard Oct 22 '14 at 11:46
  • 1
    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. – LaRiFaRi Oct 22 '14 at 11:47
  • 1
    @Bernard none of these works if the OP is using IEEEtran. Well, lets wait for the MWE. – LaRiFaRi Oct 22 '14 at 11:48
  • 2
    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. – Tom Brien Oct 22 '14 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). – LaRiFaRi Oct 22 '14 at 12:13
1

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
\begin{equation}
\label{eqn_33}
UR_i=DR_i=\frac{P_i^\text{max}}{2}\,\si{\mega\watt\per\minute}\qquad\forall i
\end{equation}
Which results in \SI{42}{\mega\watt\per\minute} \blindtext
\end{document}

enter image description here

  • 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 '14 at 12:25
  • 1
    1, 2, 3... – LaRiFaRi Oct 22 '14 at 12:27
  • 2
    $\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 '14 at 14:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.