- Refine Boxouts.

- General refactoring.
This commit is contained in:
2025-08-27 16:41:25 -05:00
parent 01a598b3aa
commit f9a6c6e7cc
8 changed files with 138 additions and 97 deletions

View File

@@ -24,12 +24,25 @@
\end{figure}%
}
\NewDocumentCommand{\bigfig}{O{\bigfloatoverhang} m >{\TrimSpaces}m m}{%
\BigFloat[#1]{figure}{%
\NewDocumentCommand{\bigfig}{
% BigFloat overhang.
O{\bigfloatoverhang}
% Float positioning.
O{htpb}
% BigFloat offset ratio.
O{\bigfloatoffsetratio}
% Graphic file.
m
% Label.
>{\TrimSpaces}m
% Caption.
m
}{%
\BigFloat[#1][#2][#3]{figure}{%
\captionsetup{type=figure}%
\includegraphics[keepaspectratio,width=\linewidth]{#2}%
\Centering\captionof{figure}{#4}%\par
\label{fig:#3}%
\includegraphics[keepaspectratio,width=\linewidth]{#4}%
\Centering\captionof{figure}{#6}%\par
\label{fig:#5}%
}%
}