caleeli / mathmlformula

Automatically exported from code.google.com/p/mathmlformula
1 stars 0 forks source link

Implementation for Invisible operators #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
http://www.w3.org/TR/MathML2/chapter3.html

3.2.5.5 Invisible operators 
Certain operators that are "invisible" in traditional mathematical 
notation should be represented using specific entity references within mo 
elements, rather than simply by nothing. The entity references used for 
these "invisible operators" are: 

Full name Short name Examples of use 
⁢ ⁢ xy 
⁡ ⁡ f(x) sin x 
⁣ ⁣ m12 

The MathML representations of the examples in the above table are: 

<mrow>
  <mi> x </mi>
  <mo> &InvisibleTimes; </mo>
  <mi> y </mi>
</mrow>

<mrow>
  <mi> f </mi>
  <mo> &ApplyFunction; </mo>
  <mrow>
    <mo> ( </mo>
    <mi> x </mi>
    <mo> ) </mo>
  </mrow>
</mrow>

<mrow>
  <mi> sin </mi>
  <mo> &ApplyFunction; </mo>
  <mi> x </mi>
</mrow>

<msub>
  <mi> m </mi>
  <mrow>
    <mn> 1 </mn>
    <mo> &InvisibleComma; </mo>
    <mn> 2 </mn>
  </mrow>
</msub>

Original issue reported on code.google.com by ionel.alexandru@gmail.com on 19 Dec 2008 at 4:23

GoogleCodeExporter commented 9 years ago

Original comment by ionel.alexandru@gmail.com on 19 Dec 2008 at 4:26

GoogleCodeExporter commented 9 years ago

Original comment by ionel.alexandru@gmail.com on 11 Feb 2009 at 9:40