[texhax] Aligning decimal point in table using "tabu"

Gerard E. Seibert jerry at seibercom.net
Mon Sep 21 12:27:22 CEST 2015


On Mon, 21 Sep 2015 05:01:57 +0530, Radhakrishnan CV stated:

> On Sun, Sep 20, 2015 at 11:31 PM, Jerry <jerry at seibercom.net> wrote:
> 
> ​[...]​
> 
> \newcolumntype Z{X[c]{%
> > S[group-four-digits=true ,
> 
> 
> ​This needs to be changed to:
> 
> \newcolumntype Z{S[group-four-digits=true ,
> round-mode=places,
> round-precision=2,
> round-integer-to-decimal=true,
> per-mode=symbol ] }
> \tabucolumn Z
> 
> \begin {tabu} spread 8pt {*2{Z|}c} \tabucline -
> \rowfont \bfseries
> {January} &{February} &. . . \\
> \tabucline[.2pt brown] -
> 12.324 & 745.32 &. . . \\
> 21.13 & 0 & . . . \\
> 213.3245 & 12.342 & . . . \\
> 2143.12 & 324.325 & . . . \\ \tabucline -
> \end{tabu}
> 
> ​The output, tabu-test.pdf is attached.​
> 
> ​Best​
> 

Thank you. I hate it when the documentation is wrong. I will have to drop a
line to the author/maintainer and see what they can do to correct it.

-- 
Jerry


More information about the texhax mailing list