File: sc-test2.tex

package info (click to toggle)
tetex-src 3.0.dfsg.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 122,292 kB
  • ctags: 2,709
  • sloc: makefile: 2,323; perl: 1,820; sh: 1,378; lisp: 448; python: 335; xml: 175; sed: 138; ansic: 138; yacc: 52
file content (89 lines) | stat: -rw-r--r-- 1,788 bytes parent folder | download | duplicates (15)
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}