[LON-CAPA-users] Increasing the math font in the XML style sheet
Gerd Kortemeyer
korte at lite.msu.edu
Fri Jan 27 19:36:06 EST 2012
Hi,
You might want to try the other math display modes, for example MimeTeX or jsMath. You can set those in your course preferences.
Main Menu -> Modify Course Configuration -> Display of Resources -> Force use of a specific math rendering engine
Needs course reinitialization to kick in.
- Gerd.
On Jan 27, 2012, at 6:09 PM, Seema Ali wrote:
> I'd like to be able increase the math font so that the fractions are easier to read. If I use display math it ends up on a new line and centred. I know that the span tag's math class affects the math formulas, but I can't figure out how to increase the size by 1 or 2.
>
> Below is an example of the problem.
>
> Thanks.
>
>
> <problem>
> <script type="loncapa/perl">$exponent = &random(10,12,1);
> $term = &random(5, $exponent-2,1);
>
> $index= &random(1,2,1);
> $numerator = &choose($index, 3,5);
>
> $index= &random(1,2,1);
> $denom = &choose($index, 2,4);
>
> $termnumerator = $numerator^$term * &factorial($exponent) / (&factorial($term) * &factorial($exponent-$term));
> $termdenominator = $denom^$term;
>
> #$ANSWER = $numerator/$denom;</script><startouttext />One of the terms in the expansion of <m eval="on">$(x + b)^{$exponent}$</m>, where <m>$b > 0$</m>is <m eval="on">$\frac{$termnumerator}{$termdenominator}x^{$term}$</m>. Find the value of <m>$b$</m>. Do not approximate your answer.
> <br />
> <br />
>
> Answer:<endouttext />
> <formularesponse samples="x at 0" answer="$numerator/$denom" id="11">
> <responseparam name="tol" type="tolerance" default="0.000000001" description="Numerical Tolerance" />
> <textline readonly="no" size="25" />
> <hintgroup showoncorrect="no">
> <startouttext /><endouttext />
> </hintgroup>
> </formularesponse>
> </problem>
>
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
More information about the LON-CAPA-users
mailing list