Problems with Keywords in Formulas

From NeoWiki

Jump to: navigation, search

Using keywords in a formula in NeoOffice Math can provide strange and undesirable results. Those keywords indicate functions, operators and symbols.
You get a similar problem with the special symbols which are &, |, ^, _, #.

[edit] Deactivating Keywords

For example, if you want to write the ratio of the lengths of two segments, LM and LN or IM and IN, the formulas LM over LN and IM over IN give:

To fix that issue, you have to place the % sign before the keywords, or to place the keywords between quotation marks: the formulas LM over %LN and %IM over %IN (or LM over "LN" and "IM" over "IN") give:

Likewise if you want to write some angles, such as DEF, you have to replace widehat DEF with widehat %DEF (or widehat "DEF").

[edit] Keywords List

There are a lot of keywords. You will find the keyword list by going in the Help menu then in the NeoOffice Help sub-menu. Choose NeoOffice Math in the drop-down menu, then click on Formula Reference Tables in the How to Work With NeoOffice Math section.

[edit] Using Special Symbols

The & and | symbols are used to logical AND and OR respectively, the ^ and _ symbols for superscripts and subscripts, and the # symbol is used in stacks and matrices. If you want that they appear in a formula, you need to put them in quotation marks. For instance, to write a&b, enter a"&"b in the command window.

You can get a|b by typing a divides b, and |a| by typing abs a in the command window.



This article in other languages: Français Italiano Español
Personal tools