summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/caption/caption2.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/caption/caption2.sty')
-rw-r--r--Master/texmf-dist/tex/latex/caption/caption2.sty18
1 files changed, 10 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/caption/caption2.sty b/Master/texmf-dist/tex/latex/caption/caption2.sty
index fa7ffb21b57..60f829b6c79 100644
--- a/Master/texmf-dist/tex/latex/caption/caption2.sty
+++ b/Master/texmf-dist/tex/latex/caption/caption2.sty
@@ -6,7 +6,7 @@
%%
%% caption2.dtx (with options: `package')
%%
-%% Copyright (C) 1994-2005 Axel Sommerfeldt (caption@sommerfeldt.net)
+%% Copyright (C) 1994-2006 Axel Sommerfeldt (caption@sommerfee.de)
%%
%% --------------------------------------------------------------------------
%%
@@ -23,11 +23,13 @@
%% This Current Maintainer of this work is Axel Sommerfeldt.
%%
%% This work consists of the files caption.ins, caption.dtx,
-%% caption2.dtx, caption.xml, and anleitung.tex and the derived files
+%% caption2.dtx, and anleitung.tex and the derived files
%% caption.sty, caption2.sty, caption3.sty, and manual.tex.
%%
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{caption2}[2004/05/10 v2.1c Customising captions (AS)]
+\ProvidesPackage{caption2}[2005/10/03 v2.1d Customising captions (AS)]
+\PackageWarning{caption2}{%
+ THIS PACKAGE IS OBSOLETE, PLEASE USE caption INSTEAD}
\newcommand*\captionfont{}
\newcommand*\captionlabelfont{}
\newcommand*\captionlabeldelim{}
@@ -86,7 +88,7 @@
before you can select\MessageBreak it with \protect\captionstyle.
\space\caption@eh}%
\else
- #2\usecaptionstyle{\caption@style}%
+ #2\usecaptionstyle\caption@style
\fi}}
\newcommand*\captionstyle[1]{%
\expandafter\ifx\csname caption@@#1\endcsname\relax
@@ -223,7 +225,7 @@
\sbox\@tempboxa{#1}%
\ifdim\wd\@tempboxa >\captionlinewidth
\else
- \def\next{{\centering\usebox{\@tempboxa}\par}\@gobble}%
+ \def\next{{\centering\usebox\@tempboxa\par}\@gobble}%
\fi
\fi\next}
\newcommand*\usecaptionstyle[1]{%
@@ -244,7 +246,7 @@
\realcaptionwidth\hsize
\def\captionlabel{#1}%
\def\captiontext{#2}%
- \usecaptionstyle{\caption@style}%
+ \usecaptionstyle\caption@style
\vskip\belowcaptionskip}
\renewcommand*\caption@package[3]{%
\if1\@nameuse{caption@pkt@#1}%
@@ -359,13 +361,13 @@
\captionindent\subcapindent
\ifsubcapnooneline\onelinecaptionsfalse\else\onelinecaptionstrue\fi
\hbox to\@tempdima{%
- \caption@subfig@hss\parbox[t]{\@tempdima}{%
+ \caption@subfig@hss\parbox[t]\@tempdima{%
\captionlinewidth\@tempdima
\realcaptionwidth\@tempdima
\captionlabeltrue
\def\captionlabel{#1}%
\def\captiontext{\ignorespaces #2}%
- \usecaptionstyle{\caption@substyle}}%
+ \usecaptionstyle\caption@substyle}%
\caption@subfig@hss}}
\caption@package{subfigure}{@makesubfigurecaption}{%
\let\setsubcapstyle\undefined