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

spanspec — Formatting information for a spanned column in a table

Synopsis

spanspec ::= empty

Attribute synopsis

Common attributes and common linking attributes.

Additional attributes:

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

  • char

  • charoff (decimal)

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

  • nameend

  • namest

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

  • spanname

Required attributes are shown in bold.

Description

A spanspec associates a name with a span between two columns in a table. In the body of the table, cells can refer to the span by name. Cells that refer to a span will span horizontally from the first column to the last column, inclusive.

Cells can also form spans directly, by naming the start and end columns themselves. The added benefit of a spanspec is that it can associate formatting information (such as alignment and table rule specifications) with the span. This information does not need to be repeated then, on each spanning cell.

Processing expectations

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

The namest and nameend attributes of a spanspec must refer to named colspecs in the same table. In other words, if the spanspec:

t<spanspec spanname="fullyear" namest="jan" nameend="dec"/>

exists in a table, colspecs named jan and dec must also exist in the same table.

Attributes

Common attributes and common linking attributes.

align

Specifies the horizontal alignment of text in an entry

Enumerated values:
“center” ...

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