- Add star for normal-width BigBoxout.

- Remove extra space from HiRef.
This commit is contained in:
2025-10-01 16:30:27 -05:00
parent 616c521c38
commit 096bebc210
2 changed files with 13 additions and 8 deletions

View File

@@ -99,16 +99,18 @@
}
\NewDocumentEnvironment{BigBoxout}{
% #1: Key-value options.
s
% #2: Key-value options.
O{}
% #2: Label, passed to Boxout argument #1.
% #3: Label, passed to Boxout argument #1.
>{\TrimSpaces}m
% #3: Caption, passed to Boxout argument #3.
% #4: Caption, passed to Boxout argument #3.
O{}
% #4: Body, passed to Boxout.
% #5: Body, passed to Boxout.
+b
}{ \group_begin:
\keys_set:nn{BigBoxout}{#1}
\keys_set:nn{BigBoxout}{#2}
\bool_if:nT {#1} {\dim_set:Nn \l_BigFloat_overhang_dim {0pt}}
\begin{BigFloat}[
type = generic,
overhang = \l_BigFloat_overhang_dim,
@@ -118,8 +120,8 @@
\begin{Boxout}[
innerspec:V = \l_Boxout_innerspec_tl,
severity:V = \l_Boxout_severity_int,
]{#2}[#3]
#4
]{#3}[#4]
#5
\end{Boxout}
\end{BigFloat}
\group_end: }{}

View File

@@ -135,7 +135,10 @@
}
% Create a reference with the string we just created.
\hyperref [\l_@@_ref_str] {
\l_@@_section_name_str\nobreakspace\ref {\l_@@_ref_str}
\str_if_empty:NF \l_@@_section_name_str {
\l_@@_section_name_str \nobreakspace
}
\ref {\l_@@_ref_str}
}