summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/hvfloat/hvfloat.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-05-14 21:40:28 +0000
committerKarl Berry <karl@freefriends.org>2019-05-14 21:40:28 +0000
commita8f6acf197d3ba49a39eb27376efaab0c6f70208 (patch)
treec2e0ba2dcc9792cc009a07e8f15d81d9ea9886b9 /Master/texmf-dist/doc/latex/hvfloat/hvfloat.tex
parent3cbfe9fed1cc33f8578da323116b6729d658d5b6 (diff)
hvfloat (14may19)
git-svn-id: svn://tug.org/texlive/trunk@51123 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/hvfloat/hvfloat.tex')
-rw-r--r--Master/texmf-dist/doc/latex/hvfloat/hvfloat.tex26
1 files changed, 25 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/hvfloat/hvfloat.tex b/Master/texmf-dist/doc/latex/hvfloat/hvfloat.tex
index 73353a7e2c5..75d47c45e70 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 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 @@ There are the following keywords:
\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,6 +788,26 @@ The code for figure \ref{fig:6}:
]{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}