%%
%% This is file `hep-float-test.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% hep-float-implementation.dtx  (with options: `test')
%% This is a generated file.
%% Copyright (C) 2019-2023 by Jan Hajer
%% This file 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. The latest version of this license is in:
%% http://www.latex-project.org/lppl.txt
%% and version 1.3c or later is part of all distributions of
%% LaTeX version 2005/12/01 or later.


\documentclass{article}

\usepackage[showframe]{geometry}
\usepackage{hep-float}

\begin{document}

\begin{figure}
\graphic[.5]{example-image-4x3}
\caption{test}
\end{figure}

\begin{figures}{.3}
\graphic{example-image-4x3}
\caption{one}
\figure{.4}
\graphic{example-image-16x9}
\caption{two}
\figure{.3}
\graphic{example-image-4x3}
\caption{three}
\figure{.3}
\graphic{example-image-4x3}
\caption{one}
\figure{.4}
\graphic{example-image-16x9}
\caption{two}
\figure{.3}
\graphic{example-image-4x3}
\caption{three}
\end{figures}

\begin{figures}{3}
\graphic{example-image-1x1}
\caption{one}
\figure
\graphic{example-image-1x1}
\caption{two}
\figure
\graphic{example-image-1x1}
\caption{three}
\figure
\graphic{example-image-1x1}
\caption{one}
\figure
\graphic{example-image-1x1}
\caption{two}
\figure
\graphic{example-image-1x1}
\caption{three}
\end{figures}

\begin{figure}
\begin{panels}{3}
\graphic{example-image-1x1}
\caption{a}
\panel
\graphic{example-image-1x1}
\caption{b}
\panel
\graphic{example-image-1x1}
\caption{c}
\panel
\graphic{example-image-1x1}
\caption{d}
\panel
\graphic{example-image-1x1}
\caption{e}
\panel
\graphic{example-image-1x1}
\caption{f}
\end{panels}
\caption{Panels}
\end{figure}

\begin{figure}
\begin{panels}{.3}
\graphic{example-image-4x3}
\caption{a}
\panel{.4}
\graphic{example-image-16x9}
\caption{b}
\panel{.3}
\graphic{example-image-4x3}
\caption{c}
\panel{.225}
\graphic{example-image-1x1}
\caption{d}
\panel{.4}
\graphic{example-image-16x9}
\caption{e}
\panel{.225}
\graphic[.8]{example-image-1x1}
\caption{f}
\end{panels}
\caption{Panels 2}
\end{figure}

\begin{tables}{2}
\begin{tabular}{cc}\toprule
a & b \\
\bottomrule\end{tabular}
\caption{a}
\table
\begin{tabular}{cc}\toprule
a & b \\
\bottomrule\end{tabular}
\caption{b}
\end{tables}

\end{document}

\endinput
%%
%% End of file `hep-float-test.tex'.
