Before I started to try and make this thing, I wanted to know if it is possible, under the following circumstances:

  • The code to script up that math must be able to be taken, submitted and stored in a database
  • The code for two pieces of math which look exactly the same must have the exact same code
  • According to the requirements, wherever the user clicks his or her mouse, the caret must move to that specific element or part of the math

So, is it possible? I'm looking forward to using technologies such as HTML, JavaScript, jQuery, and even Flash as a last resort.

3

There are 3 answers

0
Paul S. On BEST ANSWER

MathQuill lets you type maths in a WYSIWYG fashion, source here. There is a demo on the homepage.

5
fonZ On

I think you want something like MathML. Take a look here. http://www.w3.org/Math/

or maybe http://code.google.com/p/mathmleditor/

0
Stuart Wakefield On

I found this a while ago http://www.codecogs.com/latex/eqneditor.php pretty useful implementation of LaTeX with a live preview, I've used it a few times. Probably doesn't fit the bill for your point 3 either but just in case it is useful.