Quite often I have table headers which need to be wrapped across several lines and I have not find out how to typeset those nicely.
The best I have found is using a \pbox like in the example below to get right-aligned wrapping text.
But how can I get all table header cells to align at the bottom of that row?
\documentclass{article}
\usepackage{booktabs,pbox}
\begin{document}
\begin{table}
\centering
\begin{tabular}{l*{3}{r}}
\toprule
1 & \pbox{1.5cm}{\raggedleft first column contents} & \pbox{1.5cm}{\raggedleft second column contents even longer} & third\\
\midrule
2 & 10 & 15 & 10\\
\bottomrule
\end{tabular}
\end{table}
\end{document}