flextable icon indicating copy to clipboard operation
flextable copied to clipboard

Is it possible to add alignment on decimal

Open E4ad opened this issue 4 years ago • 3 comments
trafficstars

Hello David, Thanks again for your work on officer and flextable. It's a real pleasure to work with it ! I mostly use it to generate tables for word doc. I have a request, I would like to know if it's possible to align numbers in collumn on the decimal separator ?

I add this small exemple from word: image

Thanks in advance, Jim

E4ad avatar Jan 13 '21 11:01 E4ad

Hello,

I don't know how to do it unless if format is pdf. I think it is only managed correctly by pdf. Did your Word example has been done manually or did you do it via a Word feature?

davidgohel avatar Jan 13 '21 12:01 davidgohel

Hello David, Thank for your answer. It can be done with a format options, in the tab windows, see my screen shot (paragraph > tab, select decimal and press +) image

E4ad avatar Jan 13 '21 12:01 E4ad

Thanks, I will have a try.

davidgohel avatar Jan 13 '21 14:01 davidgohel

It's now available in dev version, see https://github.com/davidgohel/flextable/issues/549#issuecomment-1961765244

davidgohel avatar Feb 24 '24 12:02 davidgohel