开发者

simplest way to dynamically display math content on web pages

I'd like to let people type math (latex)开发者_运维问答 in a text field and show them the math content dynamically as they type on the same page. how can this be done (i'm developing on windows)?

thanx!


For the dynamic updating part I suggest markitup. In preview mode it updates a "processed" version of what you type (just like the SO text fields).

For the math, I also advise the excellent jsmath (checkout the examples!).

A combination of the two should fit the bill.


I recommend MathJax.

It looks like the most advanced solution and the only one still under active development, as far as I can tell.


mimeTeX or mathTeX.


Try jsMath: http://www.math.union.edu/~dpvc/jsMath/


I agree with Olivier. I use Jay Salvat's markitup on my site. Everything is JavaScript so it's cross-platform. You can create drop-down menu's that organize icons into groups and when you click an icon, JavaScript automatically embeds the code into the textarea. Sometimes fitting the icon into a small space is challenge but it can be done.

I've used it with Drupal and am very pleased with it. js injector automatically embeds the code into specified pages and the jQuery comes for free. (There is a Windows version of Drupal as well).

John Forkosh's Mimetex then renders the equation. The query is sent via jQuery AJAX so you don't need a page refresh. I'm pretty sure there is a Windows version of Mimetex.

Jay Salvat's Markitup

MarkItUp/MimeTex/jQuery/AJAX Implementation

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