<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5//EN" "http://cnx.rice.edu/cnxml/0.5/DTD/cnxml_plain.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="m10221">
  <name>Exhaustive Figure and Table Combinations</name>
  <metadata>
  <md:version>2.25</md:version>
  <md:created>2001/07/24</md:created>
  <md:revised>2006/10/31 19:23:46.339 US/Central</md:revised>
  <md:authorlist>
      <md:author id="maxwell">
      <md:firstname>Max</md:firstname>
      
      <md:surname>Starkenburg</md:surname>
      <md:email>maxwell@rice.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist>
    <md:maintainer id="maxwell">
      <md:firstname>Max</md:firstname>
      
      <md:surname>Starkenburg</md:surname>
      <md:email>maxwell@rice.edu</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  <md:keywordlist>
    <md:keyword>cals</md:keyword>
    <md:keyword>caption</md:keyword>
    <md:keyword>cnxml</md:keyword>
    <md:keyword>colname</md:keyword>
    <md:keyword>colnum</md:keyword>
    <md:keyword>colspec</md:keyword>
    <md:keyword>entry</md:keyword>
    <md:keyword>entrytbl</md:keyword>
    <md:keyword>example</md:keyword>
    <md:keyword>figure</md:keyword>
    <md:keyword>media</md:keyword>
    <md:keyword>nameend</md:keyword>
    <md:keyword>namest</md:keyword>
    <md:keyword>row</md:keyword>
    <md:keyword>spanname</md:keyword>
    <md:keyword>spanspec</md:keyword>
    <md:keyword>subfigure</md:keyword>
    <md:keyword>table</md:keyword>
    <md:keyword>tbody</md:keyword>
    <md:keyword>tfoot</md:keyword>
    <md:keyword>tgroup</md:keyword>
    <md:keyword>thead</md:keyword>
  </md:keywordlist>

  <md:abstract>This module provides examples of figures, subfigures, and captions in varying in shapes and sizes.  It also provides examples of CALS tables in many different variations and attribute permutations for style testing purposes.</md:abstract>
</metadata>
  <content>   
    <section id="section-01">
      <name>No Subfigures, Unstretched Caption</name>
      <figure id="figure-01">
        <name>Tall and Narrow Media, Without Caption</name>
        <media type="image/png" src="tall.png"/>
      </figure>
    </section> 
    <section id="section-02">
      <name>No Subfigures, Short Unstretched Caption</name>
      <figure id="figure-02">
        <media type="image/png" src="tall.png"/>
        <caption>Damn.</caption>
      </figure>
    </section>
    <section id="section-03">
      <name>No Subfigures, Stretched Caption</name>
      <figure id="figure-03">
        <name>Codeblock in a Centered Table Cell</name>
        <code type="block">
this is some               pretend codeblock
      please
          
just use
                 your
    imagination
this last line is longer than the rest to see how well the caption stretches
        </code>
        <caption>
          The codeblock above is inside a figure which likely will
          have a center alignment, yet it retains its natural left
          alignment because of the way it is styled.  It also
          stretches out this caption, which normally would have a
          width of 50%
        </caption>
      </figure>
    </section>
    <section id="section-04">
      <name>Horizontal Subfigures, Unstretched Figure</name>
      <figure id="figure-04" orient="horizontal">
        <subfigure id="subfigure-04-01">
          <name>Tall and Narrow Media, Without Caption</name>
          <media type="image/png" src="tall.png"/>
          <caption>
            The picture is tall and narrow.  Some people are tall and
            narrow.  Additionally, some trees are tall and narrow.
            Thus, there are many things that could fill this picture.
          </caption>
        </subfigure>
        <subfigure id="subfigure-04-02">
          <name>Short and Wide Media</name>
          <media type="image/png" src="wide.png"/>
          <caption>
            This picture is short and wide.  Most people aren't shaped
            that way, unless they are lying down.
          </caption>
        </subfigure>
      </figure>
    </section>
    <section id="section-05">
      <name>Horizontal Subfigures, Stretched Figure</name>
      <figure id="figure-05">
        <name>Name of Figure</name>
        <subfigure id="subfigure-05-01">
          <name>Tall and Narrow Media</name>
          <media type="image/png" src="tall.png"/>
          <caption>
            This picture is tall and narrow.  Some people are tall and
            narrow.  Additionally, some trees are tall and narrow.
            Thus, there are many things that could fill this picture.
          </caption>
        </subfigure>
        <subfigure id="subfigure-05-02">
          <name>Short and Wide Media</name>
          <media type="image/png" src="wide.png"/>
        </subfigure>
        <subfigure id="subfigure-05-03">
          <media type="image/png" src="tall.png"/>
          <caption>This picture is tall and narrow.</caption>
        </subfigure>
<!--
        <subfigure id="subfigure-05-04">
          <name>Short and Wide Media</name> 
          <media type="image/png" src="wide.png"/>
          <caption>This picture is short and wide.</caption>
        </subfigure>
-->
        <caption>
	  I don't have anything to say about this figure, except that
        I don't like it very much.  </caption>
      </figure>
    </section>
    <section id="section-06">
      <name>Vertical Subfigures, Unstretched Figure</name>
      <figure id="figure-06" orient="vertical">
        <name>Your Name Goes Here, Without Caption</name>
        <subfigure id="subfigure-06-01">
          <name>Square Media</name>
          <media type="image/png" src="square.png"/>
          <caption>
            This picture is square.  It's width is equal to it's height.
          </caption>
        </subfigure>
        <subfigure id="subfigure-06-02">
          <name>Short and Wide Media</name>
          <media type="image/png" src="wide.png"/>
        </subfigure>
        <subfigure id="subfigure-06-03">
          <name>Tall and Narrow Media</name>
          <media type="image/png" src="tall.png"/>
          <caption>
            This picture is rectangular as well.  However, it is
            taller than it is wide.
          </caption>
        </subfigure>
      </figure>
    </section>
    <section id="section-07">
      <name>Vertical Subfigures, Stretched Figure</name>
      <figure id="figure-07" orient="vertical">
        <subfigure id="subfigure-07-01">
          <media type="image/png" src="square.png"/>
          <caption>
            This is a square.  It's width is equal to it's height.
          </caption>
        </subfigure>
        <subfigure id="subfigure-07-02">
          <name>Name here</name>
          <code type="block">
This is some              pretend codeblock
     please
        
just use
          your imagination
