summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/sidecap/sc-test2.tex
blob: b16d0eea837f7c902c0bc70ddfe897a501caccf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
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}