[l2h] dcolumn in tables
Wouter van Gils
wouter@the-construct.cx
Fri, 28 Dec 2001 20:21:09 +0100
Never mind, of course, the html package :$
Thx, it works great !
- Wouter
[On 28 Dec, 2001, Wouter van Gils wrote in " Re: [l2h] dcolumn in tables "]
> I did as you suggested but latex doesn;t understand the
> \begin{htmlonly} statement. Do I need to specify it somewhere ?
>
> grt Wouter
>
>
>
>
>
> [On 29 Dec, 2001, Ross Moore wrote in " Re: [l2h] dcolumn in tables "]
> > > Hi,
> > >
> > > I'm trying to get my thesis online using latex2html. But some of
> > > my tables come out horrible, I use:
> > >
> > > latex2html -t 'Tijdsdruk en deelname aan cultuur' -dir html/
> > > -split +1 -show_section_numbers -auto_navigation scriptie
> > >
> > > for the creation of all the files. In the logs I can see that the
> > > dcolumn package is not supported. . . .
> >
> > HTML has no way to align columns on the decimal point.
> >
> > > Is there any way around it, so tables made with dcolumn come out
> > > readable ?
> >
> > Sure.
> > Use conditional coding for the \begin{tabular} line.
> >
> > e.g. start your table this way:
> >
> > \begin{htmlonly}
> > \begin{tabular}{p{3cm}lllll}
> > \end{htmlonly}
> > %begin{latexonly}
> > \begin{tabular}{p{3cm}d{3}d{3}d{3}d{3}d{3}}\\
> > %end{latexonly}
> >
> >
> > >
> > > An example of a table (with dcolumn):
> > >
> > > \begin{table}[H]
> > > \caption{\small{\textit{Correlatiematrix objectieve
> > > tijdsdrukfactoren}}}
> > > \label{corrmat}
> > > \scriptsize
> > > \begin{tabular}{p{3cm}d{3}d{3}d{3}d{3}d{3}}\\
> > > \hline
> > > &\multicolumn{1}{c}1
> > > &\multicolumn{1}{c}2
> > > &\multicolumn{1}{c}3
> > > &\multicolumn{1}{c}4
> > > &\multicolumn{1}{c}5\\
> > > \hline
> > > 1. Arbeidsuren &- &-.52**&.02&.07**&.49**\\
> > > 2. Huishoudelijk werk & &- &.15**&.10**&-.20**\\
> > > 3. Aantal kinderen thuis & & &- &.17**&-.13**\\
> > > 4. Partner & & & &- &.24**\\
> > > 5. Versnippering & & & & &-\\
> > > \hline
> > > \multicolumn{5}{c}\textit{** = significant (p$<$0.01) / * =
> > > significant
> > > (p$<$0.05)} \\
> > > \hline
> > > \end{tabular}
> > > \end{table}
> > > \normalsize
> > >
> > >
> > > Or should I remove all dcolumn definitions and replace them with
> > > other stuff ? (I rather not do this cause that means _a lot_ of
> > > editing).
> >
> > Conditional coding is far more efficient.
> >
> >
> >
> > Hope this helps,
> >
> > Ross Moore
> >
> >
> > >
> > > - Wouter
> > >
> > >
> > >
> > >
> > >
> > > --
> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > Wouter van Gils -=- wouter@the-construct.cx
> > > http://the-construct.cx/
> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > >
> > > _______________________________________________
> > > latex2html mailing list
> > > latex2html@tug.org
> > > http://tug.org/mailman/listinfo/latex2html
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Wouter van Gils -=- wouter@the-construct.cx
> http://the-construct.cx/
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> _______________________________________________
> latex2html mailing list
> latex2html@tug.org
> http://tug.org/mailman/listinfo/latex2html
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Wouter van Gils -=- wouter@the-construct.cx
http://the-construct.cx/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~