[texhax] longtable//dcolumn//specs

Susan Dittmar Susan.Dittmar at gmx.de
Fri Nov 7 13:16:24 CET 2014


Simmie, John schrieb:
> Can someone express in plain English please what this construct is specifying in laying out 8 columns?
> 
> \begin{longtable}{@{} l @{\extracolsep{\fill}} *{7}{d{7}} @{}}

I'll try.

\begin{longtable}% longtable environment
{@{}%replace inter-column-space by contents of braces
%    this removes space at the left of the table
l% left-aligned column
@{\extracolsep{\fill}}% replace inter-column-space by
%    something that gobbles up all the space not used by
%    columns of the table (perhaps someone else can elaborate on that)
  *{7}{ %the following declaration should be added 7 times
d{7}   %a column aligned at the decimal point - look up dcolumn documentation
%       for the meaning of the 7
}%    end of this *{7} brace
@{}   % replace inter-column space by nothing (remove space at the
%       right of the table
}

Hope that helps,

Susan


More information about the texhax mailing list