charoff

Table Character Offset (NISO JATS table model)

Horizontal offset from the alignment character specified by the @char attribute; the percent of the current column width to the left of the (left edge of the) alignment character. (This attribute is based on and intended to be converted easily to the XHMTL charoff attribute.)

Remarks

Alignment on a particular character requires that three attributes be set in the document:
  1. The @align attribute value is set to the word “char”.
  2. The @char attribute value is set to the actual character to use for the aligning, for example, a decimal point, “.”.
  3. The @charoff attribute value is set to the percent of the current column width to the left of the (left edge of the) alignment character, for example, “30”.

With these Elements

<col>, <colgroup>, <tbody>, <td>, <tfoot>, <th>, <thead>, <tr>
Value Meaning
Number Where to set the alignment. Although this Tag Set can enforce only that this attribute contain any characters, validation beyond the DTD (for example, schema validation or Schematron validation) can constrain this value to a counting number (positive integer).
Restriction: @charoff is an optional attribute; there is no default.

Example


...
<table border="1">
<colgroup>
<col span="1"/>
<col align="char" char="," charoff="50" span="1"/>
</colgroup>
...
</table>
...