I've typeset a very wide table using longtable and rotating all the cells. As a consequence, if I want to place a "right" header, it ought to be in the bottom of the right margin, with the text rotated. I've been looking at some combination of fancyhdr and rotating, but can't get it to work. Rotating the text isn't the problem, but how does one place text at the bottom of a side margin?
Right now I have
\pagestyle{fancy}
\lhead{}
\chead{}
\rhead{}
\lfoot{}
\cfoot{}
\rfoot{\begin{turn}{-90}\parbox{2in}{test \\ line two}\end{turn}}
which, of course, doesn't actually end up in the side margin.