From f3293da79b2d98143874b2594dac2dbafa167d1c Mon Sep 17 00:00:00 2001
From: Manuel Pégourié-Gonnard <mpg@elzevir.fr>
Date: Mon, 7 Apr 2008 13:23:56 +0000
Subject: The caption package v3.1h

git-svn-id: svn://tug.org/texlive/trunk@7346 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/caption/ltcaption.sty | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/caption/ltcaption.sty')

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
-- 
cgit v1.2.3

