Tomasz Wegrzanowski wrote:
On Thu, May 13, 2004 at 10:27:40PM +0200, David Kastrup wrote:
Hello hackers,
I have just taken a look at some Wikimedia pages, and it struck me as odd that inline math was rendered without attention to the baseline.
HTML side is the difficult one, not the TeX side. How to do that in HTML ?
I have done some testing and come up with a (crude, but mostly working) solution. Point your browser to http://www.mai.liu.se/~jalar/dvipng/test.html
It works with a fairly new Exploder or Mozilla (JS-enabled), which will display math at the right size at the right alignment. If your browser won't redisplay after a font size change, click on one of the images. Sadly there is no "fontSizeChange" JS event.
I haven't done anything about other browsers. Let me know if you want the scripts.
/JÅ