Android Question Math Formula Formats?

JohnD

Active Member
Licensed User
Longtime User
I'm looking for an easy way to create math formulas correctly formatted with randomly generated variable values. For example, I would like to use the quadratic formula and be able to replace the coefficients a, b, and c with randomly generated values. I'm assuming this would exclude using a bitmap?? Here's what I've thought of as a possible solution:

1.) Use a panel/label combination to have the variables and values strung together where I can
2.) Put a canvas over the label and draw the tricky parts of the formula like the long radical sign at the correct coordinates.

Could anyone tell me if they know of an easier solution? Thanks, JD.
 

mc73

Well-Known Member
Licensed User
Longtime User
Surely it can be done this way.
Still, for better results I would search for a latex engine. If not found, I would try setting a webview getting results from an online latex-to-html conversion tool.
 
Upvote 0
Top