summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-12 23:52:40 +0000
committerKarl Berry <karl@freefriends.org>2006-01-12 23:52:40 +0000
commita4d46fef06c272aff74fc9329ad0c7c1e2613eab (patch)
tree0aeb9a5e8093fdadefa7f0e94be8cb3b9e418576 /Master/texmf-dist
parent4b4257a48bfa13d04ab89f69f8ad2e39bfa899c4 (diff)
captcont
git-svn-id: svn://tug.org/texlive/trunk@736 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/tex/latex/captcont/captcont.sty136
1 files changed, 136 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/captcont/captcont.sty b/Master/texmf-dist/tex/latex/captcont/captcont.sty
new file mode 100644
index 00000000000..2e4c1573161
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/captcont/captcont.sty
@@ -0,0 +1,136 @@
+%%
+%% This is file `captcont.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% captcont.dtx (with options: `package')
+%%
+%% Copyright (C) 1996-2002 Steven Douglas Cochran.
+%%
+%% This file is NOT the source for captcont, because almost all comments
+%% have been stripped from it. It is NOT the preferred form of captcont
+%% for making modifications to it.
+%%
+%% Therefore you can NOT redistribute and/or modify THIS file. You can
+%% however redistribute the complete source (captcont.dtx and
+%% captcont.ins) and/or modify it under the terms of the LaTeX Project
+%% Public License, either version 1.2 of this license or (at your option)
+%% any later version. The latest version of this license is in:
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.2 or later is part of all distributions of LaTeX version
+%% 1999/09/03 or later.
+%%
+%% The captcont package is distributed in the hope that it will be
+%% useful, but WITHOUT ANY WARRANTY; without even the implied warranty
+%% of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+%% LaTeX Project Public License for more details.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% @LaTeX-style-file{
+%% author = "Steven Douglas Cochran",
+%% version = "2.0",
+%% date = "2002/02/14",
+%% time = "11:59:17",
+%% filename = "captcont.sty",
+%% address = "Digital Mapping Laboratory, School of Computer Science
+%% Carnegie-Mellon University, 5000 Forbes Avenue
+%% Pittsburgh, PA 15213-3890, USA",
+%% telephone = "+1 412.268.5654",
+%% fax = "+1 412.268.5576",
+%% email = "sdc+@CS.CMU.EDU (Internet)",
+%% codetable = "ISO/ASCII",
+%% keywords = "LaTeX, caption, float, figure, table, subfigure",
+%% supported = "yes",
+%% abstract = "LaTeX package for providing support for retaining
+%% a figure or table number across several float
+%% environments---usually over several pages. It
+%% also allows control over the contents of the
+%% List-of-Figures and the List-of-Tables pages."
+%% }
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\NeedsTeXFormat{LaTeX2e}[1994/12/01]
+\ProvidesPackage{captcont}[2002/02/14 v2.0 captcont package]
+\@ifundefined{figuretopcaptrue}{\newif\iffiguretopcap}{}
+\@ifundefined{tabletopcaptrue}{\newif\iftabletopcap}{}
+\@ifundefined{@subfloat}{%
+ \DeclareOption{figbotcap}{\figuretopcapfalse}
+ \DeclareOption{figtopcap}{\figuretopcaptrue}
+ \DeclareOption{tabbotcap}{\tabletopcapfalse}
+ \DeclareOption{tabtopcap}{\tabletopcaptrue}
+ \ExecuteOptions{figbotcap,tabtopcap}
+ \ProcessOptions}{}
+\let\cc@caption=\caption
+\renewcommand{\caption}{%
+ \@ifstar\cc@scaption\cc@caption}
+\newcommand{\cc@scaption}{%
+ \ifx\@captype\@undefined
+ \@latex@error{\noexpand\caption* outside float}\@ehd
+ \expandafter\@gobble
+ \else
+ \refstepcounter\@captype
+ \expandafter\@firstofone
+ \fi
+ {\@dblarg{\cc@@scaption\@captype}}}
+\long\def\cc@@scaption#1[#2]#3{%
+ \par
+ \begingroup
+ \@parboxrestore
+ \if@minipage
+ \@setminipage
+ \fi
+ \normalsize
+ \@makecaption{\@nameuse{fnum@#1}}{\ignorespaces #3}\par
+ \endgroup}
+\newcommand{\ccset@currentlabel}[1]{%
+ \@nameuse{if\@captype topcap}\else
+ \advance\@nameuse{c@\@captype}\@ne
+ \fi
+ \global\edef\@currentlabel{%
+ \@nameuse{p@#1}\@nameuse{the#1}}}
+\newcommand{\captcont}{%
+ \@ifstar\cc@scaptcont\cc@captcont}
+\newcommand{\cc@captcont}{%
+ \ifx\@captype\@undefined
+ \@latex@error{\noexpand\captcont outside float}\@ehd
+ \expandafter\@gobble
+ \else
+ \expandafter\@firstofone
+ \fi
+ {\@dblarg{\cc@@captcont\@captype}}}
+\newcommand{\cc@scaptcont}{%
+ \ifx\@captype\@undefined
+ \@latex@error{\noexpand\captcont* outside float}\@ehd
+ \expandafter\@gobble
+ \else
+ \expandafter\@firstofone
+ \fi
+ {\@dblarg{\cc@@scaptcont\@captype}}}
+\long\def\cc@@captcont#1[#2]#3{%
+ \par
+ \begingroup
+ \ccset@currentlabel{#1}%
+ \addcontentsline{\@nameuse{ext@#1}}{#1}%
+ {\protect\numberline{\@nameuse{the#1}}{\ignorespaces #2}}%
+ \@parboxrestore
+ \if@minipage
+ \@setminipage
+ \fi
+ \normalsize
+ \@makecaption{\@nameuse{fnum@#1}}{\ignorespaces #3}\par
+ \endgroup}
+\long\def\cc@@scaptcont#1[#2]#3{%
+ \par
+ \begingroup
+ \ccset@currentlabel{#1}%
+ \@parboxrestore
+ \if@minipage
+ \@setminipage
+ \fi
+ \normalsize
+ \@makecaption{\@nameuse{fnum@#1}}{\ignorespaces #3}\par
+ \endgroup}
+\endinput
+%%
+%% End of file `captcont.sty'.