this last line <!--of the codeblock -->will be longer to see if the table will stretch well.  a little longer.
          </code>
            <caption>The above is wider than it is tall</caption>
        </subfigure>
        <subfigure id="subfigure-07-03">
          <name>
	      Name of this figure, which is ridiculously longer than
            the size of the subfigure, and is also longer than the 50%
            which will normally be the width of the figure.  Making it
            even longer.  </name>
	    <media type="image/png" src="tall.png"/>
        </subfigure>
        <caption>
	  This is the caption for the figure above.  This figure,
	  which contains all the subfigures, is fixed at a width of
	  50% of the screen.  If any subfigure is wider than this
	  caption, the figure will stretch itself for it, but not for
	  a large caption, as can be seen by this long caption.
	  Brilliant, eh?  Let's see, will it work only with CSS?  More
	  length.  More length.  More length.  More length.
        </caption>
      </figure>
    </section>







































































    <figure id="element-485"><name>Testing params</name>
 <media type="image/png" src="tall.png">
  <param name="height" value="100px"/>
  <param name="alt" value="This image has an alt attribute"/>
 </media>
<caption>This image should have a height attribute and alt attribute via param elements.</caption></figure><figure id="element-627"><name>Testing different print resolutions</name>
<subfigure><media type="image/png" src="square-72.png"/><caption>72dpi</caption></subfigure>
<subfigure><media type="image/png" src="square-150.png"/><caption>150dpi</caption></subfigure>
<subfigure><media type="image/png" src="square-300.png"/><caption>300dpi</caption></subfigure>
<caption>Though these images have the same size on screen, they will have different sizes in the PDF (print) version, because they all have different print resolutions.  This is useful to change when using images such as screenshots, which appear normal on screen, but too large and pixely in print.</caption></figure><section id="table-name-caption">
      <figure id="table-name-caption-figure">
	<name>name and caption on table</name>
	<subfigure>
	  <name>one tgroup</name>
	  <table id="cxjg3h4t89wj89r">
	    <name>table name text</name>
	    <tgroup cols="2">
	      <tbody>
		<row>
		  <entry>1</entry>
		  <entry>2</entry>
		</row>
		<row>
		  <entry>3</entry>
		  <entry>4</entry>
		</row>
	      </tbody>
	    </tgroup>
	    <caption>table caption text</caption>
	  </table>
	</subfigure>
	<subfigure>
	  <name>more than one tgroup</name>
	  <table id="cxjg3h4t89wj89raaa">
	    <name>table name text</name>
	    <tgroup cols="2">
	      <tbody>
		<row>
		  <entry>1</entry>
		  <entry>2</entry>
		</row>
		<row>
		  <entry>3</entry>
		  <entry>4</entry>
		</row>
	      </tbody>
	    </tgroup>
	    <tgroup cols="2">
	      <tbody>
		<row>
		  <entry>a</entry>
		  <entry>b</entry>
		</row>
		<row>
		  <entry>c</entry>
		  <entry>d</entry>
		</row>
	      </tbody>
	    </tgroup>
	    <caption>table caption text</caption>
	  </table>
	</subfigure>
      </figure>
    </section>


    <section id="table">
      <name>TABLE attributes</name>

      <section id="sadfjaklsdfj">
        <name>frame</name>
        <figure id="asjdflkasjdlk">
          <subfigure>
            <name>frame="sides"</name>
            <table frame="sides" id="asdfasasdfasdf">
              <tgroup cols="2">
                <thead>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </thead>
                <tfoot>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tfoot>
                <tbody>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>frame="top"</name>
            <table frame="top" id="Adsfjaklsdfjkalsdf">
              <tgroup cols="2">
                <thead>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </thead>
                <tfoot>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tfoot>
                <tbody>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>frame="bottom"</name>
            <table frame="bottom" id="Asdfjaklsdfjl">
              <tgroup cols="2">
                <thead>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </thead>
                <tfoot>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tfoot>
                <tbody>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>frame="topbot"</name>
            <table frame="topbot" id="asdjfklsdjfkalsfd">
              <tgroup cols="2">
                <thead>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </thead>
                <tfoot>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tfoot>
                <tbody>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>frame="all"</name>
            <table frame="all" id="asdfjklasdjfklasdf">
              <tgroup cols="2">
                <thead>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </thead>
                <tfoot>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tfoot>
                <tbody>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>frame="none"</name>
            <table frame="none" id="einfnfiownfweoie">
              <tgroup cols="2">
                <thead>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </thead>
                <tfoot>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tfoot>
                <tbody>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <caption>These, like the borders of the cells themselves, are done with inline CSS declarations.</caption>
        </figure>
      </section>

      <section id="sdfsfdsfdfsd">
        <name>colsep, rowsep</name>
        <figure id="cxbbcvbxcvbxcvb">
          <subfigure>
            <name>colsep="0"</name>
            <table colsep="0" id="afdsfdsafds">
              <tgroup cols="2">
                <thead>
                  <row><entry>a1</entry><entry>a2</entry><entry>a3</entry></row>
                  <row><entry>b1</entry><entry>b2</entry><entry>b3</entry></row>
                </thead>
                <tfoot>
                  <row><entry>a1</entry><entry>a2</entry><entry>a3</entry></row>
                  <row><entry>b1</entry><entry>b2</entry><entry>b3</entry></row>
                </tfoot>
                <tbody>
                  <row><entry>a1</entry><entry>a2</entry><entry>a3</entry></row>
                  <row><entry>b1</entry><entry>b2</entry><entry>b3</entry></row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>colsep="1"</name>
            <table colsep="1" id="werwerrewerwewr">
              <tgroup cols="2">
                <thead>
                  <row><entry>a1</entry><entry>a2</entry><entry>a3</entry></row>
                  <row><entry>b1</entry><entry>b2</entry><entry>b3</entry></row>
                </thead>
                <tfoot>
                  <row><entry>a1</entry><entry>a2</entry><entry>a3</entry></row>
                  <row><entry>b1</entry><entry>b2</entry><entry>b3</entry></row>
                </tfoot>
                <tbody>
                  <row><entry>a1</entry><entry>a2</entry><entry>a3</entry></row>
                  <row><entry>b1</entry><entry>b2</entry><entry>b3</entry></row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>rowsep="0"</name>
            <table rowsep="0" id="werwerwwerwerwer">
              <tgroup cols="2">
                <thead>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                  <row><entry>c1</entry><entry>c2</entry></row>
                </thead>
                <tfoot>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                  <row><entry>c1</entry><entry>c2</entry></row>
                </tfoot>
                <tbody>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                  <row><entry>c1</entry><entry>c2</entry></row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>rowsep="1"</name>
            <table rowsep="1" id="dsaffdsasfdadfsa">
              <tgroup cols="2">
                <thead>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                  <row><entry>c1</entry><entry>c2</entry></row>
                </thead>
                <tfoot>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                  <row><entry>c1</entry><entry>c2</entry></row>
                </tfoot>
                <tbody>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                  <row><entry>c1</entry><entry>c2</entry></row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>rowsep="0" (no tfoot)</name>
            <table rowsep="0" id="sdhfiuobnse8b9n3894ghn">
              <tgroup cols="2">
                <thead>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                  <row><entry>c1</entry><entry>c2</entry></row>
                </thead>
                <tbody>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                  <row><entry>c1</entry><entry>c2</entry></row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>rowsep="0" (no thead or tfoot)</name>
            <table rowsep="0" id="sdhfiuobnse8b9n3894ghn4554ge5rger">
              <tgroup cols="2">
                <tbody>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                  <row><entry>c1</entry><entry>c2</entry></row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
        </figure>
      </section>

      <section id="asfdfdsafd">
        <name>orient, pgwide</name>
        <figure id="xbxbxcvbxcvbxcvb">
          <subfigure>
            <name>orient="port"</name>
            <table orient="port" id="xcvbxcvb">
              <tgroup cols="2">
                <thead>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </thead>
                <tfoot>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tfoot>
                <tbody>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>orient="land"</name>
            <table orient="land" id="xcvbxcvbxcvbxcvb">
              <tgroup cols="2">
                <thead>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </thead>
                <tfoot>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tfoot>
                <tbody>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tbody>
              </tgroup>
            </table>
            <caption>This should be impossible in HTML, as far as I know.</caption>
          </subfigure>
          <subfigure>
            <name>pgwide="0"</name>
            <table pgwide="0" id="bvcx">
              <tgroup cols="2">
                <thead>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </thead>
                <tfoot>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tfoot>
                <tbody>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>pgwide="1"</name>
            <table pgwide="1" id="xcvbxcvbxcvb">
              <tgroup cols="2">
                <thead>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </thead>
                <tfoot>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tfoot>
                <tbody>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tbody>
              </tgroup>
            </table>
            <caption>I'm not exactly sure how this should work inside a figure.</caption>
          </subfigure>
        </figure>
      </section>

    </section>

    <table pgwide="0" id="sdflkhkaghksadg7i4gbiuwr">
      <name>pgwide="0" outside figure</name>
      <tgroup cols="2">
	<thead>
	  <row><entry>a1</entry><entry>a2</entry></row>
	  <row><entry>b1</entry><entry>b2</entry></row>
	</thead>
	<tfoot>
	  <row><entry>a1</entry><entry>a2</entry></row>
	  <row><entry>b1</entry><entry>b2</entry></row>
	</tfoot>
	<tbody>
	  <row><entry>a1</entry><entry>a2</entry></row>
	  <row><entry>b1</entry><entry>b2</entry></row>
	</tbody>
      </tgroup>
      <caption>This should take only the space needed.</caption>
    </table>
    <table pgwide="1" id="dhnbfjknueign945gn8w">
      <name>pgwide="1" outside figure</name>
      <tgroup cols="2">
	<thead>
	  <row><entry>a1</entry><entry>a2</entry></row>
	  <row><entry>b1</entry><entry>b2</entry></row>
	</thead>
	<tfoot>
	  <row><entry>a1</entry><entry>a2</entry></row>
	  <row><entry>b1</entry><entry>b2</entry></row>
	</tfoot>
	<tbody>
	  <row><entry>a1</entry><entry>a2</entry></row>
	  <row><entry>b1</entry><entry>b2</entry></row>
	</tbody>
      </tgroup>
      <caption>This should extend to the edges of the page.</caption>
    </table>


    <section id="tgroup">
      <name>TGROUP attributes</name>

      <section id="tryrrrttrrt">
        <name>colsep, rowsep</name>
        <figure id="ertyertertyert">
          <subfigure>
            <name>colsep="0"</name>
            <table id="nvncvnvncnb">
              <tgroup cols="2" colsep="0">
                <thead>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </thead>
                <tfoot>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tfoot>
                <tbody>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>colsep="1"</name>
            <table id="cvnbvcnvccvncvn">
              <tgroup cols="2" colsep="1">
                <thead>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </thead>
                <tfoot>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tfoot>
                <tbody>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>rowsep="0"</name>
            <table id="cvbncvnnbcvv">
              <tgroup cols="2" rowsep="0">
                <thead>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </thead>
                <tfoot>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tfoot>
                <tbody>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>rowsep="1"</name>
            <table id="cvncvbncnnbvcvc">
              <tgroup cols="2" rowsep="1">
                <thead>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </thead>
                <tfoot>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tfoot>
                <tbody>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>rowsep="0" (no tfoot)</name>
            <table id="cvncvbncnnbvcvctrghusbhsi8en893">
              <tgroup cols="2" rowsep="0">
                <thead>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </thead>
                <tbody>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>rowsep="0" (no thead or tfoot)</name>
            <table id="cvncvbncnnbvcvcsdgh83w95gh8i">
              <tgroup cols="2" rowsep="0">
                <tbody>
                  <row><entry>a1</entry><entry>a2</entry></row>
                  <row><entry>b1</entry><entry>b2</entry></row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <caption>
	    Remember, the column separator is to the right of the cell, and the row separator is to the bottom of the cell.  The last 
	    cells' right and bottom separator, respectively, are ignored and instead dictated by the table's frame attribute.
	  </caption>
        </figure>
      </section>

      <section id="ereriuyoyto">
        <name>align, char, charoff</name>
        <figure id="uiopuiopuiop">
          <subfigure>
            <name>align="left"</name>
            <table id="ereryyreyeryer">
              <tgroup cols="2" align="left">
                <thead>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>a nother string, but not as long as the last.</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>a nother string, but not as long as the last.</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>a nother string, but not as long as the last.</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>align="right"</name>
            <table id="uipopiouopiu">
              <tgroup cols="2" align="right">
                <thead>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>a nother string, but not as long as the last.</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>a nother string, but not as long as the last.</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>a nother string, but not as long as the last.</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>align="center"</name>
            <table id="iopiopuopuiiuop">
              <tgroup cols="2" align="center">
                <thead>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>a nother string, but not as long as the last.</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>a nother string, but not as long as the last.</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>a nother string, but not as long as the last.</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>align="justify"</name>
            <table id="cvbcvbvuiop">
              <tgroup cols="2" align="justify">
                <thead>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>a nother string, but not as long as the last.</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>a nother string, but not as long as the last.</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>another string, but not as long as the last.</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
        </figure>

        <figure id="dsafhbdnisudnrguin4395gh489">
          <subfigure>
            <name>align="char", char="."</name>
            <table id="sdfbniskdjfbiueh894h8w9erbv">
              <tgroup cols="2" align="char" char=".">
                <thead>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>align="char", char=".", charoff="25"</name>
            <table id="xcjbkdnsiuofnmi4h598ytu489">
              <tgroup cols="2" align="char" char="." charoff="25">
                <thead>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>align="char", char=".", charoff="75"</name>
            <table id="sdfjbinjfbn345thg4879hbws9480">
              <tgroup cols="2" align="char" char="." charoff="75">
                <thead>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <caption>There are char and charoff attributes in HTML, but I don't believe they are supported by browsers yet.</caption>
        </figure>
      </section>

    </section>

    <section id="colspec">
      <name>COLSPEC attributes</name>

      <section id="berrebrebeer">
        <name>colwidth</name>

        <figure id="ewhifoheilwg">
          <subfigure>
            <name>colwidth="72pt"</name>
            <table id="shcjknbksjdnbuin895ssdfa">
              <tgroup cols="2">
                <colspec colnum="2" colwidth="72pt"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>colwidth="1.5in"</name>
            <table id="pjhgeewfb">
              <tgroup cols="2">
                <colspec colnum="2" colwidth="1.5in"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
        </figure>

        <figure id="a8awehfiuwbenuvaiwbgweg">
          <subfigure>
            <name>colwidth="100px"</name>
            <table id="btrhedrjktyk">
              <tgroup cols="2">
                <colspec colnum="2" colwidth="100px"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>colwidth="10em"</name>
            <table id="asdfasdf4bvuerbvuirnvuisarev">
              <tgroup cols="2">
                <colspec colnum="2" colwidth="10em"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
	</figure>

	<figure id="seurbnseruihsery">
          <subfigure>
            <name>colwidth="50%"</name>
            <table id="sgahoghighiggfhoigahiofghoihog8939w57490">
              <tgroup cols="2">
                <colspec colnum="2" colwidth="50%"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>colwidth="150%"</name>
            <table id="higgfhoigahiofghoihog8939w5749022222222">
              <tgroup cols="2">
                <colspec colnum="2" colwidth="150%"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
        </figure>

        <figure id="element-951">
          <subfigure>
            <name>colwidth="10pc"</name>
            <table id="ajdfljlfdakjlsdkjldfajskdjf234h8f923h">
              <tgroup cols="2">
                <colspec colnum="2" colwidth="10pc"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>colwidth="10pi"</name>
            <table id="ashdjkfahsui3h9g48h389nv4">
              <tgroup cols="2">
                <colspec colnum="2" colwidth="10pi"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
        </figure>

        <figure id="asdjfklasjdlfkasjdflkasjdlafjslfkajskldfjakslfdjaklsdfasdf">
          <subfigure>
            <name>colwidth="15ex"</name>
            <table id="safdkjhk87988439843">
              <tgroup cols="2">
                <colspec colnum="2" colwidth="15ex"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>colwidth="3cm"</name>
            <table id="vxjkkvbjkxjkfjkjbkjbvxjkjbkvbkkjxfjjbk">
              <tgroup cols="2">
                <colspec colnum="2" colwidth="3cm"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
	</figure>

	<figure id="qurwihaghagaasdfabguai">
          <name>colwidth="50mm"</name>
          <table id="asdfasdfasjdh8942ht4h89g">
            <tgroup cols="2">
              <colspec colnum="2" colwidth="50mm"/>
              <thead>
                <row>
                  <entry>a1</entry><entry>a2</entry>
                </row>
              </thead>
              <tfoot>
                <row>
                  <entry>a1</entry><entry>a2</entry>
                </row>
              </tfoot>
              <tbody>
                <row>
                  <entry>a1</entry><entry>a2</entry>
                </row>
              </tbody>
            </tgroup>
          </table>
        </figure>

        <figure id="wbebewwbweb">
          <subfigure>
            <name>colwidth="3*"</name>
            <table id="fadsasfdbrrggr">
              <tgroup cols="2">
                <colspec colnum="2" colwidth="3*"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
	    <caption>This seems to have varying success in HTML.</caption>
          </subfigure>
          <subfigure>
            <name>colwidth="3*+100px"</name>
            <table id="gfssdfg">
              <tgroup cols="3">
                <colspec colnum="3" colwidth="3*+100px"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>This is probably impossible in HTML.</caption>
          </subfigure>
        </figure>

      </section>


      <section id="wnigowjefijk">
        <name>colsep, rowsep</name>

        <figure id="niogheighor">
          <subfigure>
            <table id="erngkdjhioerjti">
              <tgroup cols="3">
                <colspec colnum="1" colsep="0"/>
                <colspec colnum="2" colsep="1"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>There should be no line separating the 1st and 2nd 
