Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I need side figure captions but using SCfigure freezes LaTeX as described here:

http://sourceforge.net/projects/latex-beamer/forums/forum/319190/topic/1589887

Do you have any solutions to this problem or any ideas of how to get side caption without problematic package?

\documentclass{beamer}
\usepackage{sidecap}
\begin{document}
\begin{frame}
\frametitle{A nice frame}
\begin{SCfigure}
\rule{4cm}{4cm}
\caption{A nice figure}
\end{SCfigure}
\end{frame}
\end{document}
share|improve this question
1  
There seems to be a compatibility issue with the sidecap package and the beamer class. I just tested the sidecap package along with the article class and seems to work perfectly. –  azetina Jun 8 '12 at 14:24
    
I propose your take a look at Caption on the side of a figure –  azetina Jun 8 '12 at 14:47
add comment

2 Answers

up vote 6 down vote accepted

There is no requirement to use sidecap in order to create side caption in beamer. Some box manipulation would suffice. Here's a small example:

enter image description here

\documentclass{beamer}% http://ctan.org/pkg/beamer
\begin{document}
\begin{frame}
  \frametitle{A nice frame}
  \begin{figure}
  \begin{minipage}[b]{4cm}\rule{4cm}{4cm}\end{minipage}
  \begin{minipage}{4cm}\caption{A nice figure}\end{minipage}
  \end{figure}
\end{frame}
\end{document}

Depending on the shape of your image (or perhaps unknown dimensions), some changes may be required. However, fixes should be fairly trivial.

Regardless, you technically don't need to use \caption since there's no numbered image structure that will be referenced across frames. You can just place the caption text using the same format/style if need be.

share|improve this answer
add comment

First many thanks to Ian Thompson for providing minimal working example. Secondly, I fully agree with azetina that this is a compatibility issue. Now additional question - where should I submit a bug report in that case? Last but not least answer provided by Werner is excellent but I just want to provide my alternative solution using columns.

\begin{figure}
    \begin{columns}%
        \begin{column}{0.3\textwidth}%
            \includegraphics[height=0.25\textheight]{images/some-image}
        \end{column}%
        \begin{column}{0.53\textwidth}%
            \caption{some caption}
        \end{column}%
    \end{columns}
\end{figure}
share|improve this answer
add comment

Your Answer

 
discard

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.