Also nativ jedenfalls nicht. Und wenn du dir einen eigenen Formeleditor programmieren willst, benötigst du sehr wohl eine Art "Parser", und da geht es sehr gut, einfach einen Matheparser weiterzuentwickeln.
Ansonsten: LaTeX, falls es installiert ist. Ne andere Möglichkeit wäre MathML, wofür allerdings der TMozillaBrowser oder was anderes, MathML kompatibles, gebraucht wird. Oder, wenn es wirklich nur Brüche sind, über HTML-Tabellen vielleicht:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43:
| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> <title></title> </head> <body> <table border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <table border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td>α</td> </tr> <tr> <td style="border-top: 1px solid black;">2</td> </tr> </tbody> </table> </td> <td> <sup>2</sup> × √ </td> <td> <table style="border-top: 1px solid black;" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td>2</td> </tr> </tbody> </table> </td> </tr> </tbody> </table> <br> </body> </html> |
Sieht nicht besonders schön aus, v.a. bei sup- und superscripts, aber es ist eine Lösung die auf jedem Windows-System laufen sollte (ich habe es jetzt nur schnell in Mozilla und IE getestet, sieht weitgehend gleich aus).
EDIT: ich weiß, dass es mit HotEqn ein Java-Applet gibt (nur, weil das im Special Thanks Fenster von GeoGebra steht), das LaTeX-Codes in JPG umwandelt, ohne "LaTeX" selber zu benutzen. Bei torry.net (und ich nehme mal an, damit auch für Delphi) gibt es so gut wie gar nichts.
EDIT2: Eine Einleitung in MathML gibt's hier:
www.dessci.com/en/su...s/mathml/default.htm . Was auch noch eine Lösung wäre: Wikipedia, Matheboard.de oder sonst irgendwas in der Art zum Parsen verwenden. Oder du bastelst dir einen eigenen Server für sowas.