Math & ScienceEquations alignment

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
e.panaousis
Posts: 4
Joined: Sat Apr 24, 2010 7:54 pm

Equations alignment

Post by e.panaousis »

Hi,

I would kindly like to ask you for a simple and effective way to align an equation that uses the \begin{split}..\end{split} environment in the left hand side of a two-column document. The current version I have makes the first column to be very very near to the second due to the right aligned equation.

I went through the forum answers but nothing of the aforementioned solution worked for me. Probably I am doing sth wrong that is why I am kindly asking you to tell an easy and effective way without discarding the split environment I am currently using.

I thank you in advance

Kind regards

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Equations alignment

Post by localghost »

Nice description, but useless to figure out the problem. You have to build a minimal working example (MWE) that shows the undesired behaviour. Follow the instructions carefully so that the MWE contains only the relevant parts that cause the problem. Furthermore it has to be complete document that everybody willing to help can compile as is.


Best regards and welcome to the board
Thorsten
e.panaousis
Posts: 4
Joined: Sat Apr 24, 2010 7:54 pm

Re: Equations alignment

Post by e.panaousis »

Hi Thorsten,

thanks for your prompt reply. I am attaching a MWE and I am looking forward to getting some help

Kind regards

Emmanouel
Attachments
MWE.zip
(62.87 KiB) Downloaded 114 times
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Equations alignment

Post by localghost »

That's not a MWE (but better than nothing) [1]. If I understand you right, you should use another environment like shown below.

Code: Select all

\documentclass[journal]{IEEEtran}
\usepackage{amsmath}

\begin{document}
  \section{Introduction}
    \begin{equation}
      \begin{aligned}
        abcdefg &= a+b+c+d+e+f+g+a+b+c\\
        abcde &= a+b+c+d+e+f+g\\
        abcdefg &= a+b+c+d+e+f+g
      \end{aligned}
    \end{equation}
\end{document}
By the way, you should take a look at packages like amsthm or ntheorem for things like proofs and new shapes of theorems. And you don't need to add classes and packages that are available on CTAN.

[1] View topic: Avoidable mistakes
e.panaousis
Posts: 4
Joined: Sat Apr 24, 2010 7:54 pm

Re: Equations alignment

Post by e.panaousis »

Thanks for that, appreciated!
e.panaousis
Posts: 4
Joined: Sat Apr 24, 2010 7:54 pm

Re: Equations alignment

Post by e.panaousis »

Hi,

do your commands align the equation at the left ?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Equations alignment

Post by localghost »

e.panaousis wrote:[...] do your commands align the equation at the left ?
Didn't you test my sample code? If not, do so and look at the result. Refer to the amsmath manual if necessary.
Post Reply