Refine layout.

This commit is contained in:
Silcantar
2025-08-26 22:09:40 -05:00
parent 1ce3cd364f
commit 01a598b3aa
5 changed files with 27 additions and 92 deletions

View File

@@ -42,14 +42,14 @@
\NewDocumentEnvironment{BigBoxout}{
O{\bigfloatoverhang}
O{htpb}
O{\bigfloatoffset}
O{\bigfloatoffsetratio}
O{X[l,h]}
>{\TrimSpaces}m
+m
+b
}{
\begin{figure}[#2]%
\begin{adjustwidth}{-#1 + #3}{-#1 - #3}%
\begin{adjustwidth}{-#1 * \real{#3}}{-#1 / \real{#3}}%
\begin{Boxout}[#4]{#5}{#6}%
#7%
\end{Boxout}%
@@ -76,69 +76,4 @@
\end{Boxout}%
\end{minipage}%
\end{wrapfigure}%
}{}
% \NewDocumentCommand{\Boxout}{
% % width
% O{\textwidth}
% % label
% >{\TrimSpaces}m
% % heading
% +m
% % body
% +m
% }{%
% {% Temporarily set \fboxsep and \fboxrule.
% \setlength{\fboxrule}{\boxoutrule}%
% \setlength{\fboxsep}{\boxoutpadding}%
% \fcolorbox{boxoutfgcolor}{boxoutbgcolor}{%
% \begin{minipage}{#4 - \fboxrule * 2 - \fboxsep * 2}%
% %{\Centering%
% \captionlistentry[figure]{#3.}%
% \label{box:#1}%
% \setlength{\parskip}{\medskipamount}%
% {\Centering\slab{\strong{#2}}\par}%
% \justifying\small{}#3%
% %}%
% \end{minipage}%
% }%
% }%
% }
% \NewDocumentCommand{\BigBoxout}{%
% % overhang
% O{\bigfloatoverhang}
% % Float position.
% O{htpb}
% % offset
% O{\bigfloatoffset}
% % label
% m
% % heading
% +m
% % body
% +m
% }{%
% \BigFloat[#1][#2][#3]{figure}{%
% \Boxout{#4}{#5}{#6}%
% }%
% }
% \NewDocumentCommand{\WrapBoxout}{%
% % position [l,r,i,o]
% O{O}
% % offset
% O{\marparwidth}
% % width
% O{3in}
% % label
% m
% % heading
% +m
% % body
% +m
% }{%
% \begin{wrapfigure}{#1}[#2]%
% \Boxout[#3]{#4}{#5}{#6}%
% \end{wrapfigure}%
% }
}{}