Skip to content

Commit d16fc4e

Browse files
update integral on msubsup
Relates to #77
1 parent c2ca1f8 commit d16fc4e

1 file changed

Lines changed: 20 additions & 4 deletions

File tree

Nordic MathML Guidelines.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,17 @@ The same principle applies for `<msubsup>`. Note also that the base can be group
634634
</math>
635635
```
636636

637+
Or $\int_a^b$:
638+
639+
```html
640+
<math>
641+
<mo>∫</mo>
642+
<mi>a</mi>
643+
<mi>b</mi>
644+
</math>
645+
```
646+
647+
637648
#### Underscripts and Overscripts, `<munder>`, `<mover>`, `<munderover>`
638649

639650
Underscript notation is marked up using the element `<munder>`. The first child element is the base, and the second child element is the underscript. For example, a summation with a lower limit such as $\sum\limits_{i=1}$ is marked up as follows:
@@ -647,6 +658,7 @@ Underscript notation is marked up using the element `<munder>`. The first child
647658
<mo>=</mo>
648659
<mn>1</mn>
649660
</mrow>
661+
<mi>∞</mi>
650662
</munder>
651663
</math>
652664
```
@@ -700,14 +712,18 @@ Overscript notation is marked up using the element `<mover>`. The first child el
700712
</math>
701713
```
702714

703-
When both an underscript and overscript are needed, the element `<munderover>` is used. The first child element is the base, the second is the underscript and the third is the overscript. For example, an integral with lower and upper limits like $\int_a^b$ is marked up as follows:
715+
When both an underscript and overscript are needed, the element `<munderover>` is used. The first child element is the base, the second is the underscript and the third is the overscript:
704716

705717
```html
706718
<math>
707719
<munderover>
708-
<mo>∫</mo>
709-
<mi>a</mi>
710-
<mi>b</mi>
720+
<mo>∑</mo>
721+
<mrow>
722+
<mi>i</mi>
723+
<mo>=</mo>
724+
<mn>1</mn>
725+
</mrow>
726+
<mi></mi>
711727
</munderover>
712728
</math>
713729
```

0 commit comments

Comments
 (0)