Difference between revisions of "Formula layout"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Equations over more than one line: Force png rendering for more "mathy" look)
Line 34: Line 34:
 
|-
 
|-
 
|}
 
|}
 +
 +
{{Documentation/SeeAlso|
 +
* [[Documentation/FAQ/Formula/How_do_I_align_my_equations_at_the_equality_sign%3F | How do I Align my Equations at the Equality Sign?]]
 +
}}

Revision as of 11:38, 24 August 2009

The most difficult part of using OOoMath comes when writing complicated equations. This section provides some advice about writing complex formulas.


Brackets are your friends

OOoMath knows nothing about order of operation. You must use brackets to state order of operations explicitly. Consider the following example:

Markup Result
2 over x + 1
2 over {x + 1}

Equations over more than one line

Suppose you want to type an equation covering more than one line. For example:

Your first reaction would be to simply press the Enter key. However, if you press the Enter key, though the markup goes to a new line, the resulting equation does not. You must type the newline command explicitly. This is illustrated in the table below.

Markup Result
x = 3
y = 1
x = 3 newline
y = 1

Template:Documentation/SeeAlso

Personal tools