[next] [prev] [prev-tail] [tail] [up]

Html Tables

TeX4ht tries to translate the tables of TeX and LaTeX to html, and when it is unsuccessful it either creates a picture, pure text, or causes an error. On the other hand, TeX4ht also supplies instructions of it own, few of which are listed below. To get access to these commands, the `HTable' option should appear in \Preamble (in TeX, the `HTable' option is implicitly assumed also when the `sty' option is present).



Aligned entries can be globally requested immediately after \HTable with the code-characters < (LEFT), - (CENTER), > (RIGHT), ^ (TOP), = (MIDDLE), | (MIDDLE), = (BASELINE), and _ (BOTTOM).


Similarly, a border can be requested with a B (BORDER), cell padding with a Pi (CELLPADDING="i"), and cell spacing with a Si (CELLSPACING="i").


This command contributes attributes to <TABLE>.



Matching rectangular brackets, at the start of the entries, are assumed to enclose attributes for the entries. The coded attributes may constitute of <, -, >, ^, |, =, _, H (highlighted), Ci (span i columns), and Ri (span i rows). The slash `/' is optional when explicit attributes are not given.



This command requests line breaks within entries



This command allows to indirectly specify content for the entries of the table that follows. The variables \Row and \Col may be used for identifying the entry in discourse.


The `[options-for-entry]' is optional when no content is included within the brackets.

[next] [prev] [prev-tail] [front] [up]