Typesetting captions with the caption package - Departamento de ...
Typesetting captions with the caption package - Departamento de ...
Typesetting captions with the caption package - Departamento de ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
670 \let\<strong>caption</strong>@ContinuedFloat\@gobble<br />
671 \let\<strong>caption</strong>@resetContinuedFloat\@gobble<br />
\<strong>caption</strong>@@ContinuedFloat This hook is for foreign <strong>package</strong>s which link <strong>the</strong>mself into \ContinuedFloat, for<br />
example <strong>the</strong> subfig <strong>package</strong>[10].<br />
672 \provi<strong>de</strong>command*\<strong>caption</strong>@@ContinuedFloat[1]{}<br />
Internal helpers<br />
\<strong>caption</strong>@begin Our handling of \<strong>caption</strong> will always be surroun<strong>de</strong>d by \<strong>caption</strong>@begin (or<br />
\<strong>caption</strong>@beginex) and \<strong>caption</strong>@end.<br />
\<strong>caption</strong>@begin{〈type〉} performs <strong>the</strong>se tasks:<br />
• Call \<strong>caption</strong>@resetContinuedFloat (see above) and start a new group<br />
• Execute <strong>the</strong> options set <strong>with</strong> \<strong><strong>caption</strong>s</strong>etup[〈type〉]<br />
• Define \fnum@〈type〉 if <strong>the</strong> <strong>caption</strong> label format is set to non-<strong>de</strong>fault<br />
• Overri<strong>de</strong> <strong>the</strong> position= setting, if necessary (for example if set to auto or used<br />
insi<strong>de</strong> a supertabular)<br />
673 \newcommand*\<strong>caption</strong>@begin[1]{%<br />
674 \<strong>caption</strong>@resetContinuedFloat{#1}%<br />
675 \begingroup<br />
676 \<strong>caption</strong>@setfloattype{#1}%<br />
677 \ifx\<strong>caption</strong>@lfmt\<strong>caption</strong>@lfmt@<strong>de</strong>fault\else<br />
678 \@name<strong>de</strong>f{fnum@#1}{%<br />
679 \<strong>caption</strong>@lfmt{\<strong>caption</strong>@floatname{#1}}{\@nameuse{<strong>the</strong>#1}}}%<br />
680 \fi<br />
681 \<strong>caption</strong>@fixposition<br />
682 \global\let\<strong>caption</strong>@fixedposition\<strong>caption</strong>@position}<br />
\<strong>caption</strong>@beginex \<strong>caption</strong>@beginex{〈type〉}{〈list entry〉}{〈heading〉}<br />
performs <strong>the</strong> same tasks as \<strong>caption</strong>@begin and additionally: Re<strong>de</strong>fine \addcontentsline<br />
if no list-of entry is requested, that means ei<strong>the</strong>r <strong>the</strong> argument 〈list entry〉 is empty or<br />
listof= was set to false.<br />
683 \newcommand\<strong>caption</strong>@beginex[3]{%<br />
684 \<strong>caption</strong>@begin{#1}%<br />
685 \<strong>caption</strong>@iflof%<br />
686 {\<strong>de</strong>f\<strong>caption</strong>@tempa{#2}}%<br />
687 {\let\<strong>caption</strong>@tempa\@empty}%<br />
688 \ifx\<strong>caption</strong>@tempa\@empty<br />
689 \long\<strong>de</strong>f\addcontentsline##1##2##3{}% There is no \@gobblethree...<br />
690 \fi<br />
691 \<strong>caption</strong>@ifempty{#3}{\let\<strong>caption</strong>@ifempty\@secondoftwo}%<br />
692 }<br />
50