Moved custom table themes to the preamble

This commit is contained in:
Kenneth John Odle 2023-11-01 13:49:35 -04:00
parent 1da1ce9160
commit 27e100f256

View File

@ -9,13 +9,19 @@
\usepackage{float} \usepackage{float}
\usepackage{longtable} \usepackage{longtable}
\usepackage{booktabs} \usepackage{booktabs}
\usepackage{tabularray}
\usepackage{lipsum} \usepackage{lipsum}
\usepackage{nicefrac} \usepackage{nicefrac}
\usepackage{quoting} \usepackage{quoting}
\usepackage{wrapfig} \usepackage{wrapfig}
\raggedbottom \raggedbottom
% Easiest tables ever, plus custom table themes
\usepackage{tabularray}
\NewTblrTheme{custom1}{
\SetTblrStyle{contfoot-text}{\small}
}
% Where are our images? % Where are our images?
\graphicspath{{./images/},{./standalone/build/}} \graphicspath{{./images/},{./standalone/build/}}
@ -537,9 +543,10 @@ Spacing commands can be found in math mode, but most of the ones in the table be
\begin{longtblr} \begin{longtblr}
[ [
caption = {Horizontal Spacing Characters}, caption = {Horizontal Spacing Characters},
label = {tb:horspacchar} label = {tb:horspacchar},
theme = {custom1}
]{ ]{
width = {0.8\textwidth}, width = {\textwidth},
colspec = { X[3,l] X[1,c] X[1,c] }, colspec = { X[3,l] X[1,c] X[1,c] },
hlines = {0.75pt,solid}, hlines = {0.75pt,solid},
vline{1,4} = {0.75pt,solid}, vline{1,4} = {0.75pt,solid},
@ -1828,15 +1835,11 @@ As you might expect, \LaTeX{} excels at typesetting symbols. Below is a \textbf{
For additional information, consult the \textit{very} extensive ``Comprehensive \LaTeX{} Symbol List'' which you can find at \kref{https://ctan.org/pkg/comprehensive?lang=en}{https://ctan.org/pkg/comprehensive?lang=\\en}. For additional information, consult the \textit{very} extensive ``Comprehensive \LaTeX{} Symbol List'' which you can find at \kref{https://ctan.org/pkg/comprehensive?lang=en}{https://ctan.org/pkg/comprehensive?lang=\\en}.
\NewTblrTheme{symbols}{
\SetTblrStyle{contfoot-text}{\small}
}
\begin{longtblr} \begin{longtblr}
[ [
caption = {Miscellaneous Symbols in \LaTeX{} }, caption = {Miscellaneous Symbols in \LaTeX{} },
label = {tb:miscsym}, label = {tb:miscsym},
theme = {symbols} theme = {custom1}
]{ ]{
width = {\textwidth}, width = {\textwidth},
colspec = { colspec = {