[tex4ht] Summary of supertabular behaviour

Beuthe, Thomas beuthet at aecl.ca
Sun Sep 5 04:03:46 CEST 2010


UNRESTRICTED | ILLIMITÉ

I've been messing around with supertabular under TeX4ht and though I'd
share a few things I discovered.

Supertabular can be a bit sensitive. Using a scheme like this:
 
%add special command which allows ragged right to occur in tabular p environment
\newcommand{\PreserveBackslash}[1]{\let\temp=\\#1\let\\=\temp}
 
\begin{supertabular}{r>{\PreserveBackslash\raggedright\hspace{0pt}}p{4.75in}}
\end{supertabular}
 
to make a ragged right edge in the one column can really cause
problems because some of the pictorial content of in-line math
will be created with large skinny boxes that extend extremely
high in the vertical direction. As a result it looks like there
are huge spaces in the supertabular environment.
 
Using
 
\begin{supertabular}{rp{4.75in}}
 
instead does help things considerably, but it still can cause
the same class of problem.
 
One solution to the "skinny box" problem is to re-write the
supertabular environment as follows:
 
\begin{supertabular}{rl}
 
but then the right-most column will not automatically wrap
anymore if the window size is changed.
 
In the end, the best solution seems to be to specify a large
paragraph like this for example:
 
\begin{supertabular}{rp{12in}}
 
This seems to work perfectly. I didn't test how large the
paragraph has to be, but this worked for me.

Thomas




CONFIDENTIAL AND PRIVILEGED INFORMATION NOTICE

This e-mail, and any attachments, may contain information that
is confidential, subject to copyright, or exempt from disclosure.
Any unauthorized review, disclosure, retransmission, 
dissemination or other use of or reliance on this information 
may be unlawful and is strictly prohibited.  

AVIS D'INFORMATION CONFIDENTIELLE ET PRIVILÉGIÉE

Le présent courriel, et toute pièce jointe, peut contenir de 
l'information qui est confidentielle, régie par les droits 
d'auteur, ou interdite de divulgation. Tout examen, 
divulgation, retransmission, diffusion ou autres utilisations 
non autorisées de l'information ou dépendance non autorisée 
envers celle-ci peut être illégale et est strictement interdite.




More information about the tex4ht mailing list