I would like to align numbers of the form 1/10 and 20/1,256 on the forward slash character. I have tried to use dcolumn, specifically the D command, but I clearly don't understand it:
\usepackage{dcolumn}
\newcolumntype{d}[1]{D{.}{.}{#1}}
\newcolumntype{ds}[1]{D{/}{/}{#1}}
When I try to use the new column specifier ds, e.g.
\begin{tabular}{l*{8}{|ds{3.6}}|} \hline
where the intention of the numbers is to specify up to 3 characters to the left of / and up to six to the right, I get
Package array Error: Illegal pream-token (3.6): `c' used.
and a lot of follow-on errors. It doesn't matter if I change the numbers.
Any help appreciated.
