I'd like put centre a figure with its caption sideways.
i wrote this:
Code: Select all
\documentclass{book}
%central fig command
\newcommand{\centrefig}[2]
{
\begin{tabular}[t]{rr}
\includegraphics{#1} & #2
\end{tabular}
}
\begin{document}
\centrefig{img_esempi/lion}{foo}
\end{document}
where am i wrong?!?!