| <!doctype html> |
| <html> |
| <head> |
| <title>fractions linethickness</title> |
| <meta charset="utf-8"/> |
| <style type="text/css"> |
| /* For Latin Modern Math |
| FractionRuleThickness = 40 * 25 / 1000 = 1px; |
| */ |
| math { |
| font-family: "Latin Modern Math"; |
| font-size: 25px; |
| } |
| </style> |
| </head> |
| <body> |
| |
| <!-- From the MathML spec: |
| 'The default value is "medium", "thin" is thinner, but visible, |
| "thick" is thicker; the exact thickness of these is left up to the |
| rendering agent.' |
| 'A number without a unit is intepreted as a multiple of the default |
| value.' |
| |
| We follow the suggestion of the MathML in HTML5 implementation note and interpret thin as 50% and thick as 200%. |
| --> |
| |
| <math> |
| <mfrac linethickness="0.5px"><mn>1</mn><mn>2</mn></mfrac> |
| <mfrac linethickness="1px"><mn>1</mn><mn>2</mn></mfrac> |
| <mfrac linethickness="2px"><mn>1</mn><mn>2</mn></mfrac> |
| <mfrac linethickness="5px"><mn>1</mn><mn>2</mn></mfrac> |
| </math> |
| |
| </body> |
| </html> |