[l2h] alignmentproblem eqnarray - amsmath - test-case - suggestion - htmlcode

Ross Moore ross at ics.mq.edu.au
Fri Jan 2 13:19:29 CET 2004


Hi Peter,

On Fri, 2 Jan 2004, Peter Morling wrote:

> hi again,
>
> of cause it's the html part that is interesting :
>

Of course.

I've looked at your examples, and am impressed at the different
behaviours that they exhibit.

However, I don't appreciate the *need* for all those extra
empty cells.

What is wrong with the following ?

<tr>
  <td align=right nowrap width="50%"><i>much longer left much longer left
much longer left</i>&nbsp;</td>
  <td align=center nowrap>&nbsp; = &nbsp;</td>
  <td align=left nowrap width="50%"><i>right</i></td>
  <td nowrap>(1.1)</td>
</tr>
<tr>
  <td align=right nowrap width="50%"><i>left</i>&nbsp;</td>
  <td align=center nowrap>&nbsp; = &nbsp;</td>
  <td align=left nowrap width="50%"><i>much longer right</i></td>
  <td nowrap>(1.3)</td>
</tr>

which needs no extra cells at all.

This is what I use in the example at:

  http://www-texdev.ics.mq.edu.au/MORLING/testy/

Sorry, I meant to include this URL in the previous email.
I've already updated the LaTeX2HTML repository with coding
to use this simple strategy; but that doesn't preclude
further changes.


Cheers

	Ross



> ----cut
>
> <table border=0 cellspacing=0 cellpadding=0 width="100%">
>
> <!-- Start defining the center, this will force the other rows to use this center -->
>  <tr>
>    <td width="50%"></td>
>  <td align=center nowrap>&nbsp;</td>
>     <td width="50%"></td>
>   </tr>
> <!-- End defining the center -->
>
>
>  <tr>
>     <td align=right nowrap><i>much longer left much longer left much longer left</i>&nbsp;</td>
>  <td align=center nowrap>&nbsp; = &nbsp;</td>
>     <td align=left nowrap><i>right</i></td>
>     <td width="100%"></td> <!-- use like \hfill -->
>     <td nowrap>(1.1)</td>
>   </tr>
>
> <tr><td>&nbsp;</td></tr>
>


> </table>
>
> ----
>
> Best,
> Peter
>
> Programmer Peter Morling, University of Southern Denmark
> Department of Statistics, Sdr. Boulevard 23A, DK-5000 Odense C
> Phone (+45) 6550 3399


More information about the latex2html mailing list