LyXalign equations

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
sc092270
Posts: 2
Joined: Tue May 12, 2009 4:09 pm

align equations

Post by sc092270 »

I am trying to align equations. I want the equal signs to be aligned. This is not a problem. However, every time I do this it shows up as a display formula. I do not want it centered. I want an inline formula with the equal signs aligned. Also I would like to put an explanation of each step to the right of each equation and have the explanations aligned. Just like in math textbooks. Is this possible. I have tried several different things with no success. Thanks in advance for any help.

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

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

align equations

Post by localghost »

You can use the aligned environment also in in-line math expressions.

Code: Select all

\(
  \begin{aligned}
    % math expressions with explanations
  \end{aligned}
\)
Another way to prevent the equations from being centered is to use the flalign environment.


Best regards and welcome to the board
Thorsten
sc092270
Posts: 2
Joined: Tue May 12, 2009 4:09 pm

Re: align equations

Post by sc092270 »

Thank you very much. That really helped.
Post Reply