Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M MathJax
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 304
    • Issues 304
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MathJax
  • MathJax
  • Wiki
  • Semantic Embedding Examples

Semantic Embedding Examples · Changes

Page history
Updated Semantic Embedding Examples (markdown) authored Apr 14, 2015 by Volker Sorge's avatar Volker Sorge
Show whitespace changes
Inline Side-by-side
Semantic-Embedding-Examples.md
View page @ 52f1edd5
......@@ -105,6 +105,7 @@ Enriched MathML:
## Multiple Operations
Original MathML:
```html
<math>
<mi>a</mi>
......@@ -118,6 +119,7 @@ Enriched MathML:
```
Semantically enriched MathML:
```html
<math>
<mrow semantic-type="infixop" semantic-role="addition" id="9" semantic-content="5" semantic-children="8,6">
......@@ -137,3 +139,47 @@ Enriched MathML:
```
Original MathML:
```html
<math>
<mi>a</mi>
<mo>+</mo>
<mi>b</mi>
<mo>∘</mo>
<mi>c</mi>
<mi>d</mi>
<mo>+</mo>
<mi>e</mi>
<mo>∘</mo>
<mi>f</mi>
</math>
```
Semantically enriched MathML:
```html
<math>
<mrow semantic-type="infixop" semantic-role="addition" id="10" semantic-content="1,6" semantic-children="0,13,14">
<mi semantic-type="identifier" semantic-role="latinletter" id="0" semantic-parent="0">a</mi>
<mo semantic-type="operator" semantic-role="addition" id="1" semantic-operator="infixop,+" semantic-parent="1">+</mo>
<mrow semantic-type="infixop" semantic-role="multiplication" id="13" semantic-content="3" semantic-children="2,12" semantic-parent="13">
<mi semantic-type="identifier" semantic-role="latinletter" id="2" semantic-parent="2">b</mi>
<mo semantic-type="operator" semantic-role="multiplication" id="3" semantic-operator="infixop,∘" semantic-parent="3">∘</mo>
<mrow semantic-type="infixop" semantic-role="implicit" id="12" semantic-content="11" semantic-children="4,5" semantic-parent="12">
<mi semantic-type="identifier" semantic-role="latinletter" id="4" semantic-parent="4">c</mi>
<mrow semantic-type="operator" semantic-role="multiplication" id="11" semantic-children="" semantic-operator="infixop,⁢" semantic-parent="11"/>
<mi semantic-type="identifier" semantic-role="latinletter" id="5" semantic-parent="5">d</mi>
</mrow>
</mrow>
<mo semantic-type="operator" semantic-role="addition" id="6" semantic-operator="infixop,+" semantic-parent="6">+</mo>
<mrow semantic-type="infixop" semantic-role="multiplication" id="14" semantic-content="8" semantic-children="7,9" semantic-parent="14">
<mi semantic-type="identifier" semantic-role="latinletter" id="7" semantic-parent="7">e</mi>
<mo semantic-type="operator" semantic-role="multiplication" id="8" semantic-operator="infixop,∘" semantic-parent="8">∘</mo>
<mi semantic-type="identifier" semantic-role="latinletter" id="9" semantic-parent="9">f</mi>
</mrow>
</mrow>
</math>
```
Clone repository

MathJax Wiki

  • Contributing
    • Contributor License Agreement etc
    • Quick guide to translating mathjax
  • Development
    • Development Process
      • Release Process Checklist
      • Documentation Update Process
      • Source Control Policies
    • Design Documents
      • MathJax Roadmap
      • CDN Hosting
        • CDN requirements
        • CDN Hosting at Google Cloud Storage
      • Performance Discussion
      • Profiling and Diagnostics Tools
      • Documentation generation guide
      • Testing
        • Platforms supported
        • Test Machines
  • MathJax web presence