[l2h] table borders

Wouter van Gils wouter@the-construct.cx
Sat, 9 Mar 2002 20:09:48 +0100

I once faced a similar problem with dcolumn and html layout. You
could try something like this:


then you are able to create 'latex' style tables for paper and
'html' tables for the web.... it works for me.

- Wouter

[On 09 Mar, 2002, Jarkko Lavinen wrote in "[l2h] table borders ..."]
> I am using a LaTex table defined with 
>   \begin{tabular}{|l|r@{}l|}
> I am using right and left aligned column next to each other with no space
> or border between them. I need this to align strings to decimal point.
> When I convert this into HTML with latex2html (2K.1beta) I face two 
> problems:
> First, Latex2html creates a html table with CELLPADDING=3 BORDER="1". Because 
> I do not want border or gap around the decimal point it would look much better 
> Second, the empty declration @{} is convertted into a new column. The column
> contains nothing but has border and cellpadding and there is now visible
> distance between the right and left aligned columns. I could declare the
> LaTeX table without @{} but then the paper version would look ugly.
> Is there a way to change latex2html's default behaviour with respect to
> table borders and cellspacing? And could it be modified to ignore "@{}"?
> Regards,
> Jarkko Lavinen
> _______________________________________________
> latex2html mailing list
> latex2html@tug.org
> http://tug.org/mailman/listinfo/latex2html

Wouter van Gils -=- wouter@the-construct.cx