Contents Previous Next Subchapters

Setting Graphics Text Font Styles
Syntax functionfont(type facesizecolorstyle...)
See Also gtitlefont(type face, size, color)

Description
Sets the font for subsequent calls to the specified function, where function is one of the following: gaddtext, gtitle, gxtitle, gytitle, gztitle, gxtick, gytick, or gztick. Any number of the special styles "bold", "italic", "underline", and "overstrike" can be specified by the style...) part of the syntax. The argument type face is described in gtitlefont(type face) , the argument size is described in gtitlefont(type face, size) , and the argument color is described in gtitlefont(type face, size, color) .

Example
If you enter
     ginit
     typeface = "symbol"
     size     = 16
     color    = "red"
     gaddtextfont(typeface, size, color, "underline", "italic")
     gaddtext("abg", [.5, .5])
O-Matrix will place a large red underlined italic version the Greek letters alpha, beta, and gamma in the center of the Graphic 0 window.