[LON-CAPA-users] jsMath configuration

lon-capa-users@mail.lon-capa.org lon-capa-users@mail.lon-capa.org
Tue, 23 May 2006 10:30:07 -0400

<div>Yeah, I didn't know exactly what to use for the type=3D part.<br>
The &lt;font size=3D+2&gt; worked great; I agree, that is a better
solution rather than getting jsMath specific details involved. Thanks,
Minor issue - clicking on the jsMath button thingy does nothing. It
sounds like I am supposed to see some sort of console or something, but
I don't see anything.<br>
I turned off popup blocking (using Firefox) but still nothing.<br>
brew<br></div><font color=3D"#990099">-----lon-capa-users-admin@mail.lon-ca=
pa.org wrote: -----<br><br></font><blockquote style=3D"border-left: 2px sol=
id rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; m=
argin-right: 0px;">To: lon-capa-users@mail.lon-capa.org<br>From: Guy Albert=
elli II &lt;guy@albertelli.com&gt;<br>Sent by: lon-capa-users-admin@mail.lo=
n-capa.org<br>Date: 05/22/2006 05:58PM<br>Subject: Re: [LON-CAPA-users] jsM=
ath configuration<br><br><font face=3D"monospace" size=3D"3">Hi Brew,<br><b=
r>&gt; I am trying to use jsMath to represent equations properly on web pag=
es.<br>&gt;<br>&gt; In a problem, I use the &lt;algebra&gt;y=3D3333/4444&lt=
;/algebra&gt; syntax.<br>...<br>&gt; My minor problem: it looks crummy, bec=
ause the font size used is too small.<br>&gt; <br>&gt; The jsMath site indi=
cates this is common, and recommends using the<br>&gt; following construct =
to scale up the font size:<br>&gt;<br>&gt; &lt;script type=3D"loncapa/jsMat=
h"&gt; jsMath =3D {Controls: {cookie: {scale:<br>&gt;133}}} &lt;/script&gt;=
<br><br>&gt; The question is: where do I put this? Apparently it needs to g=
o<br>&gt; &nbsp;before the jsMath.jar command is issued.<br><br>To pick som=
e nits<br>1) it's the jsMath.js file,<br>2) you'd really want &lt;script ty=
pe=3D"text/javascript"&gt;<br><br>Unfotunately, the JsMath.js will get load=
ed well before you can send<br>any hints to it.<br><br>Additioanly I'd like=
 to try to make authoring not be tied to the<br>jsMath implementation (as t=
he interface to it may change in ways that<br>make old resources stop worki=
ng)<br><br>One thing to note, you can click on the "jsMath" text in the bot=
tom<br>corner of the screen (once you have made jsMath the default) and set=
<br>the default mathematics size for your particular browser session.<br><b=
r>I agree it likely would be nice to influence this in some way as an<br>au=
thor, but currently there isn't a great way, I suspect Felicia <br>&lt;fon =
size=3D"+2"&gt;&lt;algebra&gt;...&lt;/algebra&gt;&lt;/font&gt; looks good f=
or jsMath but<br>not tth....<br><br>So I'm not sure what would be the best =
solution for this.<br><br>Any suggestions?<br><br>&lt;algebra size=3D"large=
r"&gt; ?<br><br>&lt;algebra scale=3D"133%&gt; ?<br><br><br>-- <br>guy@alber=
telli.com &nbsp; 0-7-1-8-27,137<br>=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F<br>LON-CAPA-users mailing list<br>LON-CAPA-user=
s@mail.lon-capa.org<br><a href=3D"http://mail.lon-capa.org/mailman/listinfo=