<?xml version="1.0" encoding="us-ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
      "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>MathML Test : Space</title>
  <meta http-equiv="content-type" content="text/html; charset=us-ascii" />
  <meta name="generator" content="Amaya, see http://www.w3.org/Amaya/" />
  <meta name="author" content="Frederic WANG" />
</head>

<body>
<p><a href="index.xml#presentation_elements">Back to home</a></p>

<h1>MathML Test : Space</h1>

<p>This page tests attributes of the mspace element.</p>
<ul>
  <li>No attribute : there may be no effect on rendering 
    <ul>
      <li>mspace : <math xmlns="http://www.w3.org/1998/Math/MathML">
          <mo>[</mo>
          <mspace/>
          <mo>]</mo>
        </math></li>
      <li>no mspace : <math xmlns="http://www.w3.org/1998/Math/MathML">
          <mo>[</mo>
          <mo>]</mo>
        </math></li>
    </ul>
  </li>
  <li><code>width="3em"</code> : <math
    xmlns="http://www.w3.org/1998/Math/MathML">
      <mo>[</mo>
      <mspace width="3em"/>
      <mo>]</mo>
    </math></li>
  <li><code>height="1em"</code> : <math
    xmlns="http://www.w3.org/1998/Math/MathML">
      <mo>[</mo>
      <mspace height="1em"/>
      <mo>]</mo>
    </math></li>
  <li><code>depth="1em"</code> : <math
    xmlns="http://www.w3.org/1998/Math/MathML">
      <mo>[</mo>
      <mspace depth="1em"/>
      <mo>]</mo>
    </math></li>
</ul>

<p>Several values of attribute <code>linebreak</code> :</p>
<ul>
  <li><code>"newline"</code> (start a new line and do not indent) :<math
    xmlns="http://www.w3.org/1998/Math/MathML">
      <mo>[</mo>
      <mspace linebreak="newline"/>
      <mo>]</mo>
    </math></li>
  <li><code>"indentingnewline"</code> (start a new line and do indent) :<math
    xmlns="http://www.w3.org/1998/Math/MathML">
      <mo>[</mo>
      <mspace linebreak="indentingnewline"/>
      <mo>]</mo>
    </math></li>
  <li><code>"goodbreak"</code> (if a linebreak is needed on the line, here is
    a good spot) : 

    <div>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mo>[</mo>
      <mspace linebreak="goodbreak"/>
      <mo>]</mo>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
    </math></div>
  </li>
  <li><code>"badbreak</code>" (if a linebreak is needed on the line, try to
    avoid breaking here) 

    <div>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mo>[</mo>
      <mspace linebreak="badbreak"/>
      <mo>]</mo>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
      <mtext>sometext</mtext>
    </math></div>
  </li>
  <li><code>"newline"</code> with both dimensional attributes (linebreaking
    attribute may be ignored) : <math
    xmlns="http://www.w3.org/1998/Math/MathML">
      <mo>[</mo>
      <mspace depth="1em" width="2em" linebreak="newline"/>
      <mo>]</mo>
    </math></li>
</ul>
</body>
</html>
