| 1 | <refentry id="tgroup.element"> |
| 2 | <?dbhtml filename="tgroup.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>tgroup</secondary></indexterm> |
| 11 | <refentrytitle>tgroup</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>tgroup</refname> |
| 16 | <refpurpose>&tgroup.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &tgroup.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | A <sgmltag>TGroup</sgmltag> surrounds a logically complete portion of a table. |
| 24 | Most tables consist of a single <sgmltag>TGroup</sgmltag>, but complex tables |
| 25 | with widely varying column specifications may be easier to code using |
| 26 | multiple <sgmltag>TGroup</sgmltag>s. |
| 27 | </para> |
| 28 | |
| 29 | <para> |
| 30 | The <sgmltag>TGroup</sgmltag> specifies the number of columns in the table, |
| 31 | and contains all of the header, body, and footer |
| 32 | rows, along with any additional column or span specifications |
| 33 | necessary to express the geometry of the table. |
| 34 | </para> |
| 35 | |
| 36 | <para> |
| 37 | Most of the properties of rows, columns, and cells inherit their |
| 38 | default characteristics from the enclosing <sgmltag>TGroup</sgmltag>. |
| 39 | </para> |
| 40 | |
| 41 | <refsect2><title>Processing expectations</title> |
| 42 | <para> |
| 43 | &calssemantics; |
| 44 | </para> |
| 45 | </refsect2> |
| 46 | |
| 47 | |
| 48 | &tgroup.parents.gen; |
| 49 | &tgroup.children.gen; |
| 50 | </refsect1> |
| 51 | <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title> |
| 52 | <variablelist> |
| 53 | <varlistentry><term>align</term> |
| 54 | <listitem> |
| 55 | <para> |
| 56 | <sgmltag class="attribute">Align</sgmltag> specifies the horizontal alignment |
| 57 | of <sgmltag>Entry</sgmltag>s (or <sgmltag>EntryTbl</sgmltag>s) in cells of the |
| 58 | <sgmltag>TGroup</sgmltag>. |
| 59 | If <literal>Char</literal> is specified, see also |
| 60 | <sgmltag class="attribute">Char</sgmltag> and |
| 61 | <sgmltag class="attribute">CharOff</sgmltag>. |
| 62 | Individual columns, spans, and cells can |
| 63 | provide an alternate alignment. |
| 64 | </para> |
| 65 | </listitem> |
| 66 | </varlistentry> |
| 67 | <varlistentry><term>char</term> |
| 68 | <listitem> |
| 69 | <para> |
| 70 | <sgmltag class="attribute">Char</sgmltag> specifies the alignment character when |
| 71 | the <sgmltag class="attribute">Align</sgmltag> attribute is set to <literal>Char</literal>. |
| 72 | </para> |
| 73 | </listitem> |
| 74 | </varlistentry> |
| 75 | <varlistentry><term>charoff</term> |
| 76 | <listitem> |
| 77 | <para> |
| 78 | <sgmltag class='attribute'>CharOff</sgmltag> specifies the percentage of the |
| 79 | column's total width that should appear to the left of the first |
| 80 | occurance of the character identified in <sgmltag |
| 81 | class='attribute'>Char</sgmltag> when the <sgmltag class='attribute'>Align</sgmltag> |
| 82 | attribute is set to <literal>Char</literal>. |
| 83 | </para> |
| 84 | </listitem> |
| 85 | </varlistentry> |
| 86 | <varlistentry><term>cols</term> |
| 87 | <listitem> |
| 88 | <para> |
| 89 | <sgmltag class="attribute">Cols</sgmltag> specifies the number of columns |
| 90 | in the table. |
| 91 | </para> |
| 92 | </listitem> |
| 93 | </varlistentry> |
| 94 | <varlistentry><term>colsep</term> |
| 95 | <listitem> |
| 96 | <para> |
| 97 | If <sgmltag class="attribute">ColSep</sgmltag> has the value 1 (true), then |
| 98 | a rule will be drawn to the right of all columns in this <sgmltag>TGroup</sgmltag>. |
| 99 | A value of 0 (false) suppresses the rule. |
| 100 | The rule to the right of the last column in the table is controlled by the |
| 101 | <sgmltag class="attribute">Frame</sgmltag> attribute of the enclosing |
| 102 | <sgmltag>Table</sgmltag> or <sgmltag>InformalTable</sgmltag> and not the |
| 103 | <sgmltag class="attribute">ColSep</sgmltag>. |
| 104 | </para> |
| 105 | </listitem> |
| 106 | </varlistentry> |
| 107 | <varlistentry><term>rowsep</term> |
| 108 | <listitem> |
| 109 | <para> |
| 110 | If <sgmltag class="attribute">RowSep</sgmltag> has the value 1 (true), then a |
| 111 | rule will be drawn below all the rows in this <sgmltag>TGroup</sgmltag> |
| 112 | (unless other, interior elements, suppress some or all of the rules). |
| 113 | A value of 0 (false) suppresses the rule. The rule below the last row |
| 114 | in the table is controlled by the <sgmltag class="attribute">Frame</sgmltag> |
| 115 | attribute of the enclosing <sgmltag>Table</sgmltag> or |
| 116 | <sgmltag>InformalTable</sgmltag> and the <sgmltag class="attribute">RowSep</sgmltag> |
| 117 | of the last row is ignored. If unspecified, this attribute is |
| 118 | inherited from enclosing elements. |
| 119 | </para> |
| 120 | </listitem> |
| 121 | </varlistentry> |
| 122 | <varlistentry><term>tgroupstyle</term> |
| 123 | <listitem> |
| 124 | <para> |
| 125 | <sgmltag class="attribute">TGroupstyle</sgmltag> holds the name of a |
| 126 | table group style defined in a stylesheet (e.g., a <acronym>FOSI</acronym>) that |
| 127 | will be used to process this document. |
| 128 | </para> |
| 129 | </listitem> |
| 130 | </varlistentry> |
| 131 | </variablelist> |
| 132 | </refsect1> |
| 133 | <refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 134 | &tgroup.seealso.gen; |
| 135 | </refsect1> |
| 136 | <refsect1><title>Examples</title> |
| 137 | |
| 138 | &tgroup.example.seealso.gen; |
| 139 | </refsect1> |
| 140 | </refentry> |
| 141 |