
% Rolf Niepraschk, 7/97


\documentclass[12pt,a4paper,twocolumn]{article}
\usepackage{german}
\usepackage[bf,footnotesize]{caption}
%\usepackage[innercaption]{sidecap}
\usepackage[outercaption]{sidecap}

\renewcommand\tablename{Tab.} \renewcommand\figurename{Fig.}
\setlength{\belowcaptionskip}{\abovecaptionskip}
\setlength{\parindent}{0pt}
\setlength\columnseprule{.4pt}

% --- ???? -----
\setcounter{topnumber}{4}
\renewcommand{\topfraction}{.8}
\setcounter{bottomnumber}{4}
\renewcommand{\bottomfraction}{.7}
\setcounter{totalnumber}{10}
\renewcommand{\textfraction}{.1}
\renewcommand\floatpagefraction{.7}

\setlength\emergencystretch{20pt}

\setlength\unitlength{1cm}
\newcommand{\FIGi}{\setlength{\fboxsep}{0mm}%\setlength{\fboxrule}{2mm}%
   \fbox{%
     \begin{picture}(4,6)
       \put(1,5){\circle{1}}
       \put(3,5){\circle{1}}
       \put(2,3){\circle{1}}
       \put(1,1){\circle{1}}
       \put(3,1){\circle{1}}     
     \end{picture}}
}
     
\newcommand{\TABi}{%
  \begin{tabular}{@{} | c | c c c c c | @{}} \hline
    \multicolumn{1}{| c} {1} 
       &  2 &  3 &  4 &  5 &  6 \\ \cline{2-6}
     2 &  4 &  6 &  8 & 10 & 12 \\
     3 &  6 &  9 & 12 & 15 & 18 \\     
     4 &  8 & 12 & 16 & 20 & 24 \\
     5 & 10 & 15 & 20 & 25 & 30 \\
     6 & 12 & 18 & 24 & 30 & 36 \\
     7 & 14 & 21 & 28 & 35 & 42 \\
     8 & 16 & 24 & 32 & 40 & 48 \\
     9 & 18 & 27 & 36 & 45 & 54 \\
    10 & 20 & 30 & 40 & 50 & 60 \\
    11 & 22 & 33 & 44 & 55 & 66 \\
    12 & 24 & 36 & 48 & 60 & 72 \\
    13 & 26 & 39 & 52 & 65 & 78 \\
    14 & 28 & 42 & 56 & 70 & 84 \\
    \hline
  \end{tabular}
}

\newcommand{\SHORTCAPi}{%
  Schematischer Aufbau usw.}
  
\newcommand{\CAPi}{%
  Schematischer Aufbau eines Diodenlasers. Ober- und Unterseite des Kristalls
  sind metallisch kontaktiert, die Vorder- und R"uckseite verspiegelt. Die
  Dicke der aktiven Zone (pn-"Ubergang) liegt in der Gr"o"senordnung von 
  5\,$\mu$m.}
  
\begin{document}

\section*{\centering The \texttt{SideCap} package (two~column~layout)}




\begin{figure}[bhp]
  \centering
  \FIGi%
  \caption[\SHORTCAPi]{\CAPi}\label{fig:A}%
\end{figure}

%{%
%\tracingall \tracingonline0
\errorcontextlines\maxdimen 
\begin{SCfigure*}[1.2][bhp]
  \FIGi%
  \caption[\SHORTCAPi]{\CAPi}\label{fig:B}%
\end{SCfigure*}
%}

%\end{document}

\begin{SCfigure}[1.2][bhp]
  \FIGi%
  \caption[\SHORTCAPi]{\CAPi}\label{fig:C}%
\end{SCfigure}

\begin{SCfigure}[][bhp]
  \FIGi%
  \caption[\SHORTCAPi]{\CAPi}\label{fig:D}%
\end{SCfigure}


\begin{SCtable}
  \caption[\SHORTCAPi]{\CAPi}\label{tab:A}%    
  \FIGi%
\end{SCtable}

\begin{table}
  \centering
  \caption[\SHORTCAPi]{\CAPi}\label{tab:B}% 
  \TABi%
\end{table}

\begin{SCtable}
  \caption[\SHORTCAPi]{\CAPi}\label{tab:C}%     
  \TABi%     
\end{SCtable}

\clearpage

\begin{figure*}
  \centering
  \FIGi%
  \caption[\SHORTCAPi]{\CAPi}\label{fig:E}%
\end{figure*}

foo \newpage bar

\end{document}




