Using the hvfloat package:
\documentclass[pdftex,10pt,b5paper,twoside]{report}
\usepackage[showframe,lmargin=25mm,rmargin=25mm,tmargin=27mm,bmargin=30mm]{geometry}
\usepackage[demo]{graphicx}
\usepackage{hvfloat}
\begin{document}
\appendix
\chapter{Test chapter}
\hvFloat[%
floatPos=htb,%
capVPos=c,%
rotAngle=90,
objectPos=c]{figure}{\includegraphics[width=353pt,height=290pt]{image}}%
[Commercial crude oil inventories, SPX excess returns, S\&P GCSI excess return time series]{Commercial crude oil inventories calculated as the logarithm of the current value divided by the mean of same weekly values over the past 5 years, Log excess returns on the S\&P Goldman Sachs Commodity Index, Log excess returns on the S\&P 500 index.}{fig:test}
\end{document}
can I in any way write a function that automatically rotate the "object" (rotAngle), depending on if the figure is on a even or odd page:
Have tried:
\usepackage{ifthen}
\newcommand{\currentside}{\ifthenelse{\isodd{\thepage}}{270}{90}}
rotAngle = \currentside
But can't get i to work.. Anyone have a suggestion?
rotAngle, right? (because the value you're using forobjectPosisc) – henrique Jun 6 '11 at 23:27