Math interactive features

To see the complete list of supported symbols, rules and operations, read this section.

All features described in this page are relying on the full management of the rendering by the iink engine, so they are only available in rendering-driven integrations.

Math animation

MyScript iink SDK can perform math animation (morphing) when converting math strokes to typeset. By default this feature is disabled but can be set up with the math.convert.animate property. In addition to the property activation, the math animation requires the "offscreen rendering" support.

Math solver

MyScript iink SDK not only recognizes equations, it can also solve some of them! Its arithmetic solver can solve input equations under the following conditions:

  • The equation has to contain numbers and/or fractions, and at least one of the following operators or constants:
  • Equations with one unknown can be solved, but the variable has to be highlighted with a question mark, not a letter. Example: "4y × 2 = 24" won't be solved whereas "4 × ? × 2 = 24" will.
  • Equations with more than one unknown can be recognized and typeset, but not solved.

By default math solver is activated but you can disable it.

Manual or automatic solver

You can either choose to add a button so that your user will activate the solver manually or to have your app automatically solve every supported equation. Just choose what is more appropriate to your use case!

Math solver in a Math part or Text Document part

When math solver is activated, converting the math will trigger solving, if the required conditions are in place.

Math solver in a Raw Content part or block

You can use a MathSolverController object to get solver output from a Math block in a Raw Content part with Editor and OffscreenEditor. This object allows you to:

  • list the available actions with the getAvailableActions method (currently only numeric calculation is available),
  • get the solution result as a LaTeX or JIIX string with the getActionOutput method,
  • add the solution output to the math block in the current Content Part with the applyAction method (currently only available with the Editor).

Display features

You can choose the angle unit (degree or radian), how many decimals you want displayed and whether you want results to be rounded or truncated.