%% 
%%  \protect \LaTeX  -Referenz, 1. Auf"|lage 2007
%% 
%%  Example 7-4-13 on page 102.
%% 
%%  Copyright (C) 2007 Herbert 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.
%% 

\documentclass{ttctexa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{201.7051pt}
\setlength\parindent{0pt}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\selectlanguage{ngerman}
\StartShownPreambleCommands
\usepackage{array,ragged2e}
\usepackage[table]{xcolor}
\newcolumntype{L}[1]{>{\color{red}\hspace{0pt}\RaggedRight\arraybackslash}p{#1}}
\newcolumntype{C}[1]{>{\color{green}\hspace{0pt}\Centering\arraybackslash}p{#1}}
\newcolumntype{R}[1]{>{\color{blue}\hspace{0pt}\RaggedLeft\arraybackslash}p{#1}}
\StopShownPreambleCommands
\begin{document}
\begin{tabular}{@{}L{3cm}C{3cm}R{3cm}@{}}\hline
Eine linksbündige Spalte mit rechtsseitigem Flattersatz
  & Eine zentrierte Spalte mit linkem und rechtem Flattersatz
  & Eine rechtsbündige Spalte mit linksseitigem Flattersatz\\
L & C & R\\\hline
\end{tabular}
\end{document}
