- Increase sans font weight from regular to medium.

- Fix multiparagraph boxout formatting.
- Add NumberWord command and option for part titles.
This commit is contained in:
2025-09-22 16:26:28 -05:00
parent 277f021589
commit 696ed1c060
7 changed files with 85 additions and 31 deletions

View File

@@ -114,25 +114,32 @@
}
\NewDocumentCommand{\CenterFig}{
% Key-value options.
% #1: Star argument. If present, graphic is automatically scaled to line
% width. (Not working, do not use.)
s
% #2: Key-value options.
O{}
% Graphic file.
% #3: Graphic file.
m
% Key-value options passed to \includegraphics.
% #4: Key-value options passed to \includegraphics.
O{}
% Label.
% #5: Label.
>{\TrimSpaces}m
% Caption.
% #6: Caption.
m
}{ \group_begin:
\keys_set:nn{CenterFig}{#1}
\keys_set:nn{CenterFig}{#2}
\str_set:Nn \l_CenterFig_passed_keys_str {#4}
% \bool_if:nT {#1} {
% \str_put_left:Nn \l_CenterFig_passed_keys_str {width=\linewidth,}
% }
\clist_use_default:Nnnn \l_CenterFig_placement_str
{\l_Float_placement_clist}
{\c_Float_placement_clist}
\expanded{\noexpand\begin{figure}[\l_CenterFig_placement_str]}
\begin{MyCaption}{fig:#4}{#5}
\begin{MyCaption}{fig:#5}{#6}
\Centering
\includegraphics[keepaspectratio,#3]{#2}
\includegraphics[keepaspectratio,#4]{#3}
\end{MyCaption}
\end{figure}
\group_end: }