summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/caption/ltcaption.sty
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-04-07 13:23:56 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-04-07 13:23:56 +0000
commitf3293da79b2d98143874b2594dac2dbafa167d1c (patch)
tree6815bade64d06cf7c97c28304e756fc25bf38035 /Master/texmf-dist/tex/latex/caption/ltcaption.sty
parent41fdc70e57b74afa2a63e751e435055e5dfe7c58 (diff)
The caption package v3.1h
git-svn-id: svn://tug.org/texlive/trunk@7346 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/caption/ltcaption.sty')
-rw-r--r--Master/texmf-dist/tex/latex/caption/ltcaption.sty11
1 files changed, 5 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/caption/ltcaption.sty b/Master/texmf-dist/tex/latex/caption/ltcaption.sty
index 046cc927990..073a52f626e 100644
--- a/Master/texmf-dist/tex/latex/caption/ltcaption.sty
+++ b/Master/texmf-dist/tex/latex/caption/ltcaption.sty
@@ -28,14 +28,14 @@
%% user manuals caption-deu.tex, caption-eng.tex, and caption-rus.tex.
%%
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{ltcaption}[2008/03/21 v1.1a longtable captions (AR)]
+\ProvidesPackage{ltcaption}[2008/03/28 v1.2 longtable captions (AR)]
\providecommand*\LTcaptype{table}
\providecommand*\ext@table{lot}
\@ifundefined{caption@AtBeginDocument}\AtBeginDocument\caption@AtBeginDocument{%
\@ifpackageloaded{listings}{%
- \providecommand*\ext@lstlisting{lol}%
- }{}}
+ \providecommand*\ext@lstlisting{lol}}{}}
\@ifpackageloaded{caption}{}{%
+ \newskip\LTcapskip \LTcapskip=\abovecaptionskip
\newskip\LTcapleft \LTcapleft=\fill
\newskip\LTcapright \LTcapright=\fill
\newif\ifLTcapmargins \LTcapmarginstrue
@@ -55,8 +55,7 @@
\def\hyper@makecurrent{%
\caption@LTtype\caption@LT@makecurrent}%
\def\lst@@caption{\relax}%
- \ltcaption@ORI@LT@array}%
-}
+ \ltcaption@ORI@LT@array}}
\newcommand*\caption@LTtype[2]{%
\edef\caption@LT@tempa{#2}%
\ifx\caption@LT@tempa\caption@LT@table
@@ -83,7 +82,7 @@
\else
\hbox to\hsize{\hfil\box\@tempboxa\hfil}%
\fi
- \endgraf\vskip\baselineskip}}
+ \endgraf\vskip\LTcapskip}}
\newcommand\LT@@makecaption[1]{%
\caption@LT@make{\hb@xt@\hsize{%
\ifLTcapmargins