4

I would like to have my captions as shown in the image below. I want them to appear on the TOP left of the image. I tried SideCap, but it puts them at the bottom of image.

enter image description here

1
  • 4
    Use \sidecaptionvpos{<float type>}{<pos>}. Say \sidecaptionvpos{figure}{t} should do the job. For figures the default is b i.e., bottom. Without a MWE it is difficult to get more details of your problem. If this does not solve the problem, pl add a MWE. Instead you can also use floatrow package.
    – user11232
    Mar 13, 2012 at 23:45

1 Answer 1

4

As Harish Kumar mentioned in his comment. you can use \sidecaptionvpos to control the vertical placement of the caption and the innercaption package option to place the captions right on left pages and left on right pages (as your example seems to show). In the following example I also used \subcaptionbox from the subcaption package to place the subfigures; the demo option for graphicx simply replaces the images with black rectangles (do notuse that option in your actual code):

\documentclass{article}
\usepackage[demo]{graphicx}
\usepackage{caption}
\usepackage{subcaption}
\usepackage[innercaption]{sidecap}
\usepackage{lipsum}

\sidecaptionvpos{figure}{t}
\begin{document}

\begin{SCfigure}
  \centering
  \begin{minipage}{5.5cm}
  \subcaptionbox{A subfigure\label{fig:sub1}}{\includegraphics{name1}}\\
  \subcaptionbox{Another subfigure\label{fig:sub2}}{\includegraphics{name2}}
  \end{minipage}
  \caption{\protect\lipsum[2]}
\end{SCfigure}

\end{document}

enter image description here

1
  • is there a way to control the spacing between the sidecaption and the figure? in my pdf's the caption is directly at the figure without any spacing...
    – user31130
    May 23, 2013 at 10:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .