Skip to content

Commit 6dc87c9

Browse files
committed
extend Roman numeral example
1 parent ff91b51 commit 6dc87c9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

intent-examples/addmathcat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ def ApplyMathCAT (i,mml,firstln):
9292
i=i+1
9393
if(i % 3 == 2):
9494
print("<tr>")
95-
print("<td>")
95+
print("<td n=2>")
9696
print(mmltd)
9797
print("</td>")
9898
if(i % 3 == 2 or i % 3 == 0):
99-
print("<td>")
99+
print("<td n=30>")
100100
mmls=re.split(r'(<math\b.*?</math>)',str(mmltd), flags=re.DOTALL)
101101
j=0
102102
for mml in mmls:

intent-examples/examples.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,12 @@ <h1>Intent Examples</h1>
134134
<tr>
135135
<td>
136136
<math display='block'>
137-
<mi>X</mi><mo>,</mo><mi>XVI</mi>
137+
<mn>X</mn><mo>,</mo><mn>XVI</mn>
138138
</math>
139139
</td>
140140
<td>
141141
<math display='block'>
142-
<mi intent=':roman-numeral'>X</mi><mo>,</mo><mi intent=':roman-numeral'>XVI</mi>
142+
<mn intent=':roman-numeral'>X</mn><mo>,</mo><mn intent=':roman-numeral'>XVI</mn>
143143
</math>
144144
</td>
145145
<td>\text{XVI}</td>

0 commit comments

Comments
 (0)