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).
\
HTable...{
...&...\
cr...}
\
HTable.../...\
&...\
CR...\
EndHTable
Aligned entries can be globally requested immediately after \HTable
with the code-characters <
(LEFT), -
(CENTER), >
(RIGHT), ^
(TOP), =
(MIDDLE), |
(MIDDLE), =
(BASELINE), and _
(BOTTOM).
[example]
Similarly, a border can be requested with a B
(BORDER), cell padding with a P
i (CELLPADDING="i"), and
cell spacing with a S
i (CELLSPACING="i").
\
Contribute{
HTable}
{
...}
<TABLE>
.
[example]
...
coded-attributes.../...
explicit-attributes...
]
<
, -
, >
, ^
, |
, =
, _
, H
(highlighted), C
i (span i columns), and R
i (span i rows). The
slash `/
' is optional when explicit attributes are not given.
[example]
\
BR
[example]
\
HTableScript[options-for-entry]{
before-entry}
{
after-entry}
\Row
and \Col
may be used for identifying the entry in discourse.
[example]
The `[
options-for-entry]
' is optional when no content is included within the brackets.