Loading...
 
Skip to main content

Features / Usability


Table column right or center alignment?

I have been searching for info on how to write wiki source text to achieve tables with right (or center) aligned text in the cells, but have been unable to find any.
Is this possible, and if so, how?
If not, why not..?
It seems to be an obvious basic feature — just think of tables of decimal numbers.

— Arne

Like this ....

Before

AAABBBBDUUUU PPPPLLLLLLL
1rrr123500000ssss
2N.A.


After

AAABBBB
D
UUUU PPPPLLLLLLL
1
rrr
1235
00000
ssss
2
N.A.


Kind of tedious though as you need to format every cell.....hope it works for you.

--kwow

> Like this ....
...
> Kind of tedious though as you need to format every cell.....hope it works for you.

Yes, this is a serious problem. Worse though, I still don't know how to right-align the cell text! How would you align decimal numbers, e.g.,

in
out
balance
20040,50 20040,50
20000,0040,50
60,00 100,50
10100,50-10000,00

?

— Arne

To right align, use:

Image
Copy to clipboard
{DIV(align=right)}right align{DIV}

in
out
balance
20040,50
20040,50
20000,00
40,50
60,00
100,50
10100,50
-10000,00

> To right align, use:
>

> Image
Copy to clipboard
{DIV(align=right)}right align{DIV}

Ah...simple. Thanks!

I wonder why there is no abbreviation for this, and for justified text, just as there is for centering?

— Arne