Difference between revisions of "Documentation/OOoAuthors User Manual/Writer Guide/Formula layout"

From Apache OpenOffice Wiki
Jump to: navigation, search
 
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{WriterMathTOC|PrevNext=block
+
{{DISPLAYTITLE:Formula layout}}
|Prev=Documentation/OOoAuthors User Manual/Writer Guide/Customizations
+
{{WriterMathTOC|ShowPrevNext=block
|Next=Documentation/OOoAuthors_User_Manual/Writer Guide/Common problem areas}}__notoc__
+
|PrevPage=Documentation/OOoAuthors User Manual/Writer Guide/Customizations
 +
|NextPage=Documentation/OOoAuthors_User_Manual/Writer Guide/Common problem areas}}__notoc__
 +
{{:Formula layout}}
  
= Formula layout =
 
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'''''||
 
|-
 
| ||<tt>2 over  x + 1</tt>||inline:Object34.png||
 
|-
 
| ||<tt>2 over {x + 1}</tt>||inline:Object35.png||
 
|-
 
|}
 
 
 
== Equations over more than one line ==
 
Suppose you want to type an equation covering more than one line. For example: inline:Object36.png
 
 
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'''''||
 
|-
 
| ||<tt>x = 3</tt><br/><tt>y = 1</tt>||inline:Object37.png||
 
|-
 
| ||<tt>x = 3 newline</tt><br/><tt>y = 1</tt>||inline:Object38.png||
 
|-
 
|}
 
  
 
{{Manual}}
 
{{Manual}}
 +
[[Category: Writer Guide (Documentation)]]

Latest revision as of 11:42, 7 August 2018


The most difficult part of using OOo Math comes when writing complicated formulas. This section provides some advice.


Brackets are your friends

OOo Math knows nothing about order of operation. You must use brackets to state the 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



See Also




Content on this page is licensed under the Creative Common Attribution 3.0 license (CC-BY).
Personal tools