Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Swing / AWT / SWT and the fly likes creating formatted equations, sub/superscripts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "creating formatted equations, sub/superscripts" Watch "creating formatted equations, sub/superscripts" New topic
Author

creating formatted equations, sub/superscripts

Karen Nelson
Ranch Hand

Joined: Aug 19, 2005
Posts: 57
Hi,
I need to put some formatted equations into an applet I'm working on. Can anyone give me pointers for how to create subscripts, superscripts, and fraction bars? I have searched with all the terms I can think of and come up with nothing. (I don't need to parse the equations, they will be hard-coded).

Thank you!! Karen.
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
There's HotEqn, which is an applet that can display formulas given to it in a TeX-ish notation. It doesn't come with source, though, but may be a starting point.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: creating formatted equations, sub/superscripts
 
It's not a secret anymore!