Syntax Elements for Math

From Apache OpenOffice Wiki
< Documentation‎ | UserGuide‎ | Math
Revision as of 23:33, 3 February 2013 by RGB (Talk | contribs)

Jump to: navigation, search

Template:Documentation/DraftPage


On this section some basic elements about how to build a mathematical expression on Apache OpenOffice Math will be provided.

Simple Commands and Functions

As seen on the section about inserting a Math object, the Math editor works on "text mode".

There are several kinds of Math instructions, all of them represented by text with a particular meaning. For example, writing %gamma a Greek character will be obtained, cos will be interpreted as the cosine function while newline will insert a new line on the expression.

Template:Documentation/Note

Template:Documentation/Note

Commands that Needs Parameters

Some commands needs to be applied to other object because alone do not have sense. For example, the "decorations" like a vector arrow:

 vec a

will give while

 widevec a

will give

This second command can be used to put the arrow over more than one element, to obtain for example

There are also instructions that need the use of parameters to define their action, for example the command "color"

 A color red {BC} D

will give

Operators and Relations

Writing on a Math object the command over without any other text, only a red question mark will be obtained: the command over is a binary operator that needs two objects (numerator and denominator of the fraction) to work.

Unitary Operators

Unitary operators only need one element. Example of unitary operators are:

+a will give

-a will give

+-a will give

-+a will give

Other examples the the sum operator, the integral (int), close integral (oint), etc.

Personal tools