<?xml version="1.0" encoding="UTF-8"?>
<?latexml class="article"?>
<?latexml RelaxNGSchema="LaTeXML"?>
<document xmlns="http://dlmf.nist.gov/LaTeXML">
  <resource src="LaTeXML.css" type="text/css"/>
  <resource src="ltx-article.css" type="text/css"/>
  <section inlist="toc" xml:id="S1">
    <tags>
      <tag>1</tag>
      <tag role="refnum">1</tag>
      <tag role="typerefnum">§1</tag>
    </tags>
    <title><tag close=" ">1</tag>Testing</title>
    <para xml:id="S1.p1">
      <p>Testing raw tex macros:
Expect inline math: xx<Math mode="inline" tex="a+b" text="a + b" xml:id="S1.p1.m1">
          <XMath>
            <XMApp>
              <XMTok meaning="plus" role="ADDOP">+</XMTok>
              <XMTok font="italic" role="UNKNOWN">a</XMTok>
              <XMTok font="italic" role="UNKNOWN">b</XMTok>
            </XMApp>
          </XMath>
        </Math>xx</p>
    </para>
    <para xml:id="S1.p2">
      <p>Expect display math: xx</p>
      <equation xml:id="S1.Ex1">
        <Math mode="display" tex="a+b" text="a + b" xml:id="S1.Ex1.m1">
          <XMath>
            <XMApp>
              <XMTok meaning="plus" role="ADDOP">+</XMTok>
              <XMTok font="italic" role="UNKNOWN">a</XMTok>
              <XMTok font="italic" role="UNKNOWN">b</XMTok>
            </XMApp>
          </XMath>
        </Math>
      </equation>
      <p>xx</p>
    </para>
    <para xml:id="S1.p3">
      <p>Expect 2 empty maths: xxa+bxx</p>
    </para>
    <para xml:id="S1.p4">
      <p>Testing latex macros
Expect (onearg: one) (onearg: one)
Expect (twoarg: one two) (twoarg: one ; two)
Expect (twoargopt: one ; two) (twoargopt: one ; two)
Expect (twoargopt: missing ; two)(twoargopt: missing ; two)</p>
    </para>
    <para xml:id="S1.p5">
      <p>Testing whitespace:
Expect (twoarg: a ; b) (twoarg: a ; b)
Expect (textwoarg: a ; b) (textwoarg: a ; b)
Expect (twoargopt: a ; b) (twoargopt: a ; b)</p>
    </para>
    <para xml:id="S1.p6">
      <p>Expecting (beep) : (beep)</p>
    </para>
    <para xml:id="S1.p7">
      <p>Expecting (foo) : (foo)</p>
    </para>
    <para xml:id="S1.p8">
      <p>Expect [[x]] : [[x]]Expect (y(x)y) : (y(x)y)
Expect [[x]] : [[x]]</p>
    </para>
    <para xml:id="S1.p9">
      <p>Expect NOW a LATER b MUCHLATER c: NOW a LATER b MUCHLATER c</p>
    </para>
  </section>
</document>
