
% `sc-test3.tex', part of the LaTeX package `sidecap'
% 2003-02-21
% Rolf Niepraschk and Hubert G\"a\ss{}lein -- niepraschk@ptb.de

\documentclass{article}

\usepackage{sidecap}

\input{sc-test-common}

\begin{document}

\section*{\centering The \texttt{sidecap} package 
  (changed caption alignment)}

\begin{SCfigure}[][hb]
  \FIG{1}
  \caption{normal `SCfigure'}
\end{SCfigure}

\begin{SCtable}[][b]
  \TABi
  \caption{normal `SCtable'}
\end{SCtable}

\iffalse% the old way
\makeatletter
  \renewenvironment{SCfigure}{\SC@float[t]{figure}}
                             {\endSC@float}
  \renewenvironment{SCfigure*}{\SC@dblfloat[t]{figure}}
                              {\endSC@dblfloat}
  \renewenvironment{SCtable}{\SC@float[b]{table}}
                             {\endSC@float}
  \renewenvironment{SCtable*}{\SC@dblfloat[b]{table}}
                              {\endSC@dblfloat}
\makeatother
\fi

% the new way
\sidecaptionvpos{figure}{t}
\sidecaptionvpos{table}{b}

\begin{SCfigure}[][hb]
  \FIG{1}
  \caption{`SCfigure' modified\dots}
\end{SCfigure}

\begin{SCtable}[][b]
  \TABi
  \caption{`SCtable' modified\dots}
\end{SCtable}

\end{document}
