texlive[51123] Master/texmf-dist/doc/latex/hvfloat: hvfloat (14may19)

commits+karl at tug.org commits+karl at tug.org
Tue May 14 23:40:29 CEST 2019


Revision: 51123
          http://tug.org/svn/texlive?view=revision&revision=51123
Author:   karl
Date:     2019-05-14 23:40:28 +0200 (Tue, 14 May 2019)
Log Message:
-----------
hvfloat (14may19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/hvfloat/Changes
    trunk/Master/texmf-dist/doc/latex/hvfloat/fullpage1s2c.pdf
    trunk/Master/texmf-dist/doc/latex/hvfloat/fullpage1s2c.tex
    trunk/Master/texmf-dist/doc/latex/hvfloat/hvfloat.pdf
    trunk/Master/texmf-dist/doc/latex/hvfloat/hvfloat.tex

Modified: trunk/Master/texmf-dist/doc/latex/hvfloat/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hvfloat/Changes	2019-05-14 21:38:38 UTC (rev 51122)
+++ trunk/Master/texmf-dist/doc/latex/hvfloat/Changes	2019-05-14 21:40:28 UTC (rev 51123)
@@ -1,4 +1,7 @@
 hvfloat.sty:    
+2.15  2019-05-13  - added optional arguments capFormat and subcapFormat
+                    which will pass the key values to \caption or
+                    \subcaption from package caption/subcaption
 2.14  2019-05-10  - changed floatCapSep into a dimen
 2.13  2019-04-08  - fix for trailing spaces
 2.12a 2019-04-04  - fix for wrong index

Modified: trunk/Master/texmf-dist/doc/latex/hvfloat/fullpage1s2c.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/hvfloat/fullpage1s2c.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hvfloat/fullpage1s2c.tex	2019-05-14 21:38:38 UTC (rev 51122)
+++ trunk/Master/texmf-dist/doc/latex/hvfloat/fullpage1s2c.tex	2019-05-14 21:40:28 UTC (rev 51123)
@@ -16,7 +16,7 @@
 
 \subsection{\texttt{fullpage}}
 \blindtext
-
+\blindtext
 \verb|\includegraphics[fullpage]{tiger}|
 
 \includegraphics[fullpage]{tiger}

Modified: trunk/Master/texmf-dist/doc/latex/hvfloat/hvfloat.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/hvfloat/hvfloat.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hvfloat/hvfloat.tex	2019-05-14 21:38:38 UTC (rev 51122)
+++ trunk/Master/texmf-dist/doc/latex/hvfloat/hvfloat.tex	2019-05-14 21:40:28 UTC (rev 51123)
@@ -1,4 +1,4 @@
-%% $Id: hvfloat.tex 1038 2019-04-07 12:15:53Z herbert $
+%% $Id: hvfloat.tex 1054 2019-05-13 08:20:11Z herbert $
 \listfiles
 \errorcontextlines=100
 \documentclass[twoside,paper=a4]{scrartcl}
@@ -334,6 +334,10 @@
 \Lkeyword{objectFrame} & false & put a frame with no separation around the float object.\\
 
 \Lkeyword{style} & --- & Use a defined style\\
+
+\Lkeyword{capFormat} & --- & Define formatting options for \Lcs{caption} (see documentation of package \Lpack{caption}).\\
+
+\Lkeyword{subcapFormat} & --- & Define formatting options for \Lcs{subcaption}.\\
 \end{xltabular} 
 
 
@@ -784,7 +788,27 @@
 ]{figure}{\frame{\includegraphics{images/rose}}}{Caption centered right beside the float}{fig:6}
 
 
+\section{Caption format}
+The \Lcs{caption} and \Lcs{subcaption} macros are fully under the control of the package \Lpack{caption}.
+The formatting can be set with the macros \Lcs{captionsetup}, \Lcs{subcaptionsetup}, or via the optional
+argument setting of \Lcs{hvFloat} with the keywords \Lkeyword{capFormat}  and \Lkeyword{subcapFormat}.
+The argument itself will then be used internally by \Lcs{captionsetup} and/or \Lcs{subcaptionsetup}
+in a minipage, the reason why it will be local to the current image..
 
+\begin{lstlisting}
+\hvFloat[%
+  capPos=right,
+  capFormat={labelsep=newline,justification=RaggedRight,font={small,it},labelfont=bf}
+]{figure}{\frame{\includegraphics{images/rose}}}{\blindtext}{fig:66}
+\end{lstlisting}
+
+\Float
+\hvFloat[%
+  capPos=right,
+  capFormat={labelsep=newline,justification=RaggedRight,font={small,it},labelfont=bf}
+]{figure}{\frame{\includegraphics{images/rose}}}{\blindtext}{fig:66}
+
+
 \section{Horizontal Position of the Float}
 
 The caption is always near the object, only divided by the length \Ldim{floatCapSep}



More information about the tex-live-commits mailing list