Rename the existing boxout macro to bigboxout and create a new wrapfigure-based boxout macro.
This commit is contained in:
@@ -46,5 +46,4 @@
|
||||
}
|
||||
\newcommand{\lblFigure}[2][]{
|
||||
\lblGeneral[#1]{#2}{\caption}{fig}
|
||||
}
|
||||
%#endregion
|
||||
}
|
||||
@@ -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}%
|
||||
|
||||
Reference in New Issue
Block a user