# [LON-CAPA-users] Increasing the math font in the XML style sheet

Seema Ali sali at vsb.bc.ca
Fri Jan 27 18:09:21 EST 2012

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 />

<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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.lon-capa.org/pipermail/lon-capa-users/attachments/20120127/d4522b85/attachment-0001.html>