## LaTeX forum ⇒ Math & Science ⇒ Difficulties in aligning equations under the flalign environment Topic is solved

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Cham
Posts: 901
Joined: Sat Apr 02, 2011 4:06 pm

### Difficulties in aligning equations under the flalign environment

I'm having some glitches with the MWE code below :

Here's a preview :
equs.jpg (12.45 KiB) Viewed 3009 times

As you can see, the equations aren't well centered above the "EQUATION" below them. I need them to be well balanced (i.e. centered). What am I doing wrong here?

Johannes_B
Site Moderator
Posts: 4044
Joined: Thu Nov 01, 2012 4:08 pm
The equation environment does not know the content of the box (flalign) above. So the first step is to put EQUATION into the same enviroment. The example below looks ok, but you will have some real equation there and that will need extra fiddeling.
The \mathrlap stuff looks like you are used to manual spacing anyway.

The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Cham
Posts: 901
Joined: Sat Apr 02, 2011 4:06 pm
Johannes,

what I tried to say is that the two equations in the middle should still be centered, like "EQUATION", or if there's an "align" environment, like this :

You should notice the offset in the middle, relative to the align and equation environments. I used the mathrlap command to try to fix this issue, but it's not enough.

Cham
Posts: 901
Joined: Sat Apr 02, 2011 4:06 pm
I just noticed that the numbers are pushing the equations to the left, in the flalign environment. Why ? The same doesn't happens under the align and equation environments.

Cham
Posts: 901
Joined: Sat Apr 02, 2011 4:06 pm
O well, by fizzling the equations, I fixed the alignement problem. Issue solved.

Stefan Kottwitz