Sie sind hier

captionbeside and xypic

I can't get captionbeside working together with xy-pic figures. The last line of the caption is always aligned at the top line of the xy-pic graph. Here's a minimal example:

\documentclass{scrartcl}
\usepackage{xypic}
\begin{document}
 
\begin{figure}
\begin{captionbeside}{Eine Bildbeschreibung weder über noch unter der Abbildung,
sondern daneben. Und diese hier ist sogar sehr viel zu hoch
platziert -- warum?}[i][\linewidth][2em]* \xymatrix@=2cm{
        B \\
        A \ar[u]
    }
\end{captionbeside}
\label{fig:maincls.captionbeside}
\end{figure}
 
\end{document}

How can I get that working?

Cinymini.

Bild von Markus Kohm

Die Ursache liegt in der Ausrichtung von xypic Abbildungen. Man kann die Ausrichtung Beeinflussen, indem man eine Box darum packt. Beispielsweise:

\begin{tabular}[c]{@{}l@{}}
\xymatrix@=1cm{
 B \\
 A \ar[u]
 }
Comments for "captionbeside and xypic" abonnieren