- add italic shape to slab font.

- add twinfig macro.
- add optional arguments to marginalia macros to be passed to the marginalia command.
This commit is contained in:
Silcantar
2025-08-06 22:42:05 -05:00
parent e0bad2e19b
commit 287c8fde8a
4 changed files with 54 additions and 23 deletions

View File

@@ -75,9 +75,36 @@
}%
}
\newlength{\twinfigwidth}
\setlength{\twinfigwidth}{\textwidth / 2 + \bigfloatoverhang}
\newcommand{\twinfig}[7][\bigfloatoverhang]{%
\bigfloat[#1]{figure}{htp}{%begin{table}[htp]%
\begin{tabular}{*{2}{p{\twinfigwidth}}}%\begin{tblr}{Q[l,m]Q[l,m]}%
\vfill%
\captionsetup{type=figure}%
\includegraphics[%
keepaspectratio,width=\twinfigwidth%
]{#2}%
\captionof{figure}{#4}%
\label{fig:#3}%
\vfill%
&%
\vfill%
\captionsetup{type=figure}%
\includegraphics[%
keepaspectratio,width=\twinfigwidth%
]{#5}%
\captionof{figure}{#7}%
\label{fig:#6}%
\vfill%
\end{tabular}%\end{tblr}%
}%\end{table}%
}
\newcommand{\wrapfig}[6][0in]{%
% Syntax:
% \wrapfig[
% \wrapfig[%
% horizontal_offset
% ]{
% graphic_file