summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/caption/ltcaption.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-09-17 23:49:07 +0000
committerKarl Berry <karl@freefriends.org>2015-09-17 23:49:07 +0000
commit9fd7d087755d8f3890acd6ca639d5a725ed3b176 (patch)
tree766d2dfd21af44a1422fc88f130525e752ac712d /Master/texmf-dist/tex/latex/caption/ltcaption.sty
parent6aabc6a32e1008cffcec6edce62975ba5f015436 (diff)
caption (17sep15)
git-svn-id: svn://tug.org/texlive/trunk@38393 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.sty40
1 files changed, 31 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/caption/ltcaption.sty b/Master/texmf-dist/tex/latex/caption/ltcaption.sty
index 153f4c875f0..74f6a26dde7 100644
--- a/Master/texmf-dist/tex/latex/caption/ltcaption.sty
+++ b/Master/texmf-dist/tex/latex/caption/ltcaption.sty
@@ -6,7 +6,7 @@
%%
%% ltcaption.dtx (with options: `package')
%%
-%% Copyright (C) 1994-2013 Axel Sommerfeldt
+%% Copyright (C) 1994-2013 Axel Sommerfeldt (axel.sommerfeldt@f-m.fm)
%%
%% http://sourceforge.net/projects/latex-caption/
%%
@@ -24,17 +24,23 @@
%%
%% This Current Maintainer of this work is Axel Sommerfeldt.
%%
-%% This work consists of the files caption.ins, caption.dtx, caption2.dtx,
-%% caption3.dtx, bicaption.dtx, ltcaption.dtx, subcaption.dtx, and newfloat.dtx,
-%% the derived files caption.sty, caption2.sty, caption3.sty,
-%% bicaption.sty, ltcaption.sty, subcaption.sty, and newfloat.sty,
-%% and the user manuals caption-deu.tex, caption-eng.tex, and caption-rus.tex.
+%% This work consists of the files
+%% CHANGELOG, README, SUMMARY, caption.ins,
+%% caption.dtx, caption2.dtx, caption3.dtx,
+%% bicaption.dtx, ltcaption.dtx, subcaption.dtx,
+%% newfloat.dtx, and totalcount.dtx
+%% the derived files
+%% caption.sty, caption2.sty, caption3.sty,
+%% bicaption.sty, ltcaption.sty, subcaption.sty,
+%% newfloat.sty, and totalcount.sty
+%% and the user manuals
+%% caption-deu.tex, caption-eng.tex, and caption-rus.tex.
%%
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
\def\caption@tempa$Id: #1 #2 #3-#4-#5 #6${%
\def\caption@tempa{#3/#4/#5 }\def\caption@tempb{#2 }}
-\caption@tempa $Id: ltcaption.sty 62 2013-02-03 10:40:15Z sommerfeldt $
-\ProvidesPackage{ltcaption}[\caption@tempa v1.3-\caption@tempb longtable captions (AR)]
+\caption@tempa $Id: ltcaption.sty 94 2013-06-09 16:07:04Z sommerfeldt $
+\ProvidesPackage{ltcaption}[\caption@tempa v1.4-\caption@tempb longtable captions (AR)]
\@ifpackageloaded{longtable}{}{%
\PackageError{ltcaption}{longtable package not loaded, aborting}{RTFM}}
\providecommand*\LTcaptype{table}
@@ -175,7 +181,7 @@
{\endlongtable}
\@ifundefined{@komalongtablefalse}{}{%
\if@komalongtable
- \renewcommand{\LT@makecaption}[3]{%
+ \renewcommand\LT@makecaption[3]{%
\noalign{%
\if@captionabove
\vskip\belowcaptionskip
@@ -195,6 +201,22 @@
}%
\let\LT@@makecaption\@undefined
\fi}
+\@ifclassloaded{memoir}{%
+ \@ifundefined{@@makecaption}{}{%
+ \renewcommand\LT@makecaption[3]{%
+ \caption@LT@make{%
+ \let\@memtempa\relax
+ % starred form -> #1 = \@gobble
+ \ifx#1\@gobble
+ \let\@contnfont\@empty
+ \let\@contdelim\@empty
+ \@@makecaption{}{#3}%
+ \else
+ \@@makecaption{#2}{#3}%
+ \fi
+ \endgraf\vskip\belowcaptionskip}}%
+ \let\LT@@makecaption\@undefined
+ }}{}
\endinput
%%
%% End of file `ltcaption.sty'.