LaTeX How to convert MathML code into LATEX code

Click For Summary
The discussion centers around the use of Scientific Workplace 6, specifically the effectiveness of its zip file options for maintaining document formatting. The "Zip file with MathJax" option is highlighted as the most effective for preserving the document's layout and text alignment. Additionally, there is a request for assistance in converting a specific MathML code snippet into math text or LaTeX code. A resource link is provided for a tool that can facilitate the conversion from MathML to LaTeX.
PainterGuy
Messages
938
Reaction score
73
Hi again,

I'm trying a new program, Scientific Workplace 6, which let's me produce a zip file with four different options as shown below. I just noticed that I could open these zip files in browser and format of the document remains intact. I only tried "Zip file with MathJax". Do you know which option of the four is best or more flexible? EDIT: I tried all the options and it looks like "Zip file with MathJax" is the best and it keeps the format intact and text of document properly aligned.

1588571211758.png


Is there any way to convert the following MathML code into math text or LATEX code? Thank you.

Code:
<math xmlns="http://www.w3.org/1998/Math/MathML">
  <mo form="infix">=</mo>
  <munder>
    <mo msimathname="true" form="prefix" movablelimits="true">lim</mo>
    <mrow>
      <mi>s</mi>
      <mo form="infix">&#x2192;</mo>
      <mn>0</mn>
    </mrow>
  </munder>
  <mfrac>
    <mrow>
      <mrow>
        <mo form="prefix" fence="true" stretchy="true" symmetric="true">[</mo>
        <mrow>
          <msup>
            <mrow>
              <mo form="prefix" fence="true" stretchy="true" symmetric="true">(</mo>
              <mrow>
                <mo form="prefix">&#x2212;</mo>
                <mn>1</mn>
                <mo form="infix">+</mo>
                <mfrac>
                  <mi>s</mi>
                  <mroot>
                    <mn>2</mn>
                    <mn>2</mn>
                  </mroot>
                </mfrac>
              </mrow>
              <mo form="postfix" fence="true" stretchy="true" symmetric="true">)</mo>
            </mrow>
            <mn>2</mn>
          </msup>
          <mo form="infix">+</mo>
          <mrow>
            <mo form="prefix" fence="true" stretchy="true" symmetric="true">(</mo>
            <mrow>
              <mo form="prefix">&#x2212;</mo>
              <mn>1</mn>
              <mo form="infix">+</mo>
              <mfrac>
                <mi>s</mi>
                <mroot>
                  <mn>2</mn>
                  <mn>2</mn>
                </mroot>
              </mfrac>
            </mrow>
            <mo form="postfix" fence="true" stretchy="true" symmetric="true">)</mo>
          </mrow>
          <mo>&#x2062;</mo>
          <mrow>
            <mo form="prefix" fence="true" stretchy="true" symmetric="true">(</mo>
            <mrow>
              <mo form="prefix">&#x2212;</mo>
              <mn>2</mn>
              <mo form="infix">+</mo>
              <mfrac>
                <mi>s</mi>
                <mroot>
                  <mn>2</mn>
                  <mn>2</mn>
                </mroot>
              </mfrac>
            </mrow>
            <mo form="postfix" fence="true" stretchy="true" symmetric="true">)</mo>
          </mrow>
        </mrow>
        <mo form="postfix" fence="true" stretchy="true" symmetric="true">]</mo>
      </mrow>
      <mo form="infix">&#x2212;</mo>
      <mrow>
        <mo form="prefix" fence="true" stretchy="true" symmetric="true">[</mo>
        <mrow>
          <msup>
            <mrow>
              <mo form="prefix" fence="true" stretchy="false">(</mo>
              <mrow>
                <mo form="prefix">&#x2212;</mo>
                <mn>1</mn>
              </mrow>
              <mo form="postfix" fence="true" stretchy="false">)</mo>
            </mrow>
            <mn>2</mn>
          </msup>
          <mo form="infix">+</mo>
          <mrow>
            <mo form="prefix" fence="true" stretchy="false">(</mo>
            <mrow>
              <mo form="prefix">&#x2212;</mo>
              <mn>1</mn>
            </mrow>
            <mo form="postfix" fence="true" stretchy="false">)</mo>
          </mrow>
          <mo>&#x2062;</mo>
          <mrow>
            <mo form="prefix" fence="true" stretchy="false">(</mo>
            <mrow>
              <mo form="prefix">&#x2212;</mo>
              <mn>2</mn>
            </mrow>
            <mo form="postfix" fence="true" stretchy="false">)</mo>
          </mrow>
        </mrow>
        <mo form="postfix" fence="true" stretchy="true" symmetric="true">]</mo>
      </mrow>
    </mrow>
    <mi>s</mi>
  </mfrac>
</math>
 
Physics news on Phys.org

Similar threads

Replies
9
Views
2K
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 19 ·
Replies
19
Views
5K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 14 ·
Replies
14
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
6K