IMathFraction class

IMathFraction class

Specifies the fraction object, consisting of a numerator and denominator separated by a fraction bar. The fraction bar can be horizontal or diagonal, depending on the fraction properties. The fraction object is also used to represent the stack function, which places one element above another, with no fraction bar.

The IMathFraction type exposes the following members:

Properties

PropertyDescription
fraction_typeFraction type
Default: Bar
numeratorNumerator
denominatorDenominator

Methods

MethodDescription
join
join
divide
divide
divide
divide
enclose
enclose
function
function
as_argument_of_function
as_argument_of_function
as_argument_of_function
as_argument_of_function
as_argument_of_function
set_subscript
set_subscript
set_superscript
set_superscript
set_sub_superscript_on_the_right
set_sub_superscript_on_the_right
set_sub_superscript_on_the_left
set_sub_superscript_on_the_left
radical
radical
set_upper_limit
set_upper_limit
set_lower_limit
set_lower_limit
nary
nary
integral
integral
integral
integral
integral
group
group
to_border_box
to_border_box
get_children
to_math_array
accent
overbar
underbar
to_box

See Also