How do I change the fonts used in my formula?

From Apache OpenOffice Wiki
< Documentation‎ | FAQ‎ | Formula
Revision as of 12:34, 7 April 2009 by Mwaller (Talk | contribs)

Jump to: navigation, search


How do I change the fonts used in my formula?


Math uses 7 different text fonts to typeset formulas - in addition to symbol fonts (mainly the StarMath font).

The basic fonts are:

  • Variables. Variables (such as x, a etc.) are usually typeset in italics; the default is Times New Roman, italics.
  • Functions. Functions (such as cos, log etc.) are usually typeset in upright shape; the default is Times New Roman.
  • Numbers. Numbers (such as 217 are usually typeset in upright shape; the default is Times New Roman.
  • Text. Text (such as "abc") is usually typeset in upright shape; the default is Times New Roman.
  • Serif is an additional, serifed font. The default is Times New Roman.
  • Sans is an additional, sans serif font. The default is Helvetica/Arial.
  • Fixed is an additional fixed-width font. The default is Courier.


You can read about how to use these fonts in How do I change the font of a subformula?.

To change one of the fonts follow these steps:

  1. Select Format-Fonts.
  2. Click Modify and select the font you wish to modify in the pop-up menu.
  3. Select the font in the list. You can also check one or both the checkboxes Bold and Italic.
  4. Close the dialog with OK.


This will change the font for the current formula. The next time you want to use the same font it will already be in the list box; you don't have to click Modify again.

To change the default fonts follow these steps:

  1. Select Format-Fonts.
  2. Choose the seven fonts as described above.
  3. Click Default.

This will save your settings as the default fonts to be used in a new formula.

To change the base size of the formula select Format-Font Size and enter the size you want. All other font sizes are relative to the base size. The default is 12 pt.

This will change the base size for the current formula only. To change the default base size (applied to new formulas only), you should click Default before you close the dialog. There is no way to easily change the base size of many formulae.


Personal tools