Add midtitle macro for tables.
This commit is contained in:
@@ -70,6 +70,14 @@
|
|||||||
\end{#2}%
|
\end{#2}%
|
||||||
}
|
}
|
||||||
|
|
||||||
|
\newcommand{\bignotfloat}[2][\bigfloatoverhang]{%
|
||||||
|
\begin{adjustwidth*}{-#1+\bigfloatoffset}{-#1-\bigfloatoffset}%
|
||||||
|
\begin{minipage}{#1 * 2 + \textwidth}%
|
||||||
|
#2%
|
||||||
|
\end{minipage}%
|
||||||
|
\end{adjustwidth*}%
|
||||||
|
}
|
||||||
|
|
||||||
\newlength{\boxoutpadding}
|
\newlength{\boxoutpadding}
|
||||||
\setlength{\boxoutpadding}{0.5em}
|
\setlength{\boxoutpadding}{0.5em}
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
% Table formatting.
|
% Table formatting.
|
||||||
\RequirePackage{tabularray}
|
\RequirePackage{tabularray}
|
||||||
|
|
||||||
|
% Enable putting a list in a tabularray
|
||||||
|
%\UseTblrLibrary{varwidth}
|
||||||
|
|
||||||
\DeclareTblrTemplate{note-tag}{default}{\textsuperscript{\InsertTblrNoteTag}}
|
\DeclareTblrTemplate{note-tag}{default}{\textsuperscript{\InsertTblrNoteTag}}
|
||||||
|
|
||||||
\NewTblrEnviron{tblrBoxout}
|
\NewTblrEnviron{tblrBoxout}
|
||||||
@@ -29,4 +32,12 @@
|
|||||||
hline{2} = {0.4pt},
|
hline{2} = {0.4pt},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
\NewTblrTableCommand{\midtitle}{
|
||||||
|
\SetCell[c=2]{
|
||||||
|
c,
|
||||||
|
bg = PrimePaleBlue,%pageColor,
|
||||||
|
font = \bfseries,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
\RequirePackage{csvsimple-l3}
|
\RequirePackage{csvsimple-l3}
|
||||||
Reference in New Issue
Block a user