- Refine Boxouts.
- General refactoring.
This commit is contained in:
@@ -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}%
|
||||
}%
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user