%%
%% The LaTeX Companion, 3ed
%%
%% Example 7-5-15 on page I-572 in "keyfloat --- Bringing most packages under one roof".
%%
%% Copyright (C) 2022 Frank Mittelbach
%%
%% It may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%%
%% See https://www.latex-project.org/lppl.txt for details.
%%

\documentclass{tlc3exa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{183.0pt}

%StartShownPreambleCommands
\usepackage{keyfloat}

%StopShownPreambleCommands

\begin{document}
See the \LaTeX\ logo in Figure~\ref{logo}.
\begin{keyfloats}{1}
\keyfig{h=1cm,w=4cm,c=Stretched cat}{cat}
\begin{keyfloats}{2}
 \keyfig{h=1cm,c=Logo,l=logo}{latex-logo}
 \keyfig{h=1cm,c=Elephant}{elephant}
\end{keyfloats}
\end{keyfloats}
\end{document}