Debian Codegraph @

texmf-dist/doc/latex/sidecap/sc-test2.tex

raw
1
2 % `sc-test2.tex', part of the LaTeX package `sidecap'
3 % 2003-02-21
4 % Rolf Niepraschk and Hubert G\"a\ss{}lein -- [email protected]
5
6 \documentclass[12pt,a4paper,twocolumn,twoside,draft]{article}
7 \usepackage[bf,footnotesize]{caption2}
8 %\usepackage[innercaption]{sidecap}
9 \usepackage[outercaption,raggedright]{sidecap}
10
11 \input{sc-test-common}
12
13 \begin{document}
14 \section*{\centering The \texttt{sidecap} package (two~column~layout)}
15
16 In this document, we used the following options of the \textsf{sidecap} package:
17 %
18 \begin{verbatim}
19 \usepackage
20 [outercaption,raggedright]
21 {sidecap}
22 \end{verbatim}
23 %
24 Note that fig.~\ref{fig:B} is an \verb|SCfigure*| environment.
25 The \textsf{sidecap} package inherits the standard \LaTeX\ ``feature''
26 that two-column floats and one-column floats may be out of order.
27
28 \begin{figure}[bhp]
29 \centering
30 \FIG[1cm]{1}%
31 \caption[\SHORTCAPi]{\CAPi}\label{fig:A}%
32 \end{figure}
33
34 \begin{SCfigure*}[50] % [bhp]
35 \FIG[1cm]{1}%
36 \caption[\SHORTCAPi]{\CAPi}\label{fig:B}%
37 \end{SCfigure*}
38
39 \begin{SCfigure}[1.2][bhp]
40 \FIG[1cm]{1}%
41 \caption[\SHORTCAPi]{\CAPi}\label{fig:C}%
42 \end{SCfigure}
43
44 \begin{SCfigure}[][bhp]
45 \FIG[1cm]{1}%
46 \caption[\SHORTCAPi]{\CAPi}\label{fig:D}%
47 \end{SCfigure}
48
49 \begin{SCtable}
50 \caption[\SHORTCAPi]{\CAPi}\label{tab:A}%
51 \FIG[1cm]{1}%
52 \end{SCtable}
53
54 \begin{table}
55 \centering
56 \caption[\SHORTCAPi]{\CAPii}\label{tab:B}%
57 \TABi%
58 \end{table}
59
60 \begin{SCtable}
61 \caption[\SHORTCAPi]{\CAPi\CAPii}\label{tab:C}%
62 \TABi%
63 \end{SCtable}
64
65 %----------------------------
66
67 \begin{SCfigure}[50][b]
68 \FIG[1cm]{1}%
69 \caption[\SHORTCAPi]{\CAPi}\label{fig:E}%
70 \end{SCfigure}
71
72 \clearpage
73
74
75 \begin{SCfigure}[50][b]
76 \FIG[1cm]{1}%
77 \caption[\SHORTCAPi]{\CAPi}\label{fig:F}%
78 \end{SCfigure}
79
80
81 \end{document}
82
83
84
85
86
87
88
89