tags:

views:

15

answers:

1

http://jsbin.com/owepu3/edit

I'm using mimeTex to generate LaTex images using a cgi script, and I want to add a dynamic size. However, when the source file gets generated, it drops the "\" from "\Huge".

Any ideas?

+1  A: 

\ is used to escape characters in Javascript.

Try using \\Huge instead.

Alastair Pitts
I tried this, but sometimes it accepts the \ and print "\\huge" as part of the laTex expression
Khan
ok, now I'm confused. Isn't this what you want? I may has misunderstood. What exactly is the URL that you want the image src to be?
Alastair Pitts