Rotating the column headings by 90 degrees can provide room for more columns. This can be useful when you have many narrow data columns that have long column headings. However, it is possible to rotate the contents of individual table cells by 90 degree increments using special DocBook processing instructions. The CALS rotate attribute on the entry element is not supported in the DocBook XSL stylesheets. Entries in column 2 will instead be centered, and entries in column 4 are to be aligned on the decimal character in the cell data. In this example, the tgroup element sets the default alignment for the table to left. Then you can set align="center" in one colspec to center all entries in that column. The align attribute can be set on any of the following elements, so it applies to the scope of that element: tgroupįor example, you could set align="left" in tgroup for the whole table (if you have one tgroup). If you set align="char" for a column, you need to specify a char="." attribute (or other character) as well to tell the processor on what character to line up the entries. Then a column of numbers with decimals will have the decimals lined up. You can set horizontal alignment of cell content by setting the align attribute to any of these values: leftĪ value of char means the content should line up according to a certain character in the cell data, typically a decimal character.
0 Comments
Leave a Reply. |