1 <html xmlns='http://www.w3.org/1999/xhtml'>
3 <title>Fractions</title>
6 <p id='t1'>simple: <math xmlns='http://www.w3.org/1998/Math/MathML'><mfrac><mn>1</mn>bad<mn>2</mn></mfrac></math></p>
7 <p id='t2'>more complex (should be red):
8 <math xmlns='http://www.w3.org/1998/Math/MathML'>
9 <mfrac style="color: red;">
10 <mrow><mi>x</mi><mo>+</mo>bad<mn>1</mn></mrow>
11 <mrow><mi>x</mi><mo>+</mo><mn>2</mn></mrow>
16 <math xmlns='http://www.w3.org/1998/Math/MathML'>
18 <mtext>number of bugs</mtext>
19 <mtext>number of changes</mtext>
23 <p id='t4'>line thickness by keyword:
24 <math xmlns='http://www.w3.org/1998/Math/MathML' mathsize="32 px">
25 <mfrac linethickness='thin'><mn>1</mn><mn>2</mn></mfrac>
26 <mfrac linethickness='medium'><mn>1</mn><mn>2</mn></mfrac>
27 <mfrac linethickness='thick'><mn>1</mn><mn>2</mn></mfrac>
30 <p id='t5'>numerator alignment:
31 <math xmlns='http://www.w3.org/1998/Math/MathML'>
32 <mfrac numalign="left">
34 <mrow><mn>1</mn><mo>+</mo><mn>2</mn><mo>+</mo><mn>3</mn><mo>+</mo><mn>4</mn><mo>+</mo><mn>5</mn></mrow>
37 <math xmlns='http://www.w3.org/1998/Math/MathML'>
38 <mfrac numalign="center">
40 <mrow><mn>1</mn><mo>+</mo><mn>2</mn><mo>+</mo><mn>3</mn><mo>+</mo><mn>4</mn><mo>+</mo><mn>5</mn></mrow>
43 <math xmlns='http://www.w3.org/1998/Math/MathML'>
44 <mfrac numalign="right">
46 <mrow><mn>1</mn><mo>+</mo><mn>2</mn><mo>+</mo><mn>3</mn><mo>+</mo><mn>4</mn><mo>+</mo><mn>5</mn></mrow>
50 <p id='t6'>denominator alignment:
51 <math xmlns='http://www.w3.org/1998/Math/MathML'>
52 <mfrac denomalign="left">
53 <mrow><mn>1</mn><mo>+</mo><mn>2</mn><mo>+</mo><mn>3</mn><mo>+</mo><mn>4</mn><mo>+</mo><mn>5</mn></mrow>
57 <math xmlns='http://www.w3.org/1998/Math/MathML'>
58 <mfrac denomalign="center">
59 <mrow><mn>1</mn><mo>+</mo><mn>2</mn><mo>+</mo><mn>3</mn><mo>+</mo><mn>4</mn><mo>+</mo><mn>5</mn></mrow>
63 <math xmlns='http://www.w3.org/1998/Math/MathML'>
64 <mfrac denomalign="right">
65 <mrow><mn>1</mn><mo>+</mo><mn>2</mn><mo>+</mo><mn>3</mn><mo>+</mo><mn>4</mn><mo>+</mo><mn>5</mn></mrow>