I wish to put the caption of a rotated figure underneath the figure, rather than at the bottom of the page.
Here is my code:
\documentclass{article}
\usepackage{array,ragged2e,titlesec}
\usepackage[demo]{graphicx}
\usepackage{rotating}
\usepackage{caption}
\newcolumntype{L}{>{\RaggedRight\arraybackslash}X}
\titleformat{\section}
{\normalfont\fontsize{14}{12}\bfseries}{\thesection}{1em}{}
\makeatletter
\renewcommand{\paragraph}{%
\@startsection{paragraph}{4}%
{\z@}{1.2ex \@plus 1ex \@minus .2ex}{-1em}%
{\normalfont\normalsize\bfseries}%
}
\renewcommand{\baselinestretch}{1.0}
\makeatother
\setcounter{secnumdepth}{3}
\begin{document}
\begin{figure}
\centering
\includegraphics[angle=270,scale=0.6]{figure.eps}
\caption{text here}
\label{fig:}
\end{figure}
\end{document}
thanks! Michael
\documentclass{article}
and\usepackage{array,ragged2e,titlesec}
-- to make your code compilable.