<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%% 
%%  A DANTE-Edition example
%% 
%%  Beispiel 05-05-1 auf Seite 174.
%% 
%%  Copyright (C) 2010 H. Voss
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 

%%Run also: &gt;&gt;  &lt;&lt; 
% Show page(s) 1

\documentclass[]{article}
\pagestyle{empty}
\setlength\textwidth{170.59192pt}

\usepackage{dcolumn}
\makeatletter \newcolumntype{s}[1]{%
  &gt;{\DC@{.}{\sf\aftergroup\sf,}{#1}\sf}l&lt;{\DC@end}}
\makeatother

\begin{document}
\sffamily
\begin{tabular}{ l s{1.0} s{1.2} s{3.1} }
Test &amp; \multicolumn{1}{l}{Test1.0} &amp;
       \multicolumn{1}{l}{Test1.2} &amp;
       \multicolumn{1}{l}{Test3.1} \\\hline
Test &amp; 1 &amp; 1.22 &amp; 333.1\\ Test &amp; 2 &amp; 3.44 &amp; 444.1
\end{tabular}\par\medskip
$\mathsf{0123456789}$
\end{document}
</pre></body></html>