I'm pretty new to the tabularx package and I haven't been able to find the needed information in its documentation:
My goal is, to create a table with two columns, each of which has a width of 3cm and the contained text must be right aligned:
Code: Select all
\documentclass[a4paper, oneside, final]{scrartcl}
\usepackage{tabularx}
\begin{document}
\section{start}
\begin{tabularx}{6cm}{|>{\raggedleft}p{3cm}>{\raggedleft}p{3cm}|}
bla1 & bla2 \\
bla3 & bla4 \\
\end{tabularx}
\end{document}
Would be great if someone could tell me where I went wrong.Extra alignment tab has been changed to \cr.
Thanks a lot
Cheers
Mischa