Rename the existing boxout macro to bigboxout and create a new wrapfigure-based boxout macro.

This commit is contained in:
Silcantar
2025-08-03 21:48:10 -05:00
parent 19f3b6c8d2
commit b95e43e0c3
2 changed files with 21 additions and 4 deletions

View File

@@ -47,4 +47,3 @@
\newcommand{\lblFigure}[2][]{
\lblGeneral[#1]{#2}{\caption}{fig}
}
%#endregion

View File

@@ -81,7 +81,25 @@
\newlength{\boxoutpadding}
\setlength{\boxoutpadding}{0.5em}
\newcommand{\boxout}[4][\bigfloatoverhang]{%
\newcommand{\boxout}[5][0in]{%
\begin{wrapfigure}{#2}[#1]%
\fcolorbox{PrimeBlue}{PrimePaleBlue}{%
\begin{minipage}{#3}%
\vspace{\boxoutpadding}%
{\centering%
\begin{minipage}{\boxoutpadding*-2 + \textwidth}%
\setlength{\parskip}{\medskipamount}%
{\centering\slab{\strong{#4}}\par}%
\small{}#5%
\end{minipage}%
\par}%
\vspace{\boxoutpadding}%
\end{minipage}%
}%
\end{wrapfigure}%
}
\newcommand{\bigboxout}[4][\bigfloatoverhang]{%
\bigfloat[#1]{figure}{#2}{%
\fcolorbox{PrimeBlue}{PrimePaleBlue}{%
\begin{minipage}{\boxoutpadding*-2 + \textwidth}%
@@ -91,7 +109,7 @@
\setlength{\parskip}{\medskipamount}%
{\centering\slab{\strong{#3}}\par}%
\small{}#4%
\end{minipage}
\end{minipage}%
\par}%
\vspace{\boxoutpadding}%
\end{minipage}%