Contents Previous Next Subchapters

Setting the Font for Editors
Syntax editorfont(face,size)
See Also Editor Windows

Description
Sets the current default font for editor windows. The type face is set to face, where face is a character row vector. The font point size is set to size, where size is a positive integer scalar.

The editorfont command only changes font settings for subsequently opened editors, not currently active edit windows. You may use the "Options | Editor Font" menu command to change the font settings of a currently active edit window.

Font sizes are limited to a maximum of 64 points. In addition if you specify a point size that is not directly supported on your system the closest available size will be used.

Example
If you enter the command
     editorfont("Arial",32)
O-Matrix will set the default editor font to Arial with a 32 point size.