Uwe Stöhr wrote:
Rainer M Krug schrieb:
I have a table in a document in which I use the dcolumn package to
align the decimal points. I have in the preamble the following:
\usepackage{dcolumn}
\newcolumntype{d}[1]{D{.}{.}{#1}}
I set the comumntype to d{6} and everything works fine - except the
the header of the column in the tabe is left adjusted in the cell.
Set d to the greates number of characters you have in the column. If the
longest entry is for example "-154.78", set "d{4.2}" (4 characters
before the decimal point, 2 behind it).
Thanks a lot Uwe for your help - it is working now.
Note that the dcolumn-package has lots of problems. I added a new
section to the Extended-Instes manual describing these table cell
alignments:
http://wiki.lyx.org/LyX/DocumentationDevelopment#Extended-Insets
I'll take a look at it - thanks.
Rainer
regards Uwe
--
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)
Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa
Tel: +27 - (0)72 808 2975 (w)
Fax: +27 - (0)86 516 2782
Fax: +27 - (0)21 808 3304 (w)
Cell: +27 - (0)83 9479 042
email: [EMAIL PROTECTED]
[EMAIL PROTECTED]