Debian Codegraph @

test/sample-mml.html

raw
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>MathJax MathML Test Page</title>
5 <!-- Copyright (c) 2010-2020 The MathJax Consortium -->
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7 <meta http-equiv="X-UA-Compatible" content="IE=edge" />
8 <meta name="viewport" content="width=device-width, initial-scale=1">
9
10 <script type="text/javascript" src="../MathJax.js?config=MML_HTMLorMML-full"></script>
11
12 </head>
13 <body>
14
15 <p>
16 When
17 <math xmlns="http://www.w3.org/1998/Math/MathML">
18 <mi>a</mi><mo>&#x2260;</mo><mn>0</mn>
19 </math>,
20 there are two solutions to
21 <math xmlns="http://www.w3.org/1998/Math/MathML">
22 <mi>a</mi><msup><mi>x</mi><mn>2</mn></msup>
23 <mo>+</mo> <mi>b</mi><mi>x</mi>
24 <mo>+</mo> <mi>c</mi> <mo>=</mo> <mn>0</mn>
25 </math>
26 and they are
27 <math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
28 <mi>x</mi> <mo>=</mo>
29 <mrow>
30 <mfrac>
31 <mrow>
32 <mo>&#x2212;</mo>
33 <mi>b</mi>
34 <mo>&#x00B1;</mo>
35 <msqrt>
36 <msup><mi>b</mi><mn>2</mn></msup>
37 <mo>&#x2212;</mo>
38 <mn>4</mn><mi>a</mi><mi>c</mi>
39 </msqrt>
40 </mrow>
41 <mrow> <mn>2</mn><mi>a</mi> </mrow>
42 </mfrac>
43 </mrow>
44 <mtext>.</mtext>
45 </math>
46 </p>
47
48 </body>
49 </html>