Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to place caption (figure / table) into margin?

I write thesis and need to put a lot of small pictures into it. I also need to use captions (with labels) for better navigation and referring to these pictures. In the same time I want to spare space and put captions beside (next to) pictures, in margin, like marginpar does. I tried sidecap package but it didn't work, neither mcaption package did help. Maybe using a minipage would solve it, but I would like also to align caption to the middle (vertical align) of picture.

Any suggestions?

like image 385
Vít Baisa Avatar asked May 09 '10 12:05

Vít Baisa


1 Answers

I got this working in my thesis with:

\usepackage[margincaption,outercaption,ragged,wide]{sidecap}
\sidecaptionvpos{figure}{t} 
\sidecaptionvpos{table}{t}

and then working with

\begin{SCfigure}[][htb]
  ...
\end{SCfigure}

Also, you can style the caption with the caption package like so:

\captionsetup[SCfigure]{format=plain, ...}

(same for SCtable)

like image 98
pulsar Avatar answered Sep 17 '22 13:09

pulsar