From 667ed445792613a39df20686582bb5d167317779 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 3 Apr 2022 20:55:41 +0000 Subject: hvfloat (3apr22) git-svn-id: svn://tug.org/texlive/trunk@62893 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/hvfloat/Changes | 2 ++ Master/texmf-dist/doc/latex/hvfloat/hvfloat.pdf | Bin 5029031 -> 5031955 bytes Master/texmf-dist/doc/latex/hvfloat/hvfloat.tex | 28 +++++++++++++++++++++--- 3 files changed, 27 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/doc/latex') diff --git a/Master/texmf-dist/doc/latex/hvfloat/Changes b/Master/texmf-dist/doc/latex/hvfloat/Changes index 578c9be771e..5cd0c94e9d1 100644 --- a/Master/texmf-dist/doc/latex/hvfloat/Changes +++ b/Master/texmf-dist/doc/latex/hvfloat/Changes @@ -1,4 +1,6 @@ hvfloat.sty: +2.38 2022-04-02 - added option l for capWidth to get a caption with linewidth, + if also using the option wide for the object 2.37 2022-02-28 - fix bug for doublepage floats in twoside and twocolumn mode and captions after the image 2.36 2022-02-22 - fix bug for outer captions (was wrong) diff --git a/Master/texmf-dist/doc/latex/hvfloat/hvfloat.pdf b/Master/texmf-dist/doc/latex/hvfloat/hvfloat.pdf index 10e1519bf17..856cdd1ffb3 100644 Binary files a/Master/texmf-dist/doc/latex/hvfloat/hvfloat.pdf and b/Master/texmf-dist/doc/latex/hvfloat/hvfloat.pdf differ diff --git a/Master/texmf-dist/doc/latex/hvfloat/hvfloat.tex b/Master/texmf-dist/doc/latex/hvfloat/hvfloat.tex index 70113c0a7e0..820136ff360 100644 --- a/Master/texmf-dist/doc/latex/hvfloat/hvfloat.tex +++ b/Master/texmf-dist/doc/latex/hvfloat/hvfloat.tex @@ -1,4 +1,4 @@ -%% $Id: hvfloat.tex 318 2021-11-20 07:30:54Z herbert $ +%% $Id: hvfloat.tex 488 2022-04-02 19:32:17Z herbert $ \listfiles \errorcontextlines=100 \documentclass[twoside,paper=a4,usegeometry]{scrartcl} @@ -1038,8 +1038,6 @@ change its side due to the setting \Lkeyset{capPos=outer}. \hvblindtext - - \begin{lstlisting} \hvFloat[wide, capPos=inner, @@ -1086,6 +1084,30 @@ the option \texttt{wide}.}{fig:812} \endgroup +With the optional argument \Lkeyset{capWidth=l} the caption can be terminated +to the current line width. With the optional argument \Lkeyset{capHPos=right} one cat set +the caption to the left, center, or right of the full width which is linewidth and margin width. + + +\begin{lstlisting} +\hvFloat[capPos=bottom,capWidth=l,wide,capHPos=right]{figure} + {\includegraphics[width=0.49\hvWideWidth]{images/CTAN}\quad + \includegraphics[width=0.49\hvWideWidth]{images/CTAN}} + {\hvblindtext} + {label} +\end{lstlisting} + + +\marginnote{Fig.~\ref{label}} +\hvFloat[capPos=bottom,capWidth=l,wide,capHPos=right]{figure} + {\includegraphics[width=0.49\hvWideWidth]{images/CTAN}\quad + \includegraphics[width=0.49\hvWideWidth]{images/CTAN}} + {\hvblindtext} + {label} + + +\hvblindtext + \section{The star version \Lcs{hvFloat*}}\label{star-version0} In the \Index{twocolumn} mode the floating environment can be set over both -- cgit v1.2.3