We appreciate the opportunity to use Math Toolkit with wonderful features.
But when the conversion to math formula is made, the letters like a, x, etc.. are displayed as normal fonts rather than the ones used in math formula like below image.
So we wonder how we can select the font that are normally used in math formula.
Thank you. Kim
Best Answer
D
Deleted Agent
said
over 7 years ago
Dear Kim, You can select the font you want using the method setTypeface, please refer to the MathWidget Android documentation.
void setTypeface(Typeface typeface) Set equation text font. Default font is STIXGeneral.ttf if available in assets folder or default application font otherwise.
Additionnally, you can use the following methods for variable names: void setItalicTypeface(Typeface italicTypeface) Set equation text font for items that will be italicized like variable names. Default value is null. When null, the italics is calculated based on the text font. Best regards
1 Comment
D
Deleted Agent
said
over 7 years ago
Answer
Dear Kim, You can select the font you want using the method setTypeface, please refer to the MathWidget Android documentation.
void setTypeface(Typeface typeface) Set equation text font. Default font is STIXGeneral.ttf if available in assets folder or default application font otherwise.
Additionnally, you can use the following methods for variable names: void setItalicTypeface(Typeface italicTypeface) Set equation text font for items that will be italicized like variable names. Default value is null. When null, the italics is calculated based on the text font. Best regards
HK Kim
Dear Cate,
We appreciate the opportunity to use Math Toolkit with wonderful features.
But when the conversion to math formula is made,
the letters like a, x, etc.. are displayed as normal fonts rather than the ones used in math formula like below image.
So we wonder how we can select the font that are normally used in math formula.
Thank you.
Kim
Dear Kim,
You can select the font you want using the method setTypeface, please refer to the MathWidget Android documentation.
void setTypeface(Typeface typeface)
Set equation text font. Default font is STIXGeneral.ttf if available in assets folder or default application font otherwise.
Additionnally, you can use the following methods for variable names:
void setItalicTypeface(Typeface italicTypeface)
Set equation text font for items that will be italicized like variable names. Default value is null. When null, the italics is calculated based on the text font.
Best regards
Deleted Agent
Dear Kim,
You can select the font you want using the method setTypeface, please refer to the MathWidget Android documentation.
void setTypeface(Typeface typeface)
Set equation text font. Default font is STIXGeneral.ttf if available in assets folder or default application font otherwise.
Additionnally, you can use the following methods for variable names:
void setItalicTypeface(Typeface italicTypeface)
Set equation text font for items that will be italicized like variable names. Default value is null. When null, the italics is calculated based on the text font.
Best regards