TextFaces
FormatProperties
.
TextFace
Type of font face.
By default the fixed font is "Consolas". To change this, place this line of code at the global
level:
Main.TextFamily.Fixed = TextFamilies.CourierNew;
None
Mono
SansSerif
Serif
Equation
Symbol
Math
Greek
Example
=
Block
{
TextHeight
:
14pt;
FaceText
(
TextFaces
.
Mono
,
"for (var i = 0; i < 10 ; ++i)"
);
FaceText
(
TextFaces
.
Equation
,
"()/+-"
);
FaceText
(
TextFaces
.
Greek
,
Tex
.
alpha
Tex
.
beta
Tex
.
gamma
);
FaceText
(
TextFaces
.
SansSerif
,
"Sans serif font for headers"
);
FaceText
(
TextFaces
.
Serif
,
"Serif font for body text"
);
FaceText
(
TextFaces
.
Math
,
"E = \u210E\u03BD"
);
FaceText
(
TextFaces
.
Symbol
,
"f(x) = x + 1"
);
};
//============================================================
Mono
for (var i = 0; i < 10 ; ++i)
Equation
()/+-
Greek
αβγ
SansSerif
Sans serif font for headers
Serif
Serif font for body text
Math
E = ℎν
Symbol
f(x) = x + 1