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

I want to place 2 SideCaption Figures next to each other but having real trouble with it. I tried to place them in a minipage and tabular environment but nothing worked. Always got a while bunch of errors...

    11pt, % Schriftgröße
    ngerman, % für Umlaute, Silbentrennung etc.
    a4paper, % Papierformat
    oneside, % einseitiges Dokument
    titlepage, % es wird eine Titelseite verwendet
    parskip=half, % Abstand zwischen Absätzen (halbe Zeile)
    headings=normal, % Größe der Überschriften verkleinern
    listof=totoc, % Verzeichnisse im Inhaltsverzeichnis aufführen
    bibliography=totoc, % Literaturverzeichnis im Inhaltsverzeichnis aufführen
    index=totoc, % Index im Inhaltsverzeichnis aufführen
    captions=tableheading, % Beschriftung von Tabellen unterhalb ausgeben
    %draft % Status des Dokuments (final/draft)
    final % Status des Dokuments (final/draft)




    \caption[Android Layout 1]{Android Layout 1 \cite{Google.2010}}

    \caption[Android Layout 2]{Android Layout 2 \cite{Google.2010}}


Hope someone can help.

share|improve this question
Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. In particular, add the package that provides the side captions. – egreg Apr 17 '12 at 22:42
thx egreg I enhanced the example to a MWE – kitingChris Apr 18 '12 at 15:25
up vote 6 down vote accepted

Your problem here is that the SCfigure environment (offered by the sidecap package) sets a side-captioned float. And floats should not be contained within a restrictive environment. See the UK TeX FAQ entry Not in outer par mode.

One way around this is to avoid using float and use \captionof from the capt-of package (or caption) to set a float-specific caption. Here's a little example:

enter image description here

\usepackage{capt-of}% http://ctan.org/pkg/capt-of
\usepackage[demo]{graphicx}% http://ctan.org/pkg/graphicx
% [demo] option just for this example

    \captionof{figure}{Layout 1}
\end{minipage} \hfill
    \captionof{figure}{Layout 2}

This also allows you freedom over specifying the width of the caption, as well as the location.

share|improve this answer
Why avoiding floating environments here? Your example code should work fine within a figure environment (and \caption), too!? – Axel Sommerfeldt Apr 18 '12 at 4:17
works great thanks for the fast answer! – kitingChris Apr 18 '12 at 10:53
@kitingChris: Note that my example sets the two figures within the text. However, as mentioned by Axel (the caption package author), you can place the content inside a floating environment as well (like a figure). – Werner Apr 18 '12 at 15:44

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.