diff options
author | Norbert Preining <norbert@preining.info> | 2020-11-02 03:04:14 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-11-02 03:04:14 +0000 |
commit | ede2cee3dfac406ff8defae5014e86c839b852ca (patch) | |
tree | 1b7c1dd4c2f100dfd48aaf2f325649e49385e876 /macros/latex/contrib/hvfloat/latex | |
parent | f3fbfce65a7de58853550aedf1b6e6acd5c29a1e (diff) |
CTAN sync 202011020304
Diffstat (limited to 'macros/latex/contrib/hvfloat/latex')
-rw-r--r-- | macros/latex/contrib/hvfloat/latex/hvfloat-fps.sty | 2 | ||||
-rw-r--r-- | macros/latex/contrib/hvfloat/latex/hvfloat.sty | 32 |
2 files changed, 23 insertions, 11 deletions
diff --git a/macros/latex/contrib/hvfloat/latex/hvfloat-fps.sty b/macros/latex/contrib/hvfloat/latex/hvfloat-fps.sty index 6fff6b4323..99b7cbfbab 100644 --- a/macros/latex/contrib/hvfloat/latex/hvfloat-fps.sty +++ b/macros/latex/contrib/hvfloat/latex/hvfloat-fps.sty @@ -1,4 +1,4 @@ -%% $Id: hvfloat-fps.sty 1031 2019-04-03 20:40:25Z herbert $ +%% $Id: hvfloat-fps.sty 35 2020-10-31 07:41:00Z herbert $ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{hvfloat-fps}[2017/09/16 setting float objects] diff --git a/macros/latex/contrib/hvfloat/latex/hvfloat.sty b/macros/latex/contrib/hvfloat/latex/hvfloat.sty index 7eda015ab8..622c1fba50 100644 --- a/macros/latex/contrib/hvfloat/latex/hvfloat.sty +++ b/macros/latex/contrib/hvfloat/latex/hvfloat.sty @@ -1,7 +1,5 @@ -%% $Id: hvfloat.sty 1054 2019-05-13 08:20:11Z herbert $ +%% $Id: hvfloat.sty 36 2020-10-31 08:22:30Z herbert $ %% -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{hvfloat}[2019/05/13 rotating of floating objects] %% %% IMPORTANT NOTICE: %% @@ -16,10 +14,12 @@ %% DESCRIPTION: %% `hvfloat' offers rotating of captions and objects for floats %% -\def\fileversion{2.15} -\def\filedate{2019/08/31} +\NeedsTeXFormat{LaTeX2e} +\def\fileversion{2.17} +\def\filedate{2020/10/31} \message{`hvfloat' v\fileversion, \filedate\space (Herbert Voss)} -\let\hvFileVersion\fileversion +\ProvidesPackage{hvfloat}[\filedate\ rotating of floating objects] +\let\hvFloatFileVersion\fileversion % \newif\ifhv@fbox \hv@fboxfalse \newif\ifhv@hyperref \hv@hyperreffalse @@ -480,16 +480,28 @@ \ifhv@onlyText\hv@longCap \else \ifx\hv@floatType\hv@figure - \ifx\relax\hv@shortCap\relax \figcaption{\hv@longCap}\else\figcaption[\hv@shortCap]{\hv@longCap}\fi + \ifx\relax\hv@shortCap\relax + \figcaption{\hv@longCap\expandafter\label\expandafter{\hv@label}}% + \else + \figcaption[\hv@shortCap]{\hv@longCap\expandafter\label\expandafter{\hv@label}}% + \fi \else - \ifx\relax\hv@shortCap\relax \tabcaption{\hv@longCap}\else\tabcaption[\hv@shortCap]{\hv@longCap}\fi + \ifx\relax\hv@shortCap\relax + \tabcaption{\hv@longCap\expandafter\label\expandafter{\hv@label}}% + \else + \tabcaption[\hv@shortCap]{\hv@longCap\expandafter\label\expandafter{\hv@label}}% + \fi \fi \fi \else \let\@captype\hv@floatType - \expandafter\ifx\expandafter\relax\hv@shortCap\relax \caption{\hv@longCap}\else\caption[\hv@shortCap]{\hv@longCap}\fi + \expandafter\ifx\expandafter\relax\hv@shortCap\relax + \caption{\hv@longCap\expandafter\label\expandafter{\hv@label}}% + \else + \caption[\hv@shortCap]{\hv@longCap\expandafter\label\expandafter{\hv@label}}% + \fi \fi - \expandafter\label\expandafter{\hv@label}% +% \expandafter\label\expandafter{\hv@label}% 2.17 put label into the caption argument \end{minipage}% }% \else |