Oxford University Press Text Capture Instructions

 

The tgroup table element

The tgroup element contains the specification for each column, the table head (if there is one), the main body of the table, and the table foot (if there is one).

table/tgroup

The tgroup element should always carry a cols attribute indicating the number of columns in the table and a column specification for each column in the table using an empty colspec element. The colspec element is always empty.

Common attributes of the colspec element

Attribute

Description

colnum

The column number. This attribute is required.

The value should be a numerical value equal to the position of the colspec element within the parent tgroup element

colname

The column name.

The value should be in the format "colN", where "N" matches the value of the colnum attribute on the same element

align

Vertical alignment within the column (note that alignment specified within table cells overrides value of this attribute).

If the text in a column should be aligned on a specific character, for example the decimal point in a column containing numbers, the value of this attribute should be ‘char’

char

Only used when the align attribute value is ‘char’. Indicates which character should be used for alignment.

colsep

Indicates that the column should have a horizontal rule to its right-hand side

Example: column specification for a three-column table


<tgroup cols="3">
<colspec colnum="1" colname="col1" align="left"/>
<colspec colnum="2" colname="col2" align="left"/>
<colspec colnum="3" colname="col3" align="char" char="."/>
<tbody><row>
<entry><!--Content of Table--></entry></row>
</tbody>
</tgroup>
Release ID:
20261202
ID:
OUP_Structured_Text_TCI_topic_3_20_2
Author:
dunnm
Last changed:
Wed, 04 Jun 2025
Modified by:
buckmasm
Revision#:
4400