Fractions in Paragraphs
Any time a MathML fraction occurs in a paragraph, we must set the paragraph class to `line-height-large`. This is true even when MathML is the only thing in the
paragraph. This is accomplished by selecting "Large Line Height" from the Template drop-down:
Presentation
Example
Large Line Height
HTML
<p class="line-height-large”>
Fractions in Lists
A common occurrence is for a fraction to appear in answer choices. Any time any fraction is present in one or more list items, the "Spaced List" style must be applied from
the Style drop-down:
Presentation
Example
HTML
<ol class=“spaced-list”> <li><math><mfrac><mn>1</mn> <mn>3</mn> </mfrac></math></li> <li><math><mfrac><mn>1</mn> <mn>2</mn> </mfrac></math></li> <li><math><mfrac><mn>2</mn> <mn>3</mn> </mfrac></math></li> <li> <math><mfrac><mrow><mn>2</mn><msup> <mi>x</mi> <mn>2</mn> </msup> </mrow> <mrow> <mn>27</mn> </mrow> </mfrac></math> </li> </ol>
Fractions in Tables
Occasionally, you may need to show fractions in a table. In this case, please change `<td>...<mfrac>` to
`<td style="vertical-align:middle;height:2em;">`.