columns' cells, but there should be a line separating the 2nd and 3rd 
columns' cells.</caption>
          </subfigure>
          <subfigure>
            <table id="asdfsjigi">
              <tgroup cols="3">
                <colspec colnum="1" colsep="1"/>
                <colspec colnum="2" colsep="0"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>There should be a line separating the 1st and 2nd 
columns' cells, but no line separating the 2nd and 3rd columns' 
cells.</caption>
          </subfigure>
          <subfigure>
            <table id="rsjosighoisg">
              <tgroup cols="3">
                <colspec colnum="1" rowsep="0"/>
                <colspec colnum="2" rowsep="1"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>There first column's cells should have no border on 
the bottom (excluding the last one), but the 2nd and 3rd columns' cells 
should.</caption>
          </subfigure>
          <subfigure>
            <table id="rewnilgehng">
              <tgroup cols="3">
                <colspec colnum="1" rowsep="1"/>
                <colspec colnum="2" rowsep="0"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>The 1st and 3rd columns' cells should have a border 
on the bottom, but the 2nd columns' cells should have none (excluding 
the last cell).</caption>
          </subfigure>
          <subfigure>
	    <name>no tfoot</name>
            <table id="nsfbvseuign895gh894niur">
              <tgroup cols="3">
                <colspec colnum="1" rowsep="0"/>
                <colspec colnum="2" rowsep="1"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </thead>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>There first column's cells should have no border on 
