diff options
author | Karl Berry <karl@freefriends.org> | 2020-05-11 20:46:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-05-11 20:46:52 +0000 |
commit | c3e239f00a6acf27533100a75bf08fff3b5ea614 (patch) | |
tree | 21b4716b23b699a6e6a3cdf55abaa5288298c4a1 /Master/texmf-dist/tex/latex/caption/caption.sty | |
parent | 12456f7f152925d7e748ba6a29175ba5bb09927b (diff) |
caption (11may20)
git-svn-id: svn://tug.org/texlive/trunk@55099 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/caption/caption.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/caption/caption.sty | 43 |
1 files changed, 2 insertions, 41 deletions
diff --git a/Master/texmf-dist/tex/latex/caption/caption.sty b/Master/texmf-dist/tex/latex/caption/caption.sty index f905114ef8f..71899f9dcc6 100644 --- a/Master/texmf-dist/tex/latex/caption/caption.sty +++ b/Master/texmf-dist/tex/latex/caption/caption.sty @@ -34,8 +34,8 @@ %% caption-deu.tex, caption-eng.tex, caption-rus.tex. %% \NeedsTeXFormat{LaTeX2e}[1994/12/01] -\ProvidesPackage{caption}[2020/01/03 v3.4h Customizing captions (AR)] -\RequirePackage{caption3}[2020/01/03] % needs v1.8h or newer +\ProvidesPackage{caption}[2020/05/10 v3.4j Customizing captions (AR)] +\RequirePackage{caption3}[2020/05/10] % needs v1.10 or newer \caption@ifbool{documentclass}{}{% \caption@WarningNoLine{% Unknown document class (or package),\MessageBreak @@ -58,45 +58,6 @@ \caption@Error{Usage of the `position' option is incompatible\MessageBreak to the `#1' package}}} \@onlypreamble\caption@DisablePositionOption -\DeclareCaptionOption{figureposition}{% - \captionsetup*[figure]{position=#1}} -\@onlypreamble@key{caption}{figureposition} -\DeclareCaptionOption{tableposition}{% - \captionsetup*[table]{position=#1}} -\@onlypreamble@key{caption}{tableposition} -\DeclareCaptionOption{figurename}{\caption@SetName{figure}{#1}} -\@onlypreamble@key{caption}{figurename} -\DeclareCaptionOption{tablename}{\caption@SetName{table}{#1}} -\@onlypreamble@key{caption}{tablename} -\DeclareCaptionOption{listfigurename}{\caption@SetName{listfigure}{#1}} -\@onlypreamble@key{caption}{listfigurename} -\DeclareCaptionOption{listtablename}{\caption@SetName{listtable}{#1}} -\@onlypreamble@key{caption}{listtablename} -\newcommand*\caption@SetName[2]{% - \caption@NewFloat{\newfloat@setname{#1}{#2}}} -\@onlypreamble\caption@SetName -\DeclareCaptionOption{name}{\caption@setname\@captype{#1}} -\newcommand*\caption@setname[2]{% - \@namedef{#1name}{#2}} -\newcommand*\caption@DeclareWithinOption[1]{% - \DeclareCaptionOption{#1within}{\caption@Within{#1}{##1}}% - \DeclareCaptionOptionNoValue{#1without}{\caption@Within{#1}{none}}} -\@onlypreamble\caption@DeclareWithinOption -\caption@DeclareWithinOption{figure} -\caption@DeclareWithinOption{table} -\DeclareCaptionOption{within}{% - \caption@NewFloat{\newfloatsetup{within=#1}}} -\DeclareCaptionOptionNoValue{without}{% - \caption@NewFloat{\newfloatsetup{without}}} -\newcommand*\caption@Within[2]{% - \caption@NewFloat{\newfloat@setwithin{#1}{#2}}} -\newcommand*\caption@NewFloat[1]{% - \let\KV@prefix@ORI\KV@prefix - \let\@tempc@ORI\@tempc - \caption@ifdefined\newfloatsetup{}{\RequirePackage{newfloat}}% - #1% - \let\@tempc\@tempc@ORI - \let\KV@prefix\KV@prefix@ORI} \DeclareCaptionOption*{config}[caption]{% \InputIfFileExists{#1.cfg}% {\typeout{*** Local configuration file #1.cfg used ***}}% |