% Command taken from this stackexchange answer
% https://tex.stackexchange.com/a/96913
\newcommand{\spheading}[3]{\rotatebox{#1}{\parbox{#2}{\raggedright #3}}}

% Usage:
% \spheading[<degrees_rotation>][<width>]{<stuff>}