Re: Maths expression drawing library




"Ross Clement (Email address invalid - do not use)" <clemenr@xxxxxxxxxx>
wrote in message
news:1136990945.784794.279910@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi. Are there any free classes or libraries that I could use to create
> mathematical expressions and then paint them to a GUI component? I
> don't mind if this is done indirectly, e.g. by asking for the formula
> to be rendered to an image and then painting the image onto a
> component. I'd need to be able to create formulae containing fairly
> normal stuff such as fractions, roots, powers, functions, summations,
> etc.

Don't know of any libraries specifically for Java, but you may wish to
take a look at MathML. http://www.w3.org/Math/ It's a markup language for
displaying mathematical expressions. There's a list of MathML related
software at http://www.w3.org/Math/Software/ including "converters" that
take MathML as input and output the expression in graphical formats (such as
SVG) which you may then be able to load and paint onto your component.

WebEQ (http://www.dessci.com/en/products/webeq/) in particular is
described as "a collection of Java tools and components for dynamic math
applications and MathML processing." but it isn't free.

- Oliver


.