<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs 
    title="Quick LaTeX" 
    width="320"
    height="200" 
    author="Gary Tsui" 
    author_email="kwgtsui@cs.hku.hk" 
    author_location="Hong Kong"
    author_affiliation="University of Hong Kong"
    screenshot="http://lh4.google.com/garykwtsui/RvOiFLnE0UI/AAAAAAAAAB8/baFT4dTbJQg/quickLaTexScrnShot280.png"
    description="For Quick LaTeX, kwgtsui only constructed the igoogle html interface, the core relies on the engine found in this website: http://sixthform.info/steve/wordpress/?p=61"
    thumbnail="http://upload.wikimedia.org/wikipedia/commons/thumb/9/92/LaTeX_logo.svg/800px-LaTeX_logo.svg.png"
    />
<Content type="html"><![CDATA[
 <script language="javascript1.2" >
function getLaTeX()
{
	var formulaStr = document.getElementById('formula').value;
	document.getElementById('formulaOutput').innerHTML = "<img src='http://www.forkosh.dreamhost.com/mimetex.cgi?"+formulaStr+"'>";
}
</script>
<table width="100%" height="100%" cellspacing="0" cellpadding="0">
	<tr>
	  <td valign="top" align="left" height="25px">
		<input type="text" id="formula" name="forumla" value=""><input type="button" onClick="getLaTeX()" value="Get LaTeX"><font style="font-size:8px">v 1.0.3</small></td>
	</tr>
	<tr><td height="5px"></td></tr>
	<tr>
		<td height="1px" bgcolor="#CCCCCC"></td>
	</tr>
	<tr><td height="5px"></td></tr>
        <tr><td align="center" valign="middle">
	<table width="65%" height="65%" cellpadding="0" cellspacing="0" style="border-width:1px; padding:'5px' '5px' '5px' '5px'; border-style:dotted; border-color:#CCCCCC" ><tr><td valign="middle" align="center"><div id="formulaOutput" style="width:100%"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/9/92/LaTeX_logo.svg/300px-LaTeX_logo.svg.png"></div></td></tr></table>	
	</td></tr>
</table>
]]></Content>
</Module>
