If you need to dynamically create equations based on user input, you probably need a library.
You can get some formatting in HTML and use Html.fromHtml , but you will be limited. Mostly useful for sub and add-ons. For instance,
Html.fromHtml("A<sup>2</sup>+B<sup>2</sup> = C<sup>2</sup>")
gives a rendering of the Pythagorean equation.
If you do not need to dynamically generate equations, but instead you have a set of reference equations that you want to show unmodified, you can always transfer them to PNG and display them as images. There are additions to LaTeX and various online equation editors such as this one that will provide you with PNG.
source share