Answered

Answer

Hi kousuke fujii,

On Math blocks, `font-size` is not taken into account as our Math engine needs to stretch glyphs in order to render a nice equation.

If you are using a Text Document part, then for the time being there is now way to change the font size of a Math block.

If you are using a Math part, then we'll ensure the converted equation fits into the current view, with some margins defined in the configuration (see for example `math.margin.top` in iink SDK configuration documentation) - so you could play your view size and margins to ensure the converted equation fits where you want.

Best Regards,

Gildas

## kousuke fujii

I am developing applications using Android's Interactive Ink.

I'd like to change the size of mathematical expressions converted in math mode.

I know that the text converted in text mode can be resized with the "setTheme" method.

However, I do not know how to change the size of the converted formula.

Is it possible to resize the converted formula?

Gildas Lemariésaid almost 2 years agoHi kousuke fujii,

On Math blocks, `font-size` is not taken into account as our Math engine needs to stretch glyphs in order to render a nice equation.

If you are using a Text Document part, then for the time being there is now way to change the font size of a Math block.

If you are using a Math part, then we'll ensure the converted equation fits into the current view, with some margins defined in the configuration (see for example `math.margin.top` in iink SDK configuration documentation) - so you could play your view size and margins to ensure the converted equation fits where you want.

Best Regards,

Gildas

1 person has this question