| 1 |
\documentclass{article} |
| 2 |
%\usepackage[sl]{caption} |
| 3 |
%\usepackage[sl]{caption2} |
| 4 |
%\usepackage[subfigure21]{ccaption} |
| 5 |
\usepackage[bf,SL,BF]{subfigure} |
| 6 |
%\usepackage[sl]{caption} |
| 7 |
%\usepackage[sl]{caption2} |
| 8 |
%\usepackage[subfigure21]{ccaption} |
| 9 |
|
| 10 |
\subfigcaptopadj=2pt |
| 11 |
|
| 12 |
\newcommand{\figbox}[1]{% |
| 13 |
\fbox{% |
| 14 |
\vbox to 1in{% |
| 15 |
\vfil |
| 16 |
\hbox to 2in{% |
| 17 |
\hfil |
| 18 |
#1% |
| 19 |
\hfil}% |
| 20 |
\vfil}}} |
| 21 |
|
| 22 |
\newcommand{\goodgap}{% |
| 23 |
\hspace{\subfigcapskip}} |
| 24 |
|
| 25 |
\makeatletter |
| 26 |
\newcommand{\setcaptype}[1]{% |
| 27 |
\renewcommand{\@captype}{#1}} |
| 28 |
\makeatother |
| 29 |
|
| 30 |
\setcounter{lofdepth}{2} |
| 31 |
\setcounter{lotdepth}{2} |
| 32 |
|
| 33 |
\makeatletter |
| 34 |
\long\def\test#1{% |
| 35 |
\begingroup |
| 36 |
\toks0{[#1]}% |
| 37 |
\newlinechar`\/ |
| 38 |
\message{/\the\toks0: |
| 39 |
\if\sf@blank{#1}% |
| 40 |
EMPTY |
| 41 |
\else |
| 42 |
NOT empty |
| 43 |
\fi}% |
| 44 |
\endgroup} |
| 45 |
\makeatother |
| 46 |
|
| 47 |
\begin{document} |
| 48 |
|
| 49 |
\listoffigures |
| 50 |
\clearpage |
| 51 |
|
| 52 |
\listoftables |
| 53 |
\clearpage |
| 54 |
|
| 55 |
\section{Multiple figures} |
| 56 |
|
| 57 |
\figuretopcapfalse |
| 58 |
\tabletopcapfalse |
| 59 |
|
| 60 |
Figure~\ref{fig:Afirst}[\pageref{fig:Afirst}] has two subfigures |
| 61 |
\ref{fig:AfirstA}[\pageref{fig:AfirstA}] and |
| 62 |
\ref{fig:AfirstB}[\pageref{fig:AfirstB}]. |
| 63 |
% |
| 64 |
Figure~\ref{fig:Asecond}[\pageref{fig:Asecond}] has two subfigures |
| 65 |
\ref{fig:AsecondA}[\pageref{fig:AsecondA}] and |
| 66 |
\ref{fig:AsecondB}[\pageref{fig:AsecondB}]. |
| 67 |
% |
| 68 |
Figure~\ref{fig:Athird}[\pageref{fig:Athird}] has two subfigures |
| 69 |
\ref{fig:AthirdA}[\pageref{fig:AthirdA}] and |
| 70 |
\ref{fig:AthirdB}[\pageref{fig:AthirdB}]. |
| 71 |
% |
| 72 |
Figure~\ref{fig:Afourth}[\pageref{fig:Afourth}] has two subfigures |
| 73 |
\ref{fig:AfourthA}[\pageref{fig:AfourthA}] and |
| 74 |
\ref{fig:AfourthB}[\pageref{fig:AfourthB}]. |
| 75 |
% |
| 76 |
Figure~\ref{fig:Afifth}[\pageref{fig:Afifth}] has two subfigures |
| 77 |
\ref{fig:AfifthA}[\pageref{fig:AfifthA}] and |
| 78 |
\ref{fig:AfifthB}[\pageref{fig:AfifthB}]. |
| 79 |
% |
| 80 |
Figure~\ref{fig:Asixth}[\pageref{fig:Asixth}] has two subfigures |
| 81 |
\ref{fig:AsixthA}[\pageref{fig:AsixthA}] and |
| 82 |
\ref{fig:AsixthB}[\pageref{fig:AsixthB}]. |
| 83 |
|
| 84 |
\begin{figure}% |
| 85 |
\begin{center}% |
| 86 |
\subfigure[One subone.\label{fig:AfirstA}]{\figbox{One subone}}% |
| 87 |
\goodgap |
| 88 |
\subfigure[One subtwo.\label{fig:AfirstB}]{\figbox{One subtwo}}\\[-10pt] |
| 89 |
\caption{First figure.}% |
| 90 |
\label{fig:Afirst}% |
| 91 |
% |
| 92 |
\subfigure[Two subone.\label{fig:AsecondA}]{\figbox{Two subone}}% |
| 93 |
\goodgap |
| 94 |
\subfigure[Two subtwo.\label{fig:AsecondB}]{\figbox{Two subtwo}}\\[-10pt] |
| 95 |
\caption{Second figure.}% |
| 96 |
\label{fig:Asecond}% |
| 97 |
% |
| 98 |
\subfigure[Three subone.\label{fig:AthirdA}]{\figbox{Three subone}}% |
| 99 |
\goodgap |
| 100 |
\subfigure[Three subtwo.\label{fig:AthirdB}]{\figbox{Three subtwo}}\\[-10pt] |
| 101 |
\caption{Third figure.}% |
| 102 |
\label{fig:Athird}% |
| 103 |
\end{center} |
| 104 |
\end{figure} |
| 105 |
|
| 106 |
\begin{figure}% |
| 107 |
\begin{center}% |
| 108 |
\subfigure[Four subone.\label{fig:AfourthA}]{\figbox{Four subone}}% |
| 109 |
\goodgap |
| 110 |
\subfigure[Four subtwo.\label{fig:AfourthB}]{\figbox{Four subtwo}}\\[-10pt] |
| 111 |
\caption{Fourth figure.}% |
| 112 |
\label{fig:Afourth}% |
| 113 |
% |
| 114 |
\subfigure[Five subone.\label{fig:AfifthA}]{\figbox{Five subone}}% |
| 115 |
\goodgap |
| 116 |
\subfigure[Five subtwo.\label{fig:AfifthB}]{\figbox{Five subtwo}}\\[-10pt] |
| 117 |
\caption{Fifth figure.}% |
| 118 |
\label{fig:Afifth}% |
| 119 |
% |
| 120 |
\subfigure[Six subone.\label{fig:AsixthA}]{\figbox{Six subone}}% |
| 121 |
\goodgap |
| 122 |
\subfigure[Six subtwo.\label{fig:AsixthB}]{\figbox{Six subtwo}}\\[-10pt] |
| 123 |
\caption{Sixth figure.}% |
| 124 |
\label{fig:Asixth}% |
| 125 |
\end{center} |
| 126 |
\end{figure} |
| 127 |
|
| 128 |
\section{Multiple tables} |
| 129 |
|
| 130 |
Table~\ref{tab:Afirst}[\pageref{tab:Afirst}] has two subtables |
| 131 |
\ref{tab:AfirstA}[\pageref{tab:AfirstA}] and |
| 132 |
\ref{tab:AfirstB}[\pageref{tab:AfirstB}]. |
| 133 |
% |
| 134 |
Table~\ref{tab:Asecond}[\pageref{tab:Asecond}] has two subtables |
| 135 |
\ref{tab:AsecondA}[\pageref{tab:AsecondA}] and |
| 136 |
\ref{tab:AsecondB}[\pageref{tab:AsecondB}]. |
| 137 |
% |
| 138 |
Table~\ref{tab:Athird}[\pageref{tab:Athird}] has two subtables |
| 139 |
\ref{tab:AthirdA}[\pageref{tab:AthirdA}] and |
| 140 |
\ref{tab:AthirdB}[\pageref{tab:AthirdB}]. |
| 141 |
% |
| 142 |
Table~\ref{tab:Afourth}[\pageref{tab:Afourth}] has two subtables |
| 143 |
\ref{tab:AfourthA}[\pageref{tab:AfourthA}] and |
| 144 |
\ref{tab:AfourthB}[\pageref{tab:AfourthB}]. |
| 145 |
% |
| 146 |
Table~\ref{tab:Afifth}[\pageref{tab:Afifth}] has two subtables |
| 147 |
\ref{tab:AfifthA}[\pageref{tab:AfifthA}] and |
| 148 |
\ref{tab:AfifthB}[\pageref{tab:AfifthB}]. |
| 149 |
% |
| 150 |
Table~\ref{tab:Asixth}[\pageref{tab:Asixth}] has two subtables |
| 151 |
\ref{tab:AsixthA}[\pageref{tab:AsixthA}] and |
| 152 |
\ref{tab:AsixthB}[\pageref{tab:AsixthB}]. |
| 153 |
|
| 154 |
\begin{table}% |
| 155 |
\begin{center}% |
| 156 |
\subtable[One subone.\label{tab:AfirstA}]{\figbox{One subone}}% |
| 157 |
\goodgap |
| 158 |
\subtable[One subtwo.\label{tab:AfirstB}]{\figbox{One subtwo}}\\[-10pt] |
| 159 |
\caption{First table.}% |
| 160 |
\label{tab:Afirst}% |
| 161 |
% |
| 162 |
\subtable[Two subone.\label{tab:AsecondA}]{\figbox{Two subone}}% |
| 163 |
\goodgap |
| 164 |
\subtable[Two subtwo.\label{tab:AsecondB}]{\figbox{Two subtwo}}\\[-10pt] |
| 165 |
\caption{Second table.}% |
| 166 |
\label{tab:Asecond}% |
| 167 |
% |
| 168 |
\subtable[Three subone.\label{tab:AthirdA}]{\figbox{Three subone}}% |
| 169 |
\goodgap |
| 170 |
\subtable[Three subtwo.\label{tab:AthirdB}]{\figbox{Three subtwo}}\\[-10pt] |
| 171 |
\caption{Third table.}% |
| 172 |
\label{tab:Athird}% |
| 173 |
\end{center}% |
| 174 |
\end{table} |
| 175 |
|
| 176 |
\begin{table}% |
| 177 |
\begin{center}% |
| 178 |
\subtable[Four subone.\label{tab:AfourthA}]{\figbox{Four subone}}% |
| 179 |
\goodgap |
| 180 |
\subtable[Four subtwo.\label{tab:AfourthB}]{\figbox{Four subtwo}}\\[-10pt] |
| 181 |
\caption{Fourth table.}% |
| 182 |
\label{tab:Afourth}% |
| 183 |
% |
| 184 |
\subtable[Five subone.\label{tab:AfifthA}]{\figbox{Five subone}}% |
| 185 |
\goodgap |
| 186 |
\subtable[Five subtwo.\label{tab:AfifthB}]{\figbox{Five subtwo}}\\[-10pt] |
| 187 |
\caption{Fifth table.}% |
| 188 |
\label{tab:Afifth}% |
| 189 |
% |
| 190 |
\subtable[Six subone.\label{tab:AsixthA}]{\figbox{Six subone}}% |
| 191 |
\goodgap |
| 192 |
\subtable[Six subtwo.\label{tab:AsixthB}]{\figbox{Six subtwo}}\\[-10pt] |
| 193 |
\caption{Sixth table.}% |
| 194 |
\label{tab:Asixth}% |
| 195 |
\end{center}% |
| 196 |
\end{table} |
| 197 |
|
| 198 |
\section{Multiple figures with ``\slshape{captop}''} |
| 199 |
|
| 200 |
\figuretopcaptrue |
| 201 |
|
| 202 |
Figure~\ref{fig:Bfirst}[\pageref{fig:Bfirst}] has two subfigures |
| 203 |
\ref{fig:BfirstA}[\pageref{fig:BfirstA}] and |
| 204 |
\ref{fig:BfirstB}[\pageref{fig:BfirstB}]. |
| 205 |
% |
| 206 |
Figure~\ref{fig:Bsecond}[\pageref{fig:Bsecond}] has two subfigures |
| 207 |
\ref{fig:BsecondA}[\pageref{fig:BsecondA}] and |
| 208 |
\ref{fig:BsecondB}[\pageref{fig:BsecondB}]. |
| 209 |
% |
| 210 |
Figure~\ref{fig:Bthird}[\pageref{fig:Bthird}] has two subfigures |
| 211 |
\ref{fig:BthirdA}[\pageref{fig:BthirdA}] and |
| 212 |
\ref{fig:BthirdB}[\pageref{fig:BthirdB}]. |
| 213 |
% |
| 214 |
Figure~\ref{fig:Bfourth}[\pageref{fig:Bfourth}] has two subfigures |
| 215 |
\ref{fig:BfourthA}[\pageref{fig:BfourthA}] and |
| 216 |
\ref{fig:BfourthB}[\pageref{fig:BfourthB}]. |
| 217 |
% |
| 218 |
Figure~\ref{fig:Bfifth}[\pageref{fig:Bfifth}] has two subfigures |
| 219 |
\ref{fig:BfifthA}[\pageref{fig:BfifthA}] and |
| 220 |
\ref{fig:BfifthB}[\pageref{fig:BfifthB}]. |
| 221 |
% |
| 222 |
Figure~\ref{fig:Bsixth}[\pageref{fig:Bsixth}] has two subfigures |
| 223 |
\ref{fig:BsixthA}[\pageref{fig:BsixthA}] and |
| 224 |
\ref{fig:BsixthB}[\pageref{fig:BsixthB}]. |
| 225 |
|
| 226 |
\begin{figure}% |
| 227 |
\begin{center}% |
| 228 |
\caption{First figure.}% |
| 229 |
\label{fig:Bfirst}% |
| 230 |
\subfigure[One subone.\label{fig:BfirstA}]{\figbox{One subone}}% |
| 231 |
\goodgap |
| 232 |
\subfigure[One subtwo.\label{fig:BfirstB}]{\figbox{One subtwo}}\\ |
| 233 |
% |
| 234 |
\caption{Second figure.}% |
| 235 |
\label{fig:Bsecond}% |
| 236 |
\subfigure[Two subone.\label{fig:BsecondA}]{\figbox{Two subone}}% |
| 237 |
\goodgap |
| 238 |
\subfigure[Two subtwo.\label{fig:BsecondB}]{\figbox{Two subtwo}}\\ |
| 239 |
% |
| 240 |
\caption{Third figure.}% |
| 241 |
\label{fig:Bthird}% |
| 242 |
\subfigure[Three subone.\label{fig:BthirdA}]{\figbox{Three subone}}% |
| 243 |
\goodgap |
| 244 |
\subfigure[Three subtwo.\label{fig:BthirdB}]{\figbox{Three subtwo}}% |
| 245 |
\end{center}% |
| 246 |
\end{figure} |
| 247 |
|
| 248 |
\begin{figure}% |
| 249 |
\begin{center}% |
| 250 |
\caption{Fourth figure.}% |
| 251 |
\label{fig:Bfourth}% |
| 252 |
\subfigure[Four subone.\label{fig:BfourthA}]{\figbox{Four subone}}% |
| 253 |
\goodgap |
| 254 |
\subfigure[Four subtwo.\label{fig:BfourthB}]{\figbox{Four subtwo}}\\ |
| 255 |
% |
| 256 |
\caption{Fifth figure.}% |
| 257 |
\label{fig:Bfifth}% |
| 258 |
\subfigure[Five subone.\label{fig:BfifthA}]{\figbox{Five subone}}% |
| 259 |
\goodgap |
| 260 |
\subfigure[Five subtwo.\label{fig:BfifthB}]{\figbox{Five subtwo}}\\ |
| 261 |
% |
| 262 |
\caption{Sixth figure.}% |
| 263 |
\label{fig:Bsixth}% |
| 264 |
\subfigure[Six subone.\label{fig:BsixthA}]{\figbox{Six subone}}% |
| 265 |
\goodgap |
| 266 |
\subfigure[Six subtwo.\label{fig:BsixthB}]{\figbox{Six subtwo}}% |
| 267 |
\end{center}% |
| 268 |
\end{figure} |
| 269 |
|
| 270 |
\section{Multiple tables with ``\slshape{captop}''} |
| 271 |
|
| 272 |
\tabletopcaptrue |
| 273 |
|
| 274 |
Table~\ref{tab:Bfirst}[\pageref{tab:Bfirst}] has two subtables |
| 275 |
\ref{tab:BfirstA}[\pageref{tab:BfirstA}] and |
| 276 |
\ref{tab:BfirstB}[\pageref{tab:BfirstB}]. |
| 277 |
% |
| 278 |
Table~\ref{tab:Bsecond}[\pageref{tab:Bsecond}] has two subtables |
| 279 |
\ref{tab:BsecondA}[\pageref{tab:BsecondA}] and |
| 280 |
\ref{tab:BsecondB}[\pageref{tab:BsecondB}]. |
| 281 |
% |
| 282 |
Table~\ref{tab:Bthird}[\pageref{tab:Bthird}] has two subtables |
| 283 |
\ref{tab:BthirdA}[\pageref{tab:BthirdA}] and |
| 284 |
\ref{tab:BthirdB}[\pageref{tab:BthirdB}]. |
| 285 |
% |
| 286 |
Table~\ref{tab:Bfourth}[\pageref{tab:Bfourth}] has two subtables |
| 287 |
\ref{tab:BfourthA}[\pageref{tab:BfourthA}] and |
| 288 |
\ref{tab:BfourthB}[\pageref{tab:BfourthB}]. |
| 289 |
% |
| 290 |
Table~\ref{tab:Bfifth}[\pageref{tab:Bfifth}] has two subtables |
| 291 |
\ref{tab:BfifthA}[\pageref{tab:BfifthA}] and |
| 292 |
\ref{tab:BfifthB}[\pageref{tab:BfifthB}]. |
| 293 |
% |
| 294 |
Table~\ref{tab:Bsixth}[\pageref{tab:Bsixth}] has two subtables |
| 295 |
\ref{tab:BsixthA}[\pageref{tab:BsixthA}] and |
| 296 |
\ref{tab:BsixthB}[\pageref{tab:BsixthB}]. |
| 297 |
|
| 298 |
\begin{table}% |
| 299 |
\begin{center}% |
| 300 |
\caption{First table.}% |
| 301 |
\label{tab:Bfirst}% |
| 302 |
\subtable[One subone.\label{tab:BfirstA}]{\figbox{One subone}}% |
| 303 |
\goodgap |
| 304 |
\subtable[One subtwo.\label{tab:BfirstB}]{\figbox{One subtwo}}\\ |
| 305 |
% |
| 306 |
\caption{Second table.}% |
| 307 |
\label{tab:Bsecond}% |
| 308 |
\subtable[Two subone.\label{tab:BsecondA}]{\figbox{Two subone}}% |
| 309 |
\goodgap |
| 310 |
\subtable[Two subtwo.\label{tab:BsecondB}]{\figbox{Two subtwo}}\\ |
| 311 |
% |
| 312 |
\caption{Third table.}% |
| 313 |
\label{tab:Bthird}% |
| 314 |
\subtable[Three subone.\label{tab:BthirdA}]{\figbox{Three subone}}% |
| 315 |
\goodgap |
| 316 |
\subtable[Three subtwo.\label{tab:BthirdB}]{\figbox{Three subtwo}}\\ |
| 317 |
\end{center}% |
| 318 |
\end{table} |
| 319 |
|
| 320 |
\begin{table}% |
| 321 |
\begin{center}% |
| 322 |
\caption{Fourth table.}% |
| 323 |
\label{tab:Bfourth}% |
| 324 |
\subtable[Four subone.\label{tab:BfourthA}]{\figbox{Four subone}}% |
| 325 |
\goodgap |
| 326 |
\subtable[Four subtwo.\label{tab:BfourthB}]{\figbox{Four subtwo}}% |
| 327 |
% |
| 328 |
\caption{Fifth table.}% |
| 329 |
\label{tab:Bfifth}% |
| 330 |
\subtable[Five subone.\label{tab:BfifthA}]{\figbox{Five subone}}% |
| 331 |
\goodgap |
| 332 |
\subtable[Five subtwo.\label{tab:BfifthB}]{\figbox{Five subtwo}}% |
| 333 |
% |
| 334 |
\caption{Sixth table.}% |
| 335 |
\label{tab:Bsixth}% |
| 336 |
\subtable[Six subone.\label{tab:BsixthA}]{\figbox{Six subone}}% |
| 337 |
\goodgap |
| 338 |
\subtable[Six subtwo.\label{tab:BsixthB}]{\figbox{Six subtwo}}% |
| 339 |
\end{center}% |
| 340 |
\end{table} |
| 341 |
|
| 342 |
|
| 343 |
\section{Multiple figures with ``\slshape{CAPTOP}''} |
| 344 |
|
| 345 |
\subfiguretopcaptrue |
| 346 |
|
| 347 |
Figure~\ref{fig:Cfirst}[\pageref{fig:Cfirst}] has two subfigures |
| 348 |
\ref{fig:CfirstA}[\pageref{fig:CfirstA}] and |
| 349 |
\ref{fig:CfirstB}[\pageref{fig:CfirstB}]. |
| 350 |
% |
| 351 |
Figure~\ref{fig:Csecond}[\pageref{fig:Csecond}] has two subfigures |
| 352 |
\ref{fig:CsecondA}[\pageref{fig:CsecondA}] and |
| 353 |
\ref{fig:CsecondB}[\pageref{fig:CsecondB}]. |
| 354 |
% |
| 355 |
Figure~\ref{fig:Cthird}[\pageref{fig:Cthird}] has two subfigures |
| 356 |
\ref{fig:CthirdA}[\pageref{fig:CthirdA}] and |
| 357 |
\ref{fig:CthirdB}[\pageref{fig:CthirdB}]. |
| 358 |
% |
| 359 |
Figure~\ref{fig:Cfourth}[\pageref{fig:Cfourth}] has two subfigures |
| 360 |
\ref{fig:CfourthA}[\pageref{fig:CfourthA}] and |
| 361 |
\ref{fig:CfourthB}[\pageref{fig:CfourthB}]. |
| 362 |
% |
| 363 |
Figure~\ref{fig:Cfifth}[\pageref{fig:Cfifth}] has two subfigures |
| 364 |
\ref{fig:CfifthA}[\pageref{fig:CfifthA}] and |
| 365 |
\ref{fig:CfifthB}[\pageref{fig:CfifthB}]. |
| 366 |
% |
| 367 |
Figure~\ref{fig:Csixth}[\pageref{fig:Csixth}] has two subfigures |
| 368 |
\ref{fig:CsixthA}[\pageref{fig:CsixthA}] and |
| 369 |
\ref{fig:CsixthB}[\pageref{fig:CsixthB}]. |
| 370 |
|
| 371 |
\begin{figure}% |
| 372 |
\begin{center}% |
| 373 |
\caption{First figure.}% |
| 374 |
\label{fig:Cfirst}% |
| 375 |
\subfigure[One subone.\label{fig:CfirstA}]{\figbox{One subone}}% |
| 376 |
\goodgap |
| 377 |
\subfigure[One subtwo.\label{fig:CfirstB}]{\figbox{One subtwo}}\\ |
| 378 |
% |
| 379 |
\caption{Second figure.}% |
| 380 |
\label{fig:Csecond}% |
| 381 |
\subfigure[Two subone.\label{fig:CsecondA}]{\figbox{Two subone}}% |
| 382 |
\goodgap |
| 383 |
\subfigure[Two subtwo.\label{fig:CsecondB}]{\figbox{Two subtwo}}\\ |
| 384 |
% |
| 385 |
\caption{Third figure.}% |
| 386 |
\label{fig:Cthird}% |
| 387 |
\subfigure[Three subone.\label{fig:CthirdA}]{\figbox{Three subone}}% |
| 388 |
\goodgap |
| 389 |
\subfigure[Three subtwo.\label{fig:CthirdB}]{\figbox{Three subtwo}}\\ |
| 390 |
\end{center}% |
| 391 |
\end{figure} |
| 392 |
|
| 393 |
\begin{figure}% |
| 394 |
\begin{center}% |
| 395 |
\caption{Fourth figure.}% |
| 396 |
\label{fig:Cfourth}% |
| 397 |
\subfigure[Four subone.\label{fig:CfourthA}]{\figbox{Four subone}}% |
| 398 |
\goodgap |
| 399 |
\subfigure[Four subtwo.\label{fig:CfourthB}]{\figbox{Four subtwo}}\\ |
| 400 |
% |
| 401 |
\caption{Fifth figure.}% |
| 402 |
\label{fig:Cfifth}% |
| 403 |
\subfigure[Five subone.\label{fig:CfifthA}]{\figbox{Five subone}}% |
| 404 |
\goodgap |
| 405 |
\subfigure[Five subtwo.\label{fig:CfifthB}]{\figbox{Five subtwo}}\\ |
| 406 |
% |
| 407 |
\caption{Sixth figure.}% |
| 408 |
\label{fig:Csixth}% |
| 409 |
\subfigure[Six subone.\label{fig:CsixthA}]{\figbox{Six subone}}% |
| 410 |
\goodgap |
| 411 |
\subfigure[Six subtwo.\label{fig:CsixthB}]{\figbox{Six subtwo}}\\ |
| 412 |
\end{center}% |
| 413 |
\end{figure} |
| 414 |
|
| 415 |
\section{Multiple tables with ``\slshape{CAPTOP}''} |
| 416 |
|
| 417 |
\subtabletopcaptrue |
| 418 |
|
| 419 |
Table~\ref{tab:Cfirst}[\pageref{tab:Cfirst}] has two subtables |
| 420 |
\ref{tab:CfirstA}[\pageref{tab:CfirstA}] and |
| 421 |
\ref{tab:CfirstB}[\pageref{tab:CfirstB}]. |
| 422 |
% |
| 423 |
Table~\ref{tab:Csecond}[\pageref{tab:Csecond}] has two subtables |
| 424 |
\ref{tab:CsecondA}[\pageref{tab:CsecondA}] and |
| 425 |
\ref{tab:CsecondB}[\pageref{tab:CsecondB}]. |
| 426 |
% |
| 427 |
Table~\ref{tab:Cthird}[\pageref{tab:Cthird}] has two subtables |
| 428 |
\ref{tab:CthirdA}[\pageref{tab:CthirdA}] and |
| 429 |
\ref{tab:CthirdB}[\pageref{tab:CthirdB}]. |
| 430 |
% |
| 431 |
Table~\ref{tab:Cfourth}[\pageref{tab:Cfourth}] has two subtables |
| 432 |
\ref{tab:CfourthA}[\pageref{tab:CfourthA}] and |
| 433 |
\ref{tab:CfourthB}[\pageref{tab:CfourthB}]. |
| 434 |
% |
| 435 |
Table~\ref{tab:Cfifth}[\pageref{tab:Cfifth}] has two subtables |
| 436 |
\ref{tab:CfifthA}[\pageref{tab:CfifthA}] and |
| 437 |
\ref{tab:CfifthB}[\pageref{tab:CfifthB}]. |
| 438 |
% |
| 439 |
Table~\ref{tab:Csixth}[\pageref{tab:Csixth}] has two subtables |
| 440 |
\ref{tab:CsixthA}[\pageref{tab:CsixthA}] and |
| 441 |
\ref{tab:CsixthB}[\pageref{tab:CsixthB}]. |
| 442 |
|
| 443 |
\begin{table}% |
| 444 |
\begin{center}% |
| 445 |
\caption{First table.}% |
| 446 |
\label{tab:Cfirst}% |
| 447 |
\subtable[One subone.\label{tab:CfirstA}]{\figbox{One subone}}% |
| 448 |
\goodgap |
| 449 |
\subtable[One subtwo.\label{tab:CfirstB}]{\figbox{One subtwo}}\\ |
| 450 |
% |
| 451 |
\caption{Second table.}% |
| 452 |
\label{tab:Csecond}% |
| 453 |
\subtable[Two subone.\label{tab:CsecondA}]{\figbox{Two subone}}% |
| 454 |
\goodgap |
| 455 |
\subtable[Two subtwo.\label{tab:CsecondB}]{\figbox{Two subtwo}}\\ |
| 456 |
% |
| 457 |
\caption{Third table.}% |
| 458 |
\label{tab:Cthird}% |
| 459 |
\subtable[Three subone.\label{tab:CthirdA}]{\figbox{Three subone}}% |
| 460 |
\goodgap |
| 461 |
\subtable[Three subtwo.\label{tab:CthirdB}]{\figbox{Three subtwo}}\\ |
| 462 |
\end{center}% |
| 463 |
\end{table} |
| 464 |
|
| 465 |
\begin{table}% |
| 466 |
\begin{center}% |
| 467 |
\caption{Fourth table.}% |
| 468 |
\label{tab:Cfourth}% |
| 469 |
\subtable[Four subone.\label{tab:CfourthA}]{\figbox{Four subone}}% |
| 470 |
\goodgap |
| 471 |
\subtable[Four subtwo.\label{tab:CfourthB}]{\figbox{Four subtwo}}\\ |
| 472 |
% |
| 473 |
\caption{Fifth table.}% |
| 474 |
\label{tab:Cfifth}% |
| 475 |
\subtable[Five subone.\label{tab:CfifthA}]{\figbox{Five subone}}% |
| 476 |
\goodgap |
| 477 |
\subtable[Five subtwo.\label{tab:CfifthB}]{\figbox{Five subtwo}}\\ |
| 478 |
% |
| 479 |
\caption{Sixth table.}% |
| 480 |
\label{tab:Csixth}% |
| 481 |
\subtable[Six subone.\label{tab:CsixthA}]{\figbox{Six subone}}% |
| 482 |
\goodgap |
| 483 |
\subtable[Six subtwo.\label{tab:CsixthB}]{\figbox{Six subtwo}}\\ |
| 484 |
\end{center}% |
| 485 |
\end{table} |
| 486 |
|
| 487 |
\section{Mixed figures and tables with mixed ``\slshape{captop}''} |
| 488 |
|
| 489 |
\figuretopcapfalse\setcounter{subfigure}{0} |
| 490 |
\subfiguretopcapfalse |
| 491 |
\tabletopcaptrue\setcounter{subtable}{0} |
| 492 |
\subtabletopcapfalse |
| 493 |
|
| 494 |
Figure~\ref{fig:Dfirst}[\pageref{fig:Dfirst}] has two subfigures |
| 495 |
\ref{fig:DfirstA}[\pageref{fig:DfirstA}] and |
| 496 |
\ref{fig:DfirstB}[\pageref{fig:DfirstB}]. |
| 497 |
% |
| 498 |
Table~\ref{tab:Dfirst}[\pageref{tab:Dfirst}] has two subtables |
| 499 |
\ref{tab:DfirstA}[\pageref{tab:DfirstA}] and |
| 500 |
\ref{tab:DfirstB}[\pageref{tab:DfirstB}]. |
| 501 |
% |
| 502 |
Figure~\ref{fig:Dsecond}[\pageref{fig:Dsecond}] has two subfigures |
| 503 |
\ref{fig:DsecondA}[\pageref{fig:DsecondA}] and |
| 504 |
\ref{fig:DsecondB}[\pageref{fig:DsecondB}]. |
| 505 |
% |
| 506 |
Figure~\ref{fig:Dthird}[\pageref{fig:Dthird}] has two subfigures |
| 507 |
\ref{fig:DthirdA}[\pageref{fig:DthirdA}] and |
| 508 |
\ref{fig:DthirdB}[\pageref{fig:DthirdB}]. |
| 509 |
% |
| 510 |
Table~\ref{tab:Dsecond}[\pageref{tab:Dsecond}] has two subtables |
| 511 |
\ref{tab:DsecondA}[\pageref{tab:DsecondA}] and |
| 512 |
\ref{tab:DsecondB}[\pageref{tab:DsecondB}]. |
| 513 |
% |
| 514 |
Table~\ref{tab:Dthird}[\pageref{tab:Dthird}] has two subtables |
| 515 |
\ref{tab:DthirdA}[\pageref{tab:DthirdA}] and |
| 516 |
\ref{tab:DthirdB}[\pageref{tab:DthirdB}]. |
| 517 |
% |
| 518 |
|
| 519 |
\begin{figure}% |
| 520 |
\begin{center}% |
| 521 |
\subfigure[One subone.\label{fig:DfirstA}]{\figbox{One subone}}% |
| 522 |
\goodgap |
| 523 |
\subfigure[One subtwo.\label{fig:DfirstB}]{\figbox{One subtwo}}\\[-10pt] |
| 524 |
\caption{First figure.}% |
| 525 |
\label{fig:Dfirst}% |
| 526 |
% |
| 527 |
\setcaptype{table}% |
| 528 |
\caption{First table.}% |
| 529 |
\label{tab:Dfirst}% |
| 530 |
\subtable[One subone.\label{tab:DfirstA}]{\figbox{One subone}}% |
| 531 |
\goodgap |
| 532 |
\subtable[One subtwo.\label{tab:DfirstB}]{\figbox{One subtwo}}\\ |
| 533 |
\listsubcaptions |
| 534 |
% |
| 535 |
\setcaptype{figure}% |
| 536 |
\subfigure[Two subone.\label{fig:DsecondA}]{\figbox{Two subone}}% |
| 537 |
\goodgap |
| 538 |
\subfigure[Two subtwo.\label{fig:DsecondB}]{\figbox{Two subtwo}}\\[-10pt] |
| 539 |
\caption{Second figure.}% |
| 540 |
\label{fig:Dsecond}% |
| 541 |
\end{center}% |
| 542 |
\end{figure} |
| 543 |
|
| 544 |
\begin{table}% |
| 545 |
\begin{center}% |
| 546 |
\caption{Second table.}% |
| 547 |
\label{tab:Dsecond}% |
| 548 |
\subtable[Two subone.\label{tab:DsecondA}]{\figbox{Two subone}}% |
| 549 |
\goodgap |
| 550 |
\subtable[Two subtwo.\label{tab:DsecondB}]{\figbox{Two subtwo}}\\ |
| 551 |
\listsubcaptions |
| 552 |
% |
| 553 |
\setcaptype{figure}% |
| 554 |
\subfigure[Three subone.\label{fig:DthirdA}]{\figbox{Three subone}}% |
| 555 |
\goodgap |
| 556 |
\subfigure[Three subtwo.\label{fig:DthirdB}]{\figbox{Three subtwo}}\\[-10pt] |
| 557 |
\caption{Third figure.}% |
| 558 |
\label{fig:Dthird}% |
| 559 |
% |
| 560 |
\setcaptype{table}% |
| 561 |
\caption{Third table.}% |
| 562 |
\label{tab:Dthird}% |
| 563 |
\subtable[Three subone.\label{tab:DthirdA}]{\figbox{Three subone}}% |
| 564 |
\goodgap |
| 565 |
\subtable[Three subtwo.\label{tab:DthirdB}]{\figbox{Three subtwo}}\\ |
| 566 |
\end{center}% |
| 567 |
\end{table} |
| 568 |
|
| 569 |
|
| 570 |
\section{Mixed figures and tables with mixed ``\slshape{CAPTOP}''} |
| 571 |
|
| 572 |
\figuretopcapfalse\setcounter{subfigure}{0} |
| 573 |
\subfiguretopcapfalse |
| 574 |
\tabletopcaptrue\setcounter{subtable}{0} |
| 575 |
\subtabletopcaptrue |
| 576 |
|
| 577 |
Figure~\ref{fig:Efirst}[\pageref{fig:Efirst}] has two subfigures |
| 578 |
\ref{fig:EfirstA}[\pageref{fig:EfirstA}] and |
| 579 |
\ref{fig:EfirstB}[\pageref{fig:EfirstB}]. |
| 580 |
% |
| 581 |
Table~\ref{tab:Efirst}[\pageref{tab:Efirst}] has two subtables |
| 582 |
\ref{tab:EfirstA}[\pageref{tab:EfirstA}] and |
| 583 |
\ref{tab:EfirstB}[\pageref{tab:EfirstB}]. |
| 584 |
% |
| 585 |
Figure~\ref{fig:Esecond}[\pageref{fig:Esecond}] has two subfigures |
| 586 |
\ref{fig:EsecondA}[\pageref{fig:EsecondA}] and |
| 587 |
\ref{fig:EsecondB}[\pageref{fig:EsecondB}]. |
| 588 |
% |
| 589 |
Figure~\ref{fig:Ethird}[\pageref{fig:Ethird}] has two subfigures |
| 590 |
\ref{fig:EthirdA}[\pageref{fig:EthirdA}] and |
| 591 |
\ref{fig:EthirdB}[\pageref{fig:EthirdB}]. |
| 592 |
% |
| 593 |
Table~\ref{tab:Esecond}[\pageref{tab:Esecond}] has two subtables |
| 594 |
\ref{tab:EsecondA}[\pageref{tab:EsecondA}] and |
| 595 |
\ref{tab:EsecondB}[\pageref{tab:EsecondB}]. |
| 596 |
% |
| 597 |
Table~\ref{tab:Ethird}[\pageref{tab:Ethird}] has two subtables |
| 598 |
\ref{tab:EthirdA}[\pageref{tab:EthirdA}] and |
| 599 |
\ref{tab:EthirdB}[\pageref{tab:EthirdB}]. |
| 600 |
% |
| 601 |
|
| 602 |
\begin{figure}% |
| 603 |
\begin{center}% |
| 604 |
\subfigure[One subone.\label{fig:EfirstA}]{\figbox{One subone}}% |
| 605 |
\goodgap |
| 606 |
\subfigure[One subtwo.\label{fig:EfirstB}]{\figbox{One subtwo}}\\[-10pt] |
| 607 |
\caption{First figure.}% |
| 608 |
\label{fig:Efirst}% |
| 609 |
% |
| 610 |
\setcaptype{table}% |
| 611 |
\caption{First table.}% |
| 612 |
\label{tab:Efirst}% |
| 613 |
\subtable[One subone.\label{tab:EfirstA}]{\figbox{One subone}}% |
| 614 |
\goodgap |
| 615 |
\subtable[One subtwo.\label{tab:EfirstB}]{\figbox{One subtwo}}\\ |
| 616 |
\listsubcaptions |
| 617 |
% |
| 618 |
\setcaptype{figure}% |
| 619 |
\subfigure[Two subone.\label{fig:EsecondA}]{\figbox{Two subone}}% |
| 620 |
\goodgap |
| 621 |
\subfigure[Two subtwo.\label{fig:EsecondB}]{\figbox{Two subtwo}}\\[-10pt] |
| 622 |
\caption{Second figure.}% |
| 623 |
\label{fig:Esecond}% |
| 624 |
\end{center}% |
| 625 |
\end{figure} |
| 626 |
|
| 627 |
\begin{table}% |
| 628 |
\begin{center}% |
| 629 |
\caption{Second table.}% |
| 630 |
\label{tab:Esecond}% |
| 631 |
\subtable[Two subone.\label{tab:EsecondA}]{\figbox{Two subone}}% |
| 632 |
\goodgap |
| 633 |
\subtable[Two subtwo.\label{tab:EsecondB}]{\figbox{Two subtwo}}\\ |
| 634 |
\listsubcaptions |
| 635 |
% |
| 636 |
\setcaptype{figure}% |
| 637 |
\subfigure[Three subone.\label{fig:EthirdA}]{\figbox{Three subone}}% |
| 638 |
\goodgap |
| 639 |
\subfigure[Three subtwo.\label{fig:EthirdB}]{\figbox{Three subtwo}}\\[-10pt] |
| 640 |
\caption{Third figure.}% |
| 641 |
\label{fig:Ethird}% |
| 642 |
% |
| 643 |
\setcaptype{table}% |
| 644 |
\caption{Third table.}% |
| 645 |
\label{tab:Ethird}% |
| 646 |
\subtable[Three subone.\label{tab:EthirdA}]{\figbox{Three subone}}% |
| 647 |
\goodgap |
| 648 |
\subtable[Three subtwo.\label{tab:EthirdB}]{\figbox{Three subtwo}}\\ |
| 649 |
\end{center}% |
| 650 |
\end{table} |
| 651 |
|
| 652 |
\end{document} |