summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/caption/caption3.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/caption/caption3.sty')
-rw-r--r--Master/texmf-dist/tex/latex/caption/caption3.sty23
1 files changed, 13 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/caption/caption3.sty b/Master/texmf-dist/tex/latex/caption/caption3.sty
index 7d89e2f142e..5b0beadfba3 100644
--- a/Master/texmf-dist/tex/latex/caption/caption3.sty
+++ b/Master/texmf-dist/tex/latex/caption/caption3.sty
@@ -28,7 +28,7 @@
%% caption-eng.tex, and caption-rus.tex.
%%
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{caption3}[2007/10/17 v3.1c caption3 kernel (AR)]
+\ProvidesPackage{caption3}[2007/10/25 v3.1d caption3 kernel (AR)]
\providecommand*\@nameundef[1]{%
\expandafter\let\csname #1\endcsname\@undefined}
\providecommand\l@addto@macro[2]{%
@@ -153,9 +153,12 @@
\caption@@begindocumenthook
\let\caption@@begindocumenthook\@undefined
\PackageInfo{caption}{End \noexpand\AtBeginDocument code\@gobble}}
-\newcommand*\caption@Warning[1]{\caption@WarningNoLine{#1\on@line}}
-\newcommand*\caption@WarningNoLine[1]{\PackageWarning{caption}{#1.^^J\caption@wh\@gobbletwo}}
-\newcommand*\caption@Error[1]{\PackageError{caption}{#1}\caption@eh}
+\newcommand*\caption@Warning[1]{%
+ \caption@WarningNoLine{#1\on@line}}
+\newcommand*\caption@WarningNoLine[1]{%
+ \PackageWarning{caption}{#1.^^J\caption@wh\@gobbletwo}}
+\newcommand*\caption@Error[1]{%
+ \PackageError{caption}{#1}\caption@eh}
\let\caption@KV@err\caption@Error
\newcommand*\caption@wh{%
See the caption package documentation for explanation.}
@@ -420,7 +423,7 @@
\expandafter\caption@setup\expandafter{\caption@sty}%
\fi
\expandafter\let\expandafter\caption@sls\csname caption@sls@#2\endcsname
- \expandafter\caption@l@addto@list\expandafter\caption@opt@SingleLine
+ \expandafter\caption@l@addto@list\expandafter\caption@opt@singleline
\expandafter{\caption@sls}}}
\newcommand*\caption@resetstyle{%
\caption@setup{%
@@ -429,7 +432,7 @@
margin=0pt,minmargin=0,maxmargin=0,%
indent=0pt,parindent=0pt,hangindent=0pt,%
singlelinecheck=1,strut=1}%
- \caption@clearsetup{SingleLine}}
+ \caption@clearsetup{singleline}}
\DeclareCaptionStyle{base}[indent=0pt,justification=centering]{}
\DeclareCaptionStyle{default}[indent=0pt,justification=centering]{%
format=default,labelsep=default,textformat=default,%
@@ -1038,7 +1041,7 @@
\newcommand\caption@slc[4]{%
\caption@Debug{Begin SLC}%
\begingroup
- \caption@SingleLine
+ \caption@singleline
\let\caption@hj\@empty
\caption@calcmargin % calculate #3 if necessary
\caption@prepareslc
@@ -1047,12 +1050,12 @@
\endgroup
\else
\endgroup
- \caption@SingleLine
+ \caption@singleline
#4%
\fi
\caption@Debug{End SLC}}
-\newcommand*\caption@SingleLine{%
- \expandafter\caption@setup\expandafter{\caption@opt@SingleLine}%
+\newcommand*\caption@singleline{%
+ \expandafter\caption@setup\expandafter{\caption@opt@singleline}%
\let\caption@fmt\caption@slfmt}
\newcommand*\caption@prepareslc{%
\let\@footnotetext\@gobble\let\@endnotetext\@gobble