Does anyone know if it's possible to use LaTeX markup language to format text for display in an Android application?
For example the text for a TextView can be formatted with HTML to change the font size to small and superscript etc by using the Html.formHtml("String")
method:
TextView aTextView=(TextView) findViewById(R.id.textview1);
aTextView.setText(Html.fromHtml("2<small><sup>5</sup></small>"));
Will display 25 in the TextView.
However what I'd like to something more advanced and format text using perhaps LaTeX to represent Math Function and have that render as a correctly format Math Function in a TextView (or something else).
For example the LaTeX markup "Evaluate the sum $\displaystyle\sum\limits_{i=0}^n i^3
" should be rendered to:
(source: artofproblemsolving.com)
If there's some other way to mark up Math Functions so they display correctly in an Android App other than using LaTeX I'm all open to suggestions!