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

Radhakrishnan CV cvr at river-valley.org
Mon Sep 21 01:31:57 CEST 2015


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​

-- 
Radhakrishnan
River Valley
<https://maps.google.com/maps?q=River%20Valley,%20Thiruvananthapuram%20Neyyardam%20Road,%20Kerala,%20India&vector=1>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20150921/63609093/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tabu-test.pdf
Type: application/pdf
Size: 168790 bytes
Desc: not available
URL: <http://tug.org/pipermail/texhax/attachments/20150921/63609093/attachment-0001.pdf>


More information about the texhax mailing list