diff options
author | Karl Berry <karl@freefriends.org> | 2008-04-01 00:27:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-04-01 00:27:52 +0000 |
commit | 396c32d3bf0da9bc7b24122e15b65454634fe851 (patch) | |
tree | b04e1f04598d0a16ab80286121c034d873a6dd65 /Master/texmf-dist/doc/latex/floatrow/fr-sample.tex | |
parent | 574b15599969a9b3af0008474d64951e647b6439 (diff) |
floatrow 0.2c
git-svn-id: svn://tug.org/texlive/trunk@7271 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/floatrow/fr-sample.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/floatrow/fr-sample.tex | 49 |
1 files changed, 48 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/floatrow/fr-sample.tex b/Master/texmf-dist/doc/latex/floatrow/fr-sample.tex index 32574396229..3caa275502a 100644 --- a/Master/texmf-dist/doc/latex/floatrow/fr-sample.tex +++ b/Master/texmf-dist/doc/latex/floatrow/fr-sample.tex @@ -663,7 +663,7 @@ Example of wide rotated \env{textbox} with beside caption \fi \clearpage -\newdimen\rottextwidth\rottextwidth\textwidth +\newlengthtocommand\setlength\rottextwidth{\textwidth} Example of `filled' two-column or wide float row (figures~\ref{fig:rotrow:WcatI}--\ref{fig:rotrow:FcatI}) @@ -885,4 +885,51 @@ figure~\ref{fig:wrapfig:WcatII}). \fi\fi +\begingroup +\providecommand*\subcaption{\captionsetup{subtype*}\caption} +\captionsetup[subfloat]{textfont=md,labelfont=up} +\makeatletter +\newseparatedlabel\Flabel{\@captype}{sub\@captype} +\makeatother +\newseparatedref\Fref{,\,\textit} + +\clearpage + +The small testing example (figures \ref{fig:subrows} and \ref{fig:beside:subrows}) +uses both \env{floatrow} and \env{subfloatrow} environment. +For the row of the graphic parts \Fref{sfig:subrows:I} and \Fref{sfig:subrows:II} +here is used the starred variant---\env{subfloatrow*}. +\begin{figure}% +\begin{floatrow}% +\ffigbox{}{\begin{subfloatrow*} +\ffigbox{}{\input{Cat.picture}\caption{}\Flabel{sfig:subrows:I}} +\ffigbox{}{\input{TheCat.picture}\caption{}\Flabel{sfig:subrows:II}} +\end{subfloatrow*}% +\caption{}\label{fig:subrows}}\qquad +\ffigbox{}{\input{BlackCat.picture}\caption{}\label{fig:beside:subrows}} +\end{floatrow}% +\end{figure}% + +\Text +\Text + +The small testing example (figures \ref{fig:subcap} and \ref{fig:beside:subcap}) +uses both \env{floatrow} and \env{subfloatrow} environment. +For captions of the graphic parts \Fref{sfig:subcap:I} and \Fref{sfig:subcap:II} +is used the |\subcaption| command. +\begin{figure}% +\begin{floatrow}% +\ffigbox{}{\begin{subfloatrow} +\ffigbox{}{\input{Cat.picture}\subcaption{}\Flabel{sfig:subcap:I}} +\ffigbox{}{\input{TheCat.picture}\subcaption{}\Flabel{sfig:subcap:II}} +\end{subfloatrow}% +\caption{}\label{fig:subcap}}\qquad +\ffigbox{}{\input{BlackCat.picture}\caption{}\label{fig:beside:subcap}} +\end{floatrow}% +\end{figure}% + +\Text +\Text + +\endgroup \endinput |