Tables

Dr. Drang drdrang at gmail.com
Sun Dec 4 11:57:29 EST 2005


On 12/4/05, Mark Smith <mark at bbprojects.net> wrote:

> @ 23:13 on 3.12.05, Dr. Drang wrote:

>

> >I could live with these rules:

> >

> >1. A "number" (however that gets defined) means decimal or

> >comma alignment.

>

> Question: for a single rule for 1. (above) would the easiest solution be based on centering the separator ? (From my naive position, this sounds like a "two pass" solution, but I guess that the decimal alignment itself wouldn't need to be coded from zero ?)


Since, as Michel pointed out upthread, no current browser implements
decimal alignment, I don't think there's a way to answer this question
for (X)HTML. If you're planning to transform the output to LaTeX, the
dcolumn package centers on the decimal by default.

I've been fiddling with Fletcher's XSLT filters, trying to handle
decimal alignment in a graceful way. Still not satisfied with the
results, but I'm getting close.

--
Dr. Drang


More information about the Markdown-Discuss mailing list