Graphics, Figures & TablesHow to put caption beside subfigures?

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
cigs
Posts: 3
Joined: Thu May 13, 2010 9:54 pm

How to put caption beside subfigures?

Post by cigs »

Hi guys!

Although there are many posts about both issues (subfigures/minipages and sidecap) I still can't figure out how to create an environment in lyx that looks like in the picture I added for illustration.

Can someone help me with this?
Attachments
example.jpg
example.jpg (6.78 KiB) Viewed 3596 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

How to put caption beside subfigures?

Post by gmedina »

Hi,

I have no idea about how to implement my suggestion in LyX, but here's a possible solution using LaTeX:

Code: Select all

\documentclass{report}
\usepackage{floatrow,subfig,caption}

\floatsetup[figure]{style=plain}
\captionsetup{labelfont=bf}

\begin{document}

\begin{figure}[!ht]
  \subfloat[][]{\rule{.42\textwidth}{.4\textheight}}\hfill%
  \subfloat[][]{\rule{.42\textwidth}{.4\textheight}}\vspace*{1cm}\par
  \subfloat[][]{\rule{.42\textwidth}{.4\textheight}}\hfill%
  \parbox[b][.4\textheight]{.42\textwidth}%
    {\vskip-\abovecaptionskip\RawCaption{\caption{A test figure with three subfigures and some additional text.}\vfill\label{...}}}
\end{figure}

\end{document}
I used black rectangles to simulate actual figures, but of course you can use the standard \includegraphics command (after loading the graphicx package) for images. Feel free to modify my example according to your needs.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply