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'><mfrac linethickness='thin'><mn>1</mn><mn>2</mn></mfrac></math><math xmlns='http://www.w3.org/1998/Math/MathML'><mfrac linethickness='medium'><mn>1</mn><mn>2</mn></mfrac></math><math xmlns='http://www.w3.org/1998/Math/MathML'><mfrac linethickness='thick'><mn>1</mn><mn>2</mn></mfrac></math></p>
25 <p id='t5'>numerator alignment:
26 <math xmlns='http://www.w3.org/1998/Math/MathML'>
27 <mfrac numalign="left">
29 <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>
32 <math xmlns='http://www.w3.org/1998/Math/MathML'>
33 <mfrac numalign="center">
35 <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>
38 <math xmlns='http://www.w3.org/1998/Math/MathML'>
39 <mfrac numalign="right">
41 <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>
45 <p id='t6'>denominator alignment:
46 <math xmlns='http://www.w3.org/1998/Math/MathML'>
47 <mfrac denomalign="left">
48 <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>
52 <math xmlns='http://www.w3.org/1998/Math/MathML'>
53 <mfrac denomalign="center">
54 <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>
58 <math xmlns='http://www.w3.org/1998/Math/MathML'>
59 <mfrac denomalign="right">
60 <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>