I am trying to place my caption on the side of my figure using minipages (two minipages placed side-by-side.) I know that I can do with Sidecap package, but it came out quite awful that I decided not to use it.
I am using Caption package. I try to place the caption on the right of my figure. My problem is that the caption is centered on the minipage. So I turn off the 'singlelinecheck', but now the caption is flushed to the left most of the page and out of the minipage that suppose to contain it!
Below is a snippet of my latex code. Can anyone help?
Code: Select all
\usepackage[singlelinecheck=false,
font=small,format=plain,labelfont=bf,up,
textfont=it,up]{caption}
\begin{figure}[h]
\hspace{\stretch{4}}
\fbox{
\begin{minipage}[b]{.17\textwidth}
\includegraphics[scale=3.45]{myFigure}
\par\vspace{0pt}
\end{minipage}%
}
\fbox{
\begin{minipage}[b]{.34\textwidth}
\caption{}
\par\vspace{-13pt}
\end{minipage}%
}
\hspace{\stretch{1}}
\end{figure}