I have forgotten
my Password

Or login with:

  • Facebookhttp://facebook.com/
  • Googlehttps://www.google.com/accounts/o8/id
  • Yahoohttps://me.yahoo.com
Index » Products » LaTeX Equation Editor »

Newbie question: automatic white background

NeilHamburger\′s Photo
15 Sep 18, 11:00PM
Newbie question: automatic white background
I'm trying to embed a simple equation editor onto my website. A toolbar is unnecessary, but I do want the math to have a white background by default (because copying images with transparent background to the clipboard makes weird things happen). Is there any easy way of doing that? Right now I am using

<head>
<center>
<link rel="stylesheet" type="text/css"
  href="http://latex.codecogs.com/css/equation-embed.css" />
<!--[if lte IE 7]>
<link rel="stylesheet" href="http://latex.codecogs.com/css/ie6.css" type="text/css"/>
<![endif]-->
<script type="text/javascript"
  src="http://latex.codecogs.com/js/eq_config.js" ></script>
<script type="text/javascript"
  src="http://latex.codecogs.com/js/eq_editor-lite-19.js" ></script>
</head>
<div id="toolbar"></div><br>
<textarea id="latexInput" rows="6" cols="70"></textarea>
<img id="equation" align="middle" />
</center>
 
<script type="text/javascript">
    EqEditor.add(new EqTextArea('equation', 'latexInput'),false);
    EqEditor.setFormat('png');
</script>

Alternatively, is there anything I can stick after editor.php that'll default the format to png and the background color to white? I'd be content iframing a link like
http://latex.codecogs.com/eqneditor/editor.php?design=:urc,bg,size,format
if that were an option.

Thanks.

Currently you need to be logged in to leave a message.