Add Emoji font and InlineGraphic command.

This commit is contained in:
Silcantar
2025-08-28 22:56:57 -05:00
parent 168dca350f
commit 9147415df7
10 changed files with 35 additions and 11 deletions

View File

@@ -8,7 +8,17 @@
\RequirePackage{wrapfig2}
\providelength{\iconsize}[0.25in]
\providelength{\igh}[10pt] % igh = Inline Graphics Height.
\providelength{\@InlineGraphicHeight}[12pt]
\providelength{\@InlineGraphicOffset}[-2pt]
\NewDocumentCommand{\InlineGraphic}{
O{\@InlineGraphicHeight}
m
O{\@InlineGraphicOffset}
}{%
\raisebox{#3}{\includegraphics[keepaspectratio,height=#1]{#2}}%
}
% Shorthand command for \includegraphics.
\NewDocumentCommand{\ig}{O{width=0.5in} m}{%
@@ -96,15 +106,15 @@
% First label.
>{\TrimSpaces}m
% First caption.
m
>{\TrimSpaces}m
% Second graphic file.
m
% Second label.
>{\TrimSpaces}m
% Second caption.
m
>{\TrimSpaces}m
}{%
\begin{BigFloat}[generic][#1][#2][#3]%
\begin{BigFloat}[figure][#1][#2][#3]%
\begin{tblr}{%
colspec = {*{2}{Q[c,m,wd=\twinfigwidth]}},%
hlines = {0pt},