<chapter><title>Table Tests</title>

<bridgehead renderas=sect4>Alternate Alignment on Entry</bridgehead>

<informaltable frame="all">
<tgroup cols=3>
<colspec colnum=1 colname=c1 colwidth=2in>
<colspec colnum=2 colname=c2 colwidth=2in>
<colspec colnum=3 colname=c3 align=center>
<thead>
<row><entry>h1</entry><entry>h2</entry><entry>h3</entry></row>
</thead>
<tbody>
<row>
  <entry align=left>left</entry>
  <entry align=center>center</entry>
  <entry>center</entry>
</row>
<row>
  <entry align=center>center</entry>
  <entry align=right>right</entry>
  <entry align=right>right</entry>
</row>
</tbody>
</tgroup>
</informaltable>

<informaltable frame="topbot">
<tgroup cols=3>
<colspec colnum=1 colname=c1 colwidth=2in>
<colspec colnum=2 colname=c2 colwidth=2in>
<colspec colnum=3 colname=c3 align=center>
<thead>
<row><entry>h1</entry><entry>h2</entry><entry>h3</entry></row>
</thead>
<tbody>
<row>
  <entry align=left>left</entry>
  <entry align=center>center</entry>
  <entry>center</entry>
</row>
<row>
  <entry align=center>center</entry>
  <entry align=right>right</entry>
  <entry align=right>right</entry>
</row>
</tbody>
</tgroup>
</informaltable>

<informaltable>
<tgroup cols=3>
<colspec colnum=1 colname=c1 colwidth=2in>
<colspec colnum=2 colname=c2 colwidth=2in>
<colspec colnum=3 colname=c3 align=center>
<thead>
<row><entry>h1</entry><entry>h2</entry><entry>h3</entry></row>
</thead>
<tbody>
<row>
  <entry align=left><emphasis>left emph</emphasis></entry>
  <entry align=center><emphasis role=bold>center emph/bold</emphasis></entry>
  <entry><literal>center literal</literal></entry>
</row>
<row>
  <entry align=center><filename>center filename</filename></entry>
  <entry align=right><command>right command</command></entry>
  <entry align=right>right</entry>
</row>
</tbody>
</tgroup>
</informaltable>

<bridgehead renderas=sect4>Absolute Widths</bridgehead>

<informaltable>
<tgroup cols=3>
<colspec colnum=1 colname=c1 colwidth=1in>
<colspec colnum=2 colname=c2 colwidth=1in>
<colspec colnum=3 colname=c3 colwidth=1in align=center>
<thead>
<row><entry>h1</entry><entry>h2</entry><entry>h3</entry></row>
</thead>
<tbody>
<row>
  <entry>e1</entry><entry>e2</entry><entry>e3</entry>
</row>
<row>
  <entry>e1</entry><entry>e2</entry><entry>e3</entry>
</row>
<row>
  <entry>e1</entry><entry>e2</entry><entry>e3</entry>
</row>
</tbody>
</tgroup>
</informaltable>

<bridgehead renderas=sect4>Relative Widths</bridgehead>

<informaltable>
<tgroup cols=2>
<colspec colnum=1 colname=c1 colwidth="3*">
<colspec colnum=2 colname=c2 colwidth="2*">
<tbody>
<row><entry align=left><para>left</para></entry><entry align=center><para>center</para></entry></row>
<row><entry align=center><para>center</para></entry><entry align=right><para>right</para></entry></row>
</tbody>
</tgroup>
</informaltable>

<bridgehead renderas=sect4>Too many cells</bridgehead>

<para>
This is a broken table.  There are too many cells in the second row.
YMMV.  Don't do this.
</para>

<informaltable>
<tgroup cols=2>
<tbody>
<row><entry>1</entry><entry>2</entry></row>
<row><entry>1</entry><entry>2</entry><entry>3</entry></row>
<row><entry>1</entry><entry>2</entry></row>
</tbody>
</tgroup>
</informaltable>

<bridgehead renderas=sect4>Missing Entrys</bridgehead>

