O'Reilly logo

DocBook 5: The Definitive Guide by Richard L. Hamilton, Norman Walsh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

tgroup — A wrapper for the main content of a table, or part of a table

Synopsis

tgroup ::= (colspec*, spanspec*, theaddb.cals.thead, tfootdb.cals.tfoot, tbody db.cals.tbody)

Attribute synopsis

Common attributes and common linking attributes.

Additional attributes:

  • align (enumeration) = “center” | “char” | “justify” | “left” | “right”

  • char

  • charoff (decimal)

  • cols (positiveInteger)

  • colsep (enumeration) = “0” | “1”

  • rowsep (enumeration) = “0” | “1”

  • tgroupstyle

Required attributes are shown in bold.

Description

A tgroup surrounds a logically complete portion of a table. Most tables consist of a single tgroup, but complex tables with widely varying column specifications may be easier to code using multiple tgroups.

The tgroup specifies the number of columns in the table, and contains all of the header, body, and footer rows, along with any additional column or span specifications necessary to express the geometry of the table.

Most of the properties of rows, columns, and cells inherit their default characteristics from the enclosing tgroup.

Processing expectations

This element is expected to obey the semantics of the CALS Table Model Document Type Definition [calsdtd].

Attributes

Common attributes and common linking attributes.

align

Specifies the horizontal alignment of text in an entry.

Enumerated values:
“center”

Centered

“char”

Aligned on a particular character

“justify”

Left and right justified

“left”

Left justified

“right”

Right justified

char

Specifies the alignment character when align is set to char

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required