Is it possible to renew the tabularx environment so that it will take the tabularx style parameters? Or the other way around?
\begin{tabularx}{\textwidth}{ ... }
% ...
\end{tabularx}
\begin{tabu} to \linewidth { ... }
% ...
\end{tabu}
something like:
\renewenvironment{tabularx}{\begin{tabu} to #1 ...}{\end{tabu}}
or
\renewenvironment{tabu}{\begin{tabularx}{#1} ...}{\end{tabularx}}
This would help me to find out if the tabularx package can be used for tex4ht and the tabu package for pdflatex. I'm aware that tabu seems to be more powerful, but it appears from a first look that most of the tabu parameters could be definded so they will be ignored when producing html tables.
tabu
uses the tex primitive... to
syntax is one of the many deficiencies in the syntax of that package (perhaps the main one that it breaks the>
syntax>{a}>{b}c
intabularx
(orarray
etc) has to be coded in teh reverse order as>{b}>{a}c
intabu
. If You are just useingX
and not tabus extednedX[c,m]
columns then just usingtabularx
would seem to be simpler, and if you are using the extended features just handlingto
will not help.to
so you'd have to drop down to primitive tex commands.\let\tabuo\tabu \let\endtabuo\endtabu \renewenvironment{tabu}[2]{\tabuo to #1 {#2}}{\endtabuo}
Is\endtabu
defined? Is this a naming convention for environments or implied by TeX?