<table id=t1 pgwide=1><title>Table Title</title>
<tgroup cols=3>
<colspec colnum=1 colname=c1>
<colspec colnum=2 colname=c2>
<colspec colnum=3 colname=c3>
<thead>
<row><entry><para>head1</para></entry><entry><para>head2</para></entry><entry><para>head3</para></entry></row>
</thead>
<tbody>
<row><entry><para>a1</para></entry><entry><para>a2</para></entry><entry><para>a3</para></entry></row>
<row><entry><para>b1</para></entry><entry colname=c3><para>b3</para></entry></row>
<row><entry namest=c2><para>c2</para></entry><entry><para>c3</para></entry></row>
</tbody>
</tgroup>
</table>

<bridgehead renderas=sect4>Complex</bridgehead>

<informaltable pgwide=1>
<tgroup cols=6>
<colspec colnum=2 colname=c2 align=right>
<colspec colnum=3 colname=c3 align=center>
<colspec colnum=5 colname=c5>
<colspec colname=c6 align=left>
<spanspec spanname=span namest=c2 nameend=c3>
<tbody>
<row>
  <entry>A1</entry>
  <entry>A2</entry>
  <entry>A3</entry>
  <entry morerows=1>A4</entry>
  <entry>A5</entry>
  <entry>A6</entry>
</row>
<row>
  <entry>B1</entry>
  <entry colsep=1 rowsep=1>B2</entry>
  <entry rowsep=1>B3</entry>
  <!-- ... -->
  <entry>B5</entry>
  <entry>B6</entry>
</row>
<row>
  <entry>C1</entry>
  <entry colsep=1>C2</entry>
  <entry>C3</entry>
  <entry>C4</entry>
  <entry namest=c5 nameend=c6 morerows=2 valign=middle>C5</entry>
  <!-- ... -->
</row>
<row>
  <!-- ... -->
  <entry namest=c2>D2</entry>
  <entry>D3</entry>
  <entry>D4</entry>
  <!-- ... -->
  <!-- ... -->
</row>
<row>
  <entry>E1</entry>
  <entry spanname=span align=left>E2</entry>
  <!-- ... -->
  <entry>E4</entry>
  <!-- ... -->
  <!-- ... -->
</row>
<row>
  <entry>F1</entry>
  <entry>F2</entry>
  <entry>F3</entry>
  <entry>F4</entry>
  <entry>F5</entry>
  <entry>F6</entry>
</row>
</tbody>
</tgroup>
</informaltable>

<bridgehead renderas=sect4>With Footnotes</bridgehead>

<informaltable>
<tgroup cols=2>
<tbody>
<row>
<entry>foo<footnote id=fnrex1a><para>A meaningless
word</para></footnote></entry>
<entry>3<footnote id=fnrex1b><para>A meaningless
number</para></footnote></entry>
</row>
<row>
<entry>bar<footnoteref linkend=fnrex1a></entry>
<entry>5<footnoteref linkend=fnrex1b></entry>
</row>
</tbody>
</tgroup>
</informaltable>

<bridgehead renderas=sect4>A Big One</bridgehead>

<informaltable>
<tgroup cols=15>
<thead>
<row>
<entry>H1</entry>
<entry>H2</entry>
<entry>H3</entry>
<entry>H4</entry>
<entry>H5</entry>
<entry>H6</entry>
<entry>H7</entry>
<entry>H8</entry>
<entry>H9</entry>
<entry>H10</entry>
<entry>H11</entry>
<entry>H12</entry>
<entry>H13</entry>
<entry>H14</entry>
<entry>H15</entry>
</row>
</thead>
<tbody>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
<row>
<entry>1</entry> <entry>2</entry> <entry>3</entry>
<entry>4</entry> <entry>5</entry> <entry>6</entry>
<entry>7</entry> <entry>8</entry> <entry>9</entry> 
<entry>10</entry> <entry>11</entry> <entry>12</entry> 
<entry>13</entry> <entry>14</entry> <entry>15</entry>
</row>
</tbody>
</tgroup>
</informaltable>

</chapter>
