- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user