diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/sidecap/sc-test2.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/sidecap/sc-test2.tex | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/sidecap/sc-test2.tex b/Master/texmf-dist/doc/latex/sidecap/sc-test2.tex new file mode 100644 index 00000000000..b16d0eea837 --- /dev/null +++ b/Master/texmf-dist/doc/latex/sidecap/sc-test2.tex @@ -0,0 +1,89 @@ + +% `sc-test2.tex', part of the LaTeX package `sidecap' +% 2003-02-21 +% Rolf Niepraschk and Hubert G\"a\ss{}lein -- niepraschk@ptb.de + +\documentclass[12pt,a4paper,twocolumn,twoside,draft]{article} +\usepackage[bf,footnotesize]{caption2} +%\usepackage[innercaption]{sidecap} +\usepackage[outercaption,raggedright]{sidecap} + +\input{sc-test-common} + +\begin{document} +\section*{\centering The \texttt{sidecap} package (two~column~layout)} + +In this document, we used the following options of the \textsf{sidecap} package: +% +\begin{verbatim} + \usepackage + [outercaption,raggedright] + {sidecap} +\end{verbatim} +% +Note that fig.~\ref{fig:B} is an \verb|SCfigure*| environment. +The \textsf{sidecap} package inherits the standard \LaTeX\ ``feature'' +that two-column floats and one-column floats may be out of order. + +\begin{figure}[bhp] + \centering + \FIG[1cm]{1}% + \caption[\SHORTCAPi]{\CAPi}\label{fig:A}% +\end{figure} + +\begin{SCfigure*}[50] % [bhp] + \FIG[1cm]{1}% + \caption[\SHORTCAPi]{\CAPi}\label{fig:B}% +\end{SCfigure*} + +\begin{SCfigure}[1.2][bhp] + \FIG[1cm]{1}% + \caption[\SHORTCAPi]{\CAPi}\label{fig:C}% +\end{SCfigure} + +\begin{SCfigure}[][bhp] + \FIG[1cm]{1}% + \caption[\SHORTCAPi]{\CAPi}\label{fig:D}% +\end{SCfigure} + +\begin{SCtable} + \caption[\SHORTCAPi]{\CAPi}\label{tab:A}% + \FIG[1cm]{1}% +\end{SCtable} + +\begin{table} + \centering + \caption[\SHORTCAPi]{\CAPii}\label{tab:B}% + \TABi% +\end{table} + +\begin{SCtable} + \caption[\SHORTCAPi]{\CAPi\CAPii}\label{tab:C}% + \TABi% +\end{SCtable} + +%---------------------------- + +\begin{SCfigure}[50][b] + \FIG[1cm]{1}% + \caption[\SHORTCAPi]{\CAPi}\label{fig:E}% +\end{SCfigure} + +\clearpage + + +\begin{SCfigure}[50][b] + \FIG[1cm]{1}% + \caption[\SHORTCAPi]{\CAPi}\label{fig:F}% +\end{SCfigure} + + +\end{document} + + + + + + + + |