summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/sidecap/sc-test2.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/sidecap/sc-test2.tex
Initial commit
Diffstat (limited to 'macros/latex/contrib/sidecap/sc-test2.tex')
-rw-r--r--macros/latex/contrib/sidecap/sc-test2.tex89
1 files changed, 89 insertions, 0 deletions
diff --git a/macros/latex/contrib/sidecap/sc-test2.tex b/macros/latex/contrib/sidecap/sc-test2.tex
new file mode 100644
index 0000000000..b16d0eea83
--- /dev/null
+++ b/macros/latex/contrib/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}
+
+
+
+
+
+
+
+