jQuery in Action, 2nd edition*
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
Marshal

Joined: Mar 22, 2005
Posts: 41101
    
  45
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.


Ping & DNS - my free Android networking tools app
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: creating formatted equations, sub/superscripts
 
Similar Threads
MS Math
Displaying superscripts/subscripts in a Swing app
Simple 2D collision response
grabing letter
PDF reader