<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
% Rolf Niepraschk, 2002-05-18

\listfiles

\documentclass[12pt,a4paper,twoside]{article}
\usepackage[bf,footnotesize]{caption2}
%\usepackage[leftcaption,ragged]{sidecap}
\usepackage[innercaption,ragged]{sidecap}
%\usepackage[innercaption,raggedright,origragged]{sidecap}


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

% --- ???? -----
\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}{%
   \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} 
       &amp;  2 &amp;  3 &amp;  4 &amp;  5 &amp;  6 \\ \cline{2-6}
     2 &amp;  4 &amp;  6 &amp;  8 &amp; 10 &amp; 12 \\
     3 &amp;  6 &amp;  9 &amp; 12 &amp; 15 &amp; 18 \\     
     4 &amp;  8 &amp; 12 &amp; 16 &amp; 20 &amp; 24 \\
     5 &amp; 10 &amp; 15 &amp; 20 &amp; 25 &amp; 30 \\
     6 &amp; 12 &amp; 18 &amp; 24 &amp; 30 &amp; 36 \\
     7 &amp; 14 &amp; 21 &amp; 28 &amp; 35 &amp; 42 \\
     8 &amp; 16 &amp; 24 &amp; 32 &amp; 40 &amp; 48 \\
     9 &amp; 18 &amp; 27 &amp; 36 &amp; 45 &amp; 54 \\
    10 &amp; 20 &amp; 30 &amp; 40 &amp; 50 &amp; 60 \\
    11 &amp; 22 &amp; 33 &amp; 44 &amp; 55 &amp; 66 \\
    12 &amp; 24 &amp; 36 &amp; 48 &amp; 60 &amp; 72 \\
    13 &amp; 26 &amp; 39 &amp; 52 &amp; 65 &amp; 78 \\
    14 &amp; 28 &amp; 42 &amp; 56 &amp; 70 &amp; 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{\ss}enordnung von 
  5\,$\mu$m.}
  
\makeatletter

\newcommand*\justified{%
  % \let\SC@justify\relax % geht nicht
  \centering
  }

\makeatother
  
\begin{document}

\section*{The \texttt{SideCap} package (scraggeddemo)}

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

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

\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}

\end{document}

 






</pre></body></html>