- Add star for normal-width BigBoxout.
- Remove extra space from HiRef.
This commit is contained in:
@@ -99,16 +99,18 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
\NewDocumentEnvironment{BigBoxout}{
|
\NewDocumentEnvironment{BigBoxout}{
|
||||||
% #1: Key-value options.
|
s
|
||||||
|
% #2: Key-value options.
|
||||||
O{}
|
O{}
|
||||||
% #2: Label, passed to Boxout argument #1.
|
% #3: Label, passed to Boxout argument #1.
|
||||||
>{\TrimSpaces}m
|
>{\TrimSpaces}m
|
||||||
% #3: Caption, passed to Boxout argument #3.
|
% #4: Caption, passed to Boxout argument #3.
|
||||||
O{}
|
O{}
|
||||||
% #4: Body, passed to Boxout.
|
% #5: Body, passed to Boxout.
|
||||||
+b
|
+b
|
||||||
}{ \group_begin:
|
}{ \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}[
|
\begin{BigFloat}[
|
||||||
type = generic,
|
type = generic,
|
||||||
overhang = \l_BigFloat_overhang_dim,
|
overhang = \l_BigFloat_overhang_dim,
|
||||||
@@ -118,8 +120,8 @@
|
|||||||
\begin{Boxout}[
|
\begin{Boxout}[
|
||||||
innerspec:V = \l_Boxout_innerspec_tl,
|
innerspec:V = \l_Boxout_innerspec_tl,
|
||||||
severity:V = \l_Boxout_severity_int,
|
severity:V = \l_Boxout_severity_int,
|
||||||
]{#2}[#3]
|
]{#3}[#4]
|
||||||
#4
|
#5
|
||||||
\end{Boxout}
|
\end{Boxout}
|
||||||
\end{BigFloat}
|
\end{BigFloat}
|
||||||
\group_end: }{}
|
\group_end: }{}
|
||||||
|
|||||||
@@ -135,7 +135,10 @@
|
|||||||
}
|
}
|
||||||
% Create a reference with the string we just created.
|
% Create a reference with the string we just created.
|
||||||
\hyperref [\l_@@_ref_str] {
|
\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}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user