TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there some way to tell subfig package to place subfigure captions to the left or to the right of subfigures? There is sidecap package which does it for the main captions, but it does not affect subfigure captions.

Or, if subfig does not have this options, which way to do it is the best? I tried to use tabular environment inside the figure, but there were some problems with alignment inside cells.

share|improve this question
I am the maintainer of subfig package. You can request new feature with full details and I will make it avaliable in a few days. bitbucket.org/vafa/subfig/issues?status=new – IRAN Jan 19 '11 at 5:20
Thanks for the offer, Vafa, I filed the request: bitbucket.org/vafa/subfig/issue/1/… . I hope the description is clear. – fjarri Jan 19 '11 at 6:51
up vote 5 down vote accepted

The subcaption package offers a command called \subcaption which typesets a sub-caption alone and has the same syntax as \caption. You can place this command where you want, i.e. also beside a figure.

Addendum 2011-01-19, Example code:

Insert picture here --
Insert picture here --
Insert picture here --
Insert picture here}%
\subcaption{This is just a short document to show that
we can place the sub-caption where we want to.}}
\caption{Main caption.}

Furthermore the floatrow package offers stuff like that (and more).

share|improve this answer
As far as I understand, subcaption package only allows you to tune style, but not the relative position of the subcaption. – fjarri Jan 19 '11 at 14:32
No, that is not true. Since you can place the \subcaption where YOU want it, and because the sub-caption will be typeset where you have placed the \subcaption command, you have total control about its position. Will do some handicraft work right now... (Please hold the line...) – Axel Sommerfeldt Jan 19 '11 at 19:39

I found the solution with tabular environment, which is a bit messy, but works. It is based on this StackOverflow thread.


    \begin{tabular}{l l}
    \imagetop{\includegraphics{figure1.eps}} & \imagetop{(a)} \\
    \imagetop{\includegraphics{figure2.eps}} & \imagetop{(b)}
    \caption{Main caption.}
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.