diff options
author | Karl Berry <karl@freefriends.org> | 2019-05-10 21:15:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-05-10 21:15:26 +0000 |
commit | eac873075e6b204b20f064bc33f92e86ec8065a2 (patch) | |
tree | 74edb89558e7a3ab60dab53fd165f6026673acd9 /Master/texmf-dist/tex/latex/hvfloat | |
parent | 0adb4af0234da7598911f149b7884b86b514e07d (diff) |
hvfloat (10may19)
git-svn-id: svn://tug.org/texlive/trunk@51072 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hvfloat')
-rw-r--r-- | Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty b/Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty index 2f7c86ff93c..6f94d80bac6 100644 --- a/Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty +++ b/Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty @@ -1,7 +1,7 @@ -%% $Id: hvfloat.sty 1039 2019-04-07 12:20:01Z herbert $ +%% $Id: hvfloat.sty 1042 2019-04-08 18:34:25Z herbert $ %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{hvfloat}[2019/02/03 rotating of floating objects] +\ProvidesPackage{hvfloat}[2019/04/08 rotating of floating objects] %% %% IMPORTANT NOTICE: %% @@ -16,8 +16,8 @@ %% DESCRIPTION: %% `hvfloat' offers rotating of captions and objects for floats %% -\def\fileversion{2.12a} -\def\filedate{2019/04/07} +\def\fileversion{2.14} +\def\filedate{2019/05/10} \message{`hvfloat' v\fileversion, \filedate\space (Herbert Voss)} \let\hvFileVersion\fileversion % @@ -119,7 +119,7 @@ \define@key{hvSet}{objectAngle}[0]{% -360..+360 \def\hvSet@objectAngle{#1}% } -\define@key{hvSet}{floatCapSep}[5]{% a width with the unit pt +\define@key{hvSet}{floatCapSep}[5pt]{% a width with the unit pt \def\hvSet@floatCapSep{#1}% } \define@key{hvSet}{multiFloatSkip}[\normalbaselineskip]{% a width with the unit pt @@ -155,7 +155,7 @@ \hv@set{% floatPos=htbp, rotAngle=0, capWidth=n, capAngle=0, capPos=bottom, capVPos=center, objectPos=center, objectAngle=0, - floatCapSep=5, useOBox=false, nonFloat=false, + floatCapSep=5pt, useOBox=false, nonFloat=false, onlyText=false, wide=false, fullpage=false, FULLPAGE=false, multiFloat=false,subFloat=false, separatorLine,objectFrame=false,multiFloatSkip=\normalbaselineskip, @@ -417,9 +417,9 @@ \ifx\hvSet@capWidth\hv@Natural% captionwidth=\linewidth-\objectwidth-separation \ifhv@capbeside \ifhv@wide - \setlength\hvCapWidth{\the\dimexpr\hvWideWidth-\hvObjectWidth-\hvSet@floatCapSep pt\relax}% + \setlength\hvCapWidth{\the\dimexpr\hvWideWidth-\hvObjectWidth-\hvSet@floatCapSep\relax}% \else - \setlength\hvCapWidth{\the\dimexpr\columnwidth-\hvObjectWidth-\hvSet@floatCapSep pt\relax}% + \setlength\hvCapWidth{\the\dimexpr\columnwidth-\hvObjectWidth-\hvSet@floatCapSep\relax}% \fi \else \setlength\hvCapWidth{\columnwidth}% @@ -428,10 +428,10 @@ \ifhv@capbeside \ifhv@wide \setlength\hvCapWidth{\hvSet@capWidth\hvWideWidth}% - \setlength\@tempdima{\the\dimexpr\hvWideWidth-\hvObjectWidth-\hvSet@floatCapSep pt\relax}% + \setlength\@tempdima{\the\dimexpr\hvWideWidth-\hvObjectWidth-\hvSet@floatCapSep\relax}% \else \setlength\hvCapWidth{\hvSet@capWidth\columnwidth}% - \setlength\@tempdima{\the\dimexpr\columnwidth-\hvObjectWidth-\hvSet@floatCapSep pt\relax}% + \setlength\@tempdima{\the\dimexpr\columnwidth-\hvObjectWidth-\hvSet@floatCapSep\relax}% \fi \ifdim\hvCapWidth>\@tempdima \setlength\hvCapWidth{\@tempdima}% @@ -552,23 +552,23 @@ \fi %%%% \savebox{\@tempboxa}{% - \expandafter\ifcase\the\hv@@capPos % 0 is LEFT START \ifcase + \expandafter\ifcase\the\hv@@capPos% 0 is LEFT START \ifcase \ifx\hvSet@capVPos\hv@Center \put@CaptionBox - \hspace{\hvSet@floatCapSep pt}% capfloatsep + \hspace{\hvSet@floatCapSep}% capfloatsep \put@ObjectBox \else \ifx\hvSet@capVPos\hv@Top% caption and object at top aligned - \put@CaptionBox[1] - \hspace{\hvSet@floatCapSep pt}% capfloatsep - \put@ObjectBox[1] + \put@CaptionBox[1]% + \hspace{\hvSet@floatCapSep}% capfloatsep + \put@ObjectBox[1]% \else% caption on bottom - \put@CaptionBox[2] - \hspace{\hvSet@floatCapSep pt}% capfloatsep - \put@ObjectBox[2] + \put@CaptionBox[2]% + \hspace{\hvSet@floatCapSep}% capfloatsep + \put@ObjectBox[2]% \fi \fi% end caption left - \or %1 is top + \or%1 is top \ifdim\wd\hvCaptionBox>\wd\hvObjectBox \begin{minipage}{\wd\hvCaptionBox}% \else @@ -586,17 +586,17 @@ \or %2 is right \ifx\hvSet@capVPos\hv@Center \put@ObjectBox - \hspace{\hvSet@floatCapSep pt}% + \hspace{\hvSet@floatCapSep}% \put@CaptionBox \else \ifx\hvSet@capVPos\hv@Top - \put@ObjectBox[1] - \hspace{\hvSet@floatCapSep pt}% capfloatsep - \put@CaptionBox[1] + \put@ObjectBox[1]% + \hspace{\hvSet@floatCapSep}% capfloatsep + \put@CaptionBox[1]% \else - \put@ObjectBox[2] - \hspace{\hvSet@floatCapSep pt}% capfloatsep - \put@CaptionBox[2] + \put@ObjectBox[2]% + \hspace{\hvSet@floatCapSep}% capfloatsep + \put@CaptionBox[2]% \fi \fi \or %3 bottom @@ -613,7 +613,7 @@ \ifhv@objectFrame\frame{\usebox{\hvObjectBox}}\else\usebox{\hvObjectBox}\fi\\[\hvAboveCaptionSkip]% \usebox{\hvCaptionBox}% \fi - \end{minipage} + \end{minipage}% \fi% \ifcase\the\hv@@capPos }% End savebox Object and caption % |