the bottom (excluding the last one), but the 2nd and 3rd columns' cells 
should.</caption>
          </subfigure>
          <subfigure>
	    <name>no thead or tfoot</name>
            <table id="rewnilgehngh8ew9rh8es9wntbji">
              <tgroup cols="3">
                <colspec colnum="1" rowsep="1"/>
                <colspec colnum="2" rowsep="0"/>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>The 1st and 3rd columns' cells should have a border 
on the bottom, but the 2nd columns' cells should have none (excluding 
the last cell).</caption>
          </subfigure>
        </figure>
      </section>

      <section id="agiwojkaldjghg">
        <name>align</name>
        <figure id="nsigohsitjsidjgdkfg">
          <subfigure>
            <name>tgroup: right; 2nd column colspec: left</name>
            <table id="cnbjcnb">
              <tgroup cols="2" align="right">
                <colspec colnum="2" align="left"/>
                <thead>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>another string, but not as long as the last.</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>another string, but not as long as the last.</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>another string, but not as long as the last.</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>The tgroup is align="right", but the 2nd column should be aligned to the left.</caption>
          </subfigure>
          <subfigure>
            <name>tgroup: left; 2nd column colspec: right</name>
            <table id="ebniflghilrtjsdlkg">
              <tgroup cols="2" align="left">
                <colspec colnum="2" align="right"/>
                <thead>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>another string, but not as long as the last.</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>another string, but not as long as the last.</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>another string, but not as long as the last.</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>The tgroup is align="left", but the 2nd column should be aligned to the right.</caption>
          </subfigure>
          <subfigure>
            <name>tgroup: left; 2nd column colspec: center</name>
            <table id="fbndhiwjishkfsjoihkg">
              <tgroup cols="2" align="left">
                <colspec colnum="2" align="center"/>
                <thead>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>another string, but not as long as the last.</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>another string, but not as long as the last.</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>another string, but not as long as the last.</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>The tgroup is align="left", but the 2nd column should be aligned to the center.</caption>
          </subfigure>
          <subfigure>
            <name>tgroup: left; 2nd column colspec: justify</name>
            <table id="xfndsjgildjg">
              <tgroup cols="2" align="left">
                <colspec colnum="2" align="justify"/>
                <thead>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>another string, but not as long as the last.</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>another string, but not as long as the last.</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>another string, but not as long as the last.</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>The tgroup is align="left", but the 2nd column should be justified.</caption>
          </subfigure>
        </figure>
      </section>

      <section id="asdfasjlkfs98gw389bg3w89bg3w9b8bv">
        <name>char, charoff</name>
        <figure id="shdfbdsubhbhsui34h89bw3h">
          <subfigure>
            <name>1st colspec: align="char", char="."; 2nd colspec: nothing</name>
            <table id="xjkbjkerbvhius3h89yg89y9589g">
              <tgroup cols="2">
                <colspec colnum="1" align="char" char="."/>
                <thead>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>1st colspec: align="char", char=".", charoff="25"; 2nd colspec: nothing</name>
            <table id="bnjbvfgjgfihjugfrhit58954t9854ty9">
              <tgroup cols="2">
                <colspec colnum="1" align="char" char="." charoff="25"/>
                <thead>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>1st colspec: align="char", char=".", charoff="75"; 2nd colspec: nothing</name>
            <table id="sdjgdsgjfdg5f47439t4545">
              <tgroup cols="2">
                <colspec colnum="1" align="char" char="." charoff="75"/>
                <thead>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
        </figure>
      </section>

    </section>

    <section id="colspec-no-colnums">
      <name>COLSPEC attributes (without using the colnum attribute)</name>

      <section id="berrebrebeerasdfaseasefasdf">
        <name>colwidth</name>

        <figure id="ewhifoheilwghi45bg45egi8ei8ge4">
          <subfigure>
            <name>colwidth="72pt"</name>
            <table id="shcjknbksjdnbuin895ssdfaasjkfjasdfhwiurb">
              <tgroup cols="3">
                <colspec/>
                <colspec colwidth=""/>
                <colspec colwidth="72pt"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>colwidth="1.5in"</name>
            <table id="pjhgeewfbh9784vh8">
              <tgroup cols="3">
                <colspec/>
                <colspec colwidth=""/>
                <colspec colwidth="1.5in"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
	</figure>

	<figure id="hsehbrt8g9wsn389hwsrh">
          <subfigure>
            <name>colwidth="100px"</name>
            <table id="btrhedrjktyknbuihehrud">
              <tgroup cols="3">
                <colspec/>
                <colspec colwidth=""/>
                <colspec colwidth="100px"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>colwidth="10em"</name>
            <table id="asdfasdf4bvuerbvuirnvuisarevbeyvug673g676g76">
              <tgroup cols="3">
                <colspec/>
                <colspec colwidth=""/>
                <colspec colwidth="10em"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
	</figure>

	<figure id="uywfbsa8w9jhs8e9rsfb">
          <subfigure>
            <name>colwidth="50%"</name>
            <table id="sgahhhhhiofghoihog8939w57490">
              <tgroup cols="3">
                <colspec/>
                <colspec colwidth=""/>
                <colspec colwidth="50%"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>colwidth="150%"</name>
            <table id="qhw8rg9hwerubn">
              <tgroup cols="3">
		<colspec/>
		<colspec colwidth=""/>
                <colspec colwidth="150%"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
        </figure>

        <figure id="element-951xxxxxxxxxxxxxx">
          <subfigure>
            <name>colwidth="10pc"</name>
            <table id="ajdfljlfdakjlsdkjldfajskd444gbv454554545454545jf234h8f923h">
              <tgroup cols="3">
                <colspec/>
                <colspec colwidth=""/>
                <colspec colwidth="10pc"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>colwidth="10pi"</name>
            <table id="ashdjkfahsui3h9g48h389nv455555555555555555">
              <tgroup cols="3">
                <colspec/>
                <colspec colwidth=""/>
                <colspec colwidth="10pi"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
        </figure>

        <figure id="asdjfk5u89459769547469">
          <subfigure>
            <name>colwidth="15ex"</name>
            <table id="safdkjhk87988439555555555555843">
              <tgroup cols="3">
                <colspec/>
                <colspec colwidth=""/>
                <colspec colwidth="15ex"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>colwidth="3cm"</name>
            <table id="vxjkkvbjkxjkfjkjbkjbvxjkjbkvbkkjxfjjbk5555">
              <tgroup cols="3">
                <colspec/>
                <colspec colwidth=""/>
                <colspec colwidth="3cm"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
	</figure>

	<figure id="sher8gsne89rnsbrs">
          <name>colwidth="50mm"</name>
          <table id="asdfasdfasjdh8942ht4h89g55555555555">
            <tgroup cols="3">
              <colspec/>
              <colspec colwidth=""/>
              <colspec colwidth="50mm"/>
              <thead>
                <row>
                  <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                </row>
              </thead>
              <tfoot>
                <row>
                  <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                </row>
              </tfoot>
              <tbody>
                <row>
                  <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                </row>
              </tbody>
            </tgroup>
          </table>
        </figure>

        <figure id="wbebewwbweb555555555555555">
          <subfigure>
            <name>colwidth="3*"</name>
            <table id="fadsasfdbrrggr5555555555">
              <tgroup cols="3">
                <colspec/>
                <colspec colwidth=""/>
                <colspec colwidth="3*"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
	    <caption>This seems to have varying success in HTML.</caption>
          </subfigure>
          <subfigure>
            <name>colwidth="3*+100px"</name>
            <table id="gfssdfg55555555">
              <tgroup cols="3">
                <colspec/>
                <colspec colwidth=""/>
                <colspec colwidth="3*+100px"/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>This is probably impossible in HTML.</caption>
          </subfigure>
        </figure>

      </section>

      <section id="wnigowjefijk555555555">
        <name>colsep, rowsep</name>

        <figure id="niogheigho555555555r">
          <subfigure>
            <table id="erngkdjhioerjti555555555">
              <tgroup cols="3">
                <colspec colsep="0"/>
                <colspec colsep="1"/>
                <colspec/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>
	      There should be no line separating the 1st and 2nd columns' cells, but there should be a line separating the 2nd and 3rd 
	      columns' cells.
	    </caption>
          </subfigure>
          <subfigure>
            <table id="asdfsjigi5555555555555">
              <tgroup cols="3">
                <colspec colsep="1"/>
                <colspec colsep="0"/>
                <colspec/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>
	      There should be a line separating the 1st and 2nd columns' cells, but no line separating the 2nd and 3rd columns' cells.
	    </caption>
          </subfigure>
          <subfigure>
            <table id="rsjosighoisg777777777">
              <tgroup cols="3">
                <colspec rowsep="0"/>
                <colspec rowsep="1"/>
                <colspec/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>
	      There first column's cells should have no border on the bottom (excluding the last one), but the 2nd and 3rd columns' 
	      cells should.
	    </caption>
          </subfigure>
          <subfigure>
            <table id="rewnilgehng555555555555">
              <tgroup cols="3">
                <colspec rowsep="1"/>
                <colspec rowsep="0"/>
                <colspec/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>
	      The 1st and 3rd columns' cells should have a border on the bottom, but the 2nd columns' cells should have none 
	      (excluding the last cell).
	    </caption>
          </subfigure>
          <subfigure>
	    <name>no tfoot</name>
            <table id="nsfbvseuign895gh894niu444444444444r">
              <tgroup cols="3">
                <colspec rowsep="0"/>
                <colspec rowsep="1"/>
                <colspec/>
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </thead>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>
	      There first column's cells should have no border on the bottom (excluding the last one), but the 2nd and 3rd columns' 
	      cells should.
	    </caption>
          </subfigure>
          <subfigure>
	    <name>no thead or tfoot</name>
            <table id="rewnilgehngh8ew9rh8es9wntb4444444444ji">
              <tgroup cols="3">
                <colspec rowsep="1"/>
                <colspec rowsep="0"/>
                <colspec/>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>
	      The 1st and 3rd columns' cells should have a border on the bottom, but the 2nd columns' cells should have none 
	      (excluding the last cell).
	    </caption>
          </subfigure>
        </figure>
      </section>

      <section id="agiwojkaldjghg5555555555555">
        <name>align</name>
        <figure id="nsigohsitjsidjgdkfg5555555555">
          <subfigure>
            <name>tgroup: right; 2nd column colspec: left</name>
            <table id="cnbjcnb555555555">
              <tgroup cols="2" align="right">
		<colspec/>
                <colspec align="left"/>
                <thead>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>another string, but not as long as the last.</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>another string, but not as long as the last.</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>another string, but not as long as the last.</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>The tgroup is align="right", but the 2nd column should be aligned to the left.</caption>
          </subfigure>
          <subfigure>
            <name>tgroup: left; 2nd column colspec: right</name>
            <table id="ebniflghilrtjsdlkg55555555555">
              <tgroup cols="2" align="left">
		<colspec/>
                <colspec align="right"/>
                <thead>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>another string, but not as long as the last.</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>another string, but not as long as the last.</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>another string, but not as long as the last.</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>The tgroup is align="left", but the 2nd column should be aligned to the right.</caption>
          </subfigure>
          <subfigure>
            <name>tgroup: left; 2nd column colspec: center</name>
            <table id="fbndhiwjishkfsjoihkxxxxxxxxxxxxxxxxg">
              <tgroup cols="2" align="left">
		<colspec/>
		<colspec align="center"/>
		<thead>
		  <row>
		    <entry>long word or phrase</entry>
		    <entry>short</entry>
		  </row>
		  <row>
		    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
		    <entry>another string, but not as long as the last.</entry>
		  </row>
		</thead>
		<tfoot>
		  <row>
		    <entry>long word or phrase</entry>
		    <entry>short</entry>
		  </row>
		  <row>
		    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
		    <entry>another string, but not as long as the last.</entry>
		  </row>
		</tfoot>
		<tbody>
		  <row>
		    <entry>long word or phrase</entry>
		    <entry>short</entry>
		  </row>
		  <row>
		    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
		    <entry>another string, but not as long as the last.</entry>
		  </row>
		</tbody>
	      </tgroup>
	    </table>
	    <caption>The tgroup is align="left", but the 2nd column should be aligned to the center.</caption>
	   </subfigure>
	  <subfigure>
            <name>tgroup: left; 2nd column colspec: justify</name>
            <table id="xfndsjgildjgyyyyyyyyyyy">
              <tgroup cols="2" align="left">
                <colspec/>
                <colspec align="justify"/>
                <thead>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test the attribute.</entry>
                    <entry>another string, but not as long as the last.</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>another string, but not as long as the last.</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>another string, but not as long as the last.</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>The tgroup is align="left", but the 2nd column should be justified.</caption>
          </subfigure>
        </figure>
      </section>

      <section id="asdfasjlkfs98gw389bg3w89bg3w9b8bvxxxxxxxxxxxx">
        <name>char, charoff</name>
        <figure id="shdfbdsubhbhsui34h89bw3httttttttttttttt">
          <subfigure>
            <name>1st colspec: align="char", char="."; 2nd colspec: nothing</name>
            <table id="xjkbjkerbvhius3h89yg89y9589gyyyyyyyyyy">
              <tgroup cols="2">
                <colspec align="char" char="."/>
                <colspec/>
                <thead>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>1st colspec: align="char", char=".", charoff="25"; 2nd colspec: nothing</name>
            <table id="bnjbvfgjgfihjugfrhit58954t9854ty9tttttttttttt">
              <tgroup cols="2">
                <colspec align="char" char="." charoff="25"/>
                <colspec/>
                <thead>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>1st colspec: align="char", char=".", charoff="75"; 2nd colspec: nothing</name>
            <table id="sdjgdsgjfdg5f47439t4545mmmmmmmmmmmmm">
              <tgroup cols="2">
                <colspec align="char" char="." charoff="75"/>
                <colspec/>
                <thead>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>1. blah</entry>
                    <entry>22222. blah</entry>
                  </row>
                  <row>
                    <entry>aa. blah</entry>
                    <entry>b. blah</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
        </figure>
      </section>

    </section>


    <section id="colspec-thead-tfoot">
      <name>COLSPEC attributes inside THEAD and TFOOT</name>

      <section id="berrebrebeer534111111111111">
        <name>colwidth (thead)</name>

        <figure id="ewhifoheilwg111111111111">
          <subfigure>
            <name>colwidth="72pt"</name>
            <table id="shcjknbksjdnbuin895ss1111111111111dfa">
              <tgroup cols="2">
                <thead>
	          <colspec colnum="2" colwidth="72pt"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>colwidth="1.5in"</name>
            <table id="pjhgeew11111111111111111fb">
              <tgroup cols="2">
                <thead>
                  <colspec colnum="2" colwidth="1.5in"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
	</figure>

	<figure id="hjshrs89hj89hsawfag">
          <subfigure>
            <name>colwidth="100px"</name>
            <table id="btrhedrjkt1111111111111111yk">
              <tgroup cols="2">
                <thead>
                  <colspec colnum="2" colwidth="100px"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>colwidth="10em"</name>
            <table id="asdfasdf4bvuerbvu111111111irnvuisarev">
              <tgroup cols="2">
                <thead>
                  <colspec colnum="2" colwidth="10em"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
	</figure>

	<figure id="jnh8ha8gw9erhga89ewgha8e9wf">
          <subfigure>
            <name>colwidth="50%"</name>
            <table id="sgahoghighiggfhoigahiofgho111111ihog8939w57490">
              <tgroup cols="2">
                <thead>
                  <colspec colnum="2" colwidth="50%"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>colwidth="150%"</name>
            <table id="ighiggfhoigahiofgho111111ihog8939w5749022222222">
              <tgroup cols="2">
                <thead>
                  <colspec colnum="2" colwidth="150%"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
        </figure>

        <figure id="element-95111111111111">
          <subfigure>
            <name>colwidth="10pc"</name>
            <table id="ajdfljlfdakjlsdkjldfajskdjf234h8111111f923h">
              <tgroup cols="2">
                <thead>
                  <colspec colnum="2" colwidth="10pc"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>colwidth="10pi"</name>
            <table id="ashdjkfahsui3h9g48h111111111111389nv4">
              <tgroup cols="2">
                <thead>
                  <colspec colnum="2" colwidth="10pi"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
        </figure>

        <figure id="asdjfklasjdlfkasjdflkasjd11111111111111lsdfasdf">
          <subfigure>
            <name>colwidth="15ex"</name>
            <table id="safdkjhk879884398411111111111113">
              <tgroup cols="2">
                <thead>
                  <colspec colnum="2" colwidth="15ex"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>colwidth="3cm"</name>
            <table id="vxjkkvbjkxjkfjkjbkjbvxjkjbkvbkk111111111jxfjjbk">
              <tgroup cols="2">
                <thead>
                  <colspec colnum="2" colwidth="3cm"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
	</figure>

	<figure id="nhbusdnfbus08es">
          <name>colwidth="50mm"</name>
          <table id="asdfasdfasjdh8942ht4h891111111111111g">
            <tgroup cols="2">
              <thead>
                <colspec colnum="2" colwidth="50mm"/>
                <row>
                  <entry>a1</entry><entry>a2</entry>
                </row>
              </thead>
              <tfoot>
                <row>
                  <entry>a1</entry><entry>a2</entry>
                </row>
              </tfoot>
              <tbody>
                <row>
                  <entry>a1</entry><entry>a2</entry>
                </row>
              </tbody>
            </tgroup>
          </table>
        </figure>

        <figure id="wbebewwbweb11111111111">
          <subfigure>
            <name>colwidth="3*"</name>
            <table id="fadsasfdbrrggr111111111111111">
              <tgroup cols="2">
                <thead>
                  <colspec colnum="2" colwidth="3*"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>This seems to have varying success in HTML.</caption>
          </subfigure>
          <subfigure>
            <name>colwidth="3*+100px"</name>
            <table id="gfssdfg11111111111">
              <tgroup cols="2">
                <thead>
                  <colspec colnum="2" colwidth="3*+100px"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>This is probably impossible in HTML.</caption>
          </subfigure>
        </figure>

      </section>

      <section id="berrebrebeer534111111111111222222">
        <name>colwidth (tfoot)</name>

        <figure id="ewhifoheilwg1111111111112222222">
          <subfigure>
            <name>colwidth="72pt"</name>
            <table id="shcjknbksjdnbuin895ss1111111111111dfa222222">
              <tgroup cols="2">
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <colspec colnum="2" colwidth="72pt"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>colwidth="1.5in"</name>
            <table id="pjhgeew11111111111111111fb2222222222">
              <tgroup cols="2">
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <colspec colnum="2" colwidth="1.5in"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
	</figure>

	<figure id="pwah89qwh4g89qewrhj">
          <subfigure>
            <name>colwidth="100px"</name>
            <table id="btrhedrjkt1111111111111111yk2222222">
              <tgroup cols="2">
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <colspec colnum="2" colwidth="100px"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>colwidth="10em"</name>
            <table id="asdfasdf4bvuerbvu111111111irnvuisarev22222222">
              <tgroup cols="2">
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <colspec colnum="2" colwidth="10em"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
        </figure>

        <figure id="a8awehfi111111111111uwbenuvaiwbgweg22222222">
          <subfigure>
            <name>colwidth="50%"</name>
            <table id="sga2222222higgfhoigahiofgho111111ihog8939w57490">
              <tgroup cols="2">
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <colspec colnum="2" colwidth="50%"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>colwidth="150%"</name>
            <table id="igh2222222gahiofgho111111ihog8939w5749022222222">
              <tgroup cols="2">
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <colspec colnum="2" colwidth="150%"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
        </figure>

        <figure id="element-9511111111111122222222">
          <subfigure>
            <name>colwidth="10pc"</name>
            <table id="ajdfljlfdldfajskdjf234h8111111f923h222222222">
              <tgroup cols="2">
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <colspec colnum="2" colwidth="10pc"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>colwidth="10pi"</name>
            <table id="ashdjkfahsui3h9g48h111111111111389nv4222222222">
              <tgroup cols="2">
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <colspec colnum="2" colwidth="10pi"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
        </figure>

        <figure id="asdjfklasjdlfkasjdflkasjd11111111111111l222222222">
          <subfigure>
            <name>colwidth="15ex"</name>
            <table id="safdkjhk8798843984111111111111132222222222">
              <tgroup cols="2">
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <colspec colnum="2" colwidth="15ex"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
          <subfigure>
            <name>colwidth="3cm"</name>
            <table id="vxjkkv222222222222bvxjkjbkvbkk111111111jxfjjbk">
              <tgroup cols="2">
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <colspec colnum="2" colwidth="3cm"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
          </subfigure>
	</figure>

	<figure id="ashj8gabnrw89anb89ajdg">
          <name>colwidth="50mm"</name>
          <table id="asdfasdfasjdh8942ht4h891111111111111g2222222222">
            <tgroup cols="2">
              <thead>
                <row>
                  <entry>a1</entry><entry>a2</entry>
                </row>
              </thead>
              <tfoot>
                <colspec colnum="2" colwidth="50mm"/>
                <row>
                  <entry>a1</entry><entry>a2</entry>
                </row>
              </tfoot>
              <tbody>
                <row>
                  <entry>a1</entry><entry>a2</entry>
                </row>
              </tbody>
            </tgroup>
          </table>
        </figure>

        <figure id="wbebewwbweb111111111112222222222">
          <subfigure>
            <name>colwidth="3*"</name>
            <table id="fadsasfdbrrggr111111111111111222222222222">
              <tgroup cols="2">
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <colspec colnum="2" colwidth="3*"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>This seems to have varying success in HTML.</caption>
          </subfigure>
          <subfigure>
            <name>colwidth="3*+100px"</name>
            <table id="gfssdfg111111111112222222222222">
              <tgroup cols="2">
                <thead>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </thead>
                <tfoot>
                  <colspec colnum="2" colwidth="3*+100px"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>This is probably impossible in HTML.</caption>
          </subfigure>
        </figure>

      </section>

      <section id="wnigowjefijk1111111111">
        <name>colsep, rowsep</name>

        <figure id="niogheighor11111111111111">
          <subfigure>
            <table id="erngkdjhioerjti111111111111111">
              <tgroup cols="3">
                <thead>
                  <colspec colnum="1" colsep="0"/>
                  <colspec colnum="2" colsep="1"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </thead>
                <tfoot>
                  <colspec colnum="1" colsep="1"/>
                  <colspec colnum="2" colsep="0"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>
	      THEAD: There should be no line separating the 1st and 2nd columns' cells, but there should be a line separating the 2nd 
	      and 3rd columns' cells. TBODY: Normal. TFOOT: Opposite of THEAD.
	    </caption>
          </subfigure>
          <subfigure>
            <table id="asdfsjigi11111111111111">
              <tgroup cols="3">
                <thead>
                  <colspec colnum="1" colsep="1"/>
                  <colspec colnum="2" colsep="0"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </thead>
                <tfoot>
                  <colspec colnum="1" colsep="0"/>
                  <colspec colnum="2" colsep="1"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>
	      THEAD: There should be a line separating the 1st and 2nd columns' cells, but no line separating the 2nd and 3rd columns' 
	      cells.  TBODY: Normal.  TFOOT: Opposite of THEAD.
	    </caption>
          </subfigure>
          <subfigure>
            <table id="rsjosighoisg111111111111">
              <tgroup cols="3">
                <thead>
                  <colspec colnum="1" rowsep="0"/>
                  <colspec colnum="2" rowsep="1"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </thead>
                <tfoot>
                  <colspec colnum="1" rowsep="1"/>
                  <colspec colnum="2" rowsep="0"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>
	      THEAD: There first column's cells should have no border on the bottom, but the 2nd and 3rd columns' cells should. 
	      TBODY: Normal.  TFOOT: Opposite of THEAD.
	    </caption>
          </subfigure>
          <subfigure>
            <table id="rewnilgehng11111111111111">
              <tgroup cols="3">
                <thead>
                  <colspec colnum="1" rowsep="1"/>
                  <colspec colnum="2" rowsep="0"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </thead>
                <tfoot>
                  <colspec colnum="1" rowsep="0"/>
                  <colspec colnum="2" rowsep="1"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tfoot>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>
	      THEAD: The 1st and 3rd columns' cells should have a border on the bottom, but the 2nd columns' cells should have none.  
	      TBODY: Normal.  TFOOT: Opposite of THEAD.
	    </caption>
          </subfigure>
          <subfigure>
	    <name>no tfoot</name>
            <table id="nsfbvseuign895gh894niur1111111111">
              <tgroup cols="3">
                <thead>
                  <colspec colnum="1" rowsep="0"/>
                  <colspec colnum="2" rowsep="1"/>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </thead>
                <tbody>
                  <row>
                    <entry>a1</entry><entry>a2</entry><entry>a3</entry>
                  </row>
                  <row>
                    <entry>b1</entry><entry>b2</entry><entry>b3</entry>
                  </row>
                  <row>
                    <entry>c1</entry><entry>c2</entry><entry>c3</entry>
                  </row>
                </tbody>
              </tgroup>
            </table>
            <caption>
	      THEAD: There first column's cells should have no border on the bottom, but the 2nd and 3rd columns' cells should. TBODY: 
	      Normal.
	     </caption>
          </subfigure>
        </figure>
      </section>

      <section id="agiwojkaldjghg1111111111">
        <name>align</name>
        <figure id="nsigohsitjsidjgdkfg1111111111111">
          <subfigure>
            <name>tgroup: right; thead: 2nd left; tfoot: 1st left;</name>
            <table id="cnbjcnb1111111111">
              <tgroup cols="2" align="right">
                <thead>
                  <colspec colnum="2" align="left"/>
                  <row>
                    <entry>long word or phrase</entry>
                    <entry>short</entry>
                  </row>
                  <row>
                    <entry>a long string of text, used to encourage wrapping in order to test align.</entry>
                    <entry>another string, but not as l