Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
1 <?xml version="1.0" encoding="us-ascii"?>
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <meta http-equiv="content-type"
5 content="application/xhtml+xml; charset=us-ascii" />
6 <title>Test mstyle</title>
7 <style type="text/css">
8 table { width: 100%; border-collapse: collapse; }
9 td { border: solid black 1px; }
10 </style>
11 </head>
13 <body>
15 <table>
16 <tbody>
17 <tr>
18 <td>mfenced: open, close, separators </td>
19 <td><math xmlns="http://www.w3.org/1998/Math/MathML">
20 <mstyle open="[" close="]" separators=";">
21 <mfenced>
22 <mn>1</mn>
23 <mn>2</mn>
24 </mfenced>
25 </mstyle>
26 </math></td>
27 </tr>
28 <tr>
29 <td>menclose: notation</td>
30 <td><math xmlns="http://www.w3.org/1998/Math/MathML">
31 <mstyle notation="box">
32 <menclose>
33 <mtext>menclose</mtext>
34 </menclose>
35 </mstyle>
36 </math></td>
37 </tr>
38 <tr>
39 <td>mfrac: bevelled, linethickness</td>
40 <td><math xmlns="http://www.w3.org/1998/Math/MathML">
41 <mstyle bevelled="true" linethickness="thick">
42 <mfrac>
43 <mi>a</mi>
44 <mi>b</mi>
45 </mfrac>
46 </mstyle>
47 </math></td>
48 </tr>
49 <tr>
50 <td>mfrac: numalign</td>
51 <td><math xmlns="http://www.w3.org/1998/Math/MathML">
52 <mstyle numalign="right">
53 <mfrac>
54 <mn>1</mn>
55 <mn>234</mn>
56 </mfrac>
57 </mstyle>
58 </math></td>
59 </tr>
60 <tr>
61 <td>mfrac: denomalign</td>
62 <td><math xmlns="http://www.w3.org/1998/Math/MathML">
63 <mstyle denomalign="right">
64 <mfrac>
65 <mn>123</mn>
66 <mn>4</mn>
67 </mfrac>
68 </mstyle>
69 </math></td>
70 </tr>
71 <tr>
72 <td>mmultiscripts: subscriptshift, superscriptshift </td>
73 <td><math xmlns="http://www.w3.org/1998/Math/MathML">
74 <mstyle subscriptshift="1em" superscriptshift="1em">
75 <mmultiscripts>
76 <mi>a</mi>
77 <mi>b</mi>
78 <mi>c</mi>
79 <mprescripts/>
80 <mi>e</mi>
81 <mi>f</mi>
82 </mmultiscripts>
83 </mstyle>
84 </math></td>
85 </tr>
86 <tr>
87 <td>msubsup: subscriptshift, superscriptshift</td>
88 <td><math xmlns="http://www.w3.org/1998/Math/MathML">
89 <mstyle subscriptshift="1em" superscriptshift="1em">
90 <msubsup>
91 <mi>a</mi>
92 <mi>b</mi>
93 <mi>c</mi>
94 </msubsup>
95 </mstyle>
96 </math></td>
97 </tr>
98 <tr>
99 <td>msub: subscriptshift</td>
100 <td><math xmlns="http://www.w3.org/1998/Math/MathML">
101 <mstyle subscriptshift="1em">
102 <msub>
103 <mi>a</mi>
104 <mi>b</mi>
105 </msub>
106 </mstyle>
107 </math></td>
108 </tr>
109 <tr>
110 <td>msup: superscriptshift</td>
111 <td><math xmlns="http://www.w3.org/1998/Math/MathML">
112 <mstyle superscriptshift="1em">
113 <msup>
114 <mi>a</mi>
115 <mi>b</mi>
116 </msup>
117 </mstyle>
118 </math></td>
119 </tr>
120 </tbody>
121 </table>
122 </body>
123 </html>