Converted table to macro

This commit is contained in:
Kenneth John Odle 2025-03-25 08:20:38 -04:00
parent d9ce673513
commit 1d032e27b2

View File

@ -79,6 +79,57 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Macro for table %%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\kreg}{
\noindent{}\begin{longtblr}
[
% caption = {},
% label = {tb:},
theme = {blank}
]{
% width = {\textwidth},
colspec = { X[2,l] X[2,l] X[9,l] X[2,l] X[1,l] X[2,l] X[1,l] X[2,l] X[1,l] },
hlines = {0.5pt,solid},
vlines = {0.5pt,solid},
rows = {5mm, m, rowsep=1.5pt},
rowhead = 1,
cells = {font=\fontsize{7pt}{12pt}\selectfont},
row{1} = {font=\bfseries\fontsize{7pt}{12pt}\selectfont},
row{odd} = {bg=gray7},
row{even} = {bg=white},
row{1} = {bg=white},
}
Type & Date & Description & \SetCell[c=2]{l} Debit && \SetCell[c=2]{l} Credit && \SetCell[c=2]{l} Balance \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
\end{longtblr}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Let's get it started %%%%%%%%%%%%%%%%%%%%%
@ -86,362 +137,8 @@
\begin{document}
\maketitle
\noindent{}\begin{longtblr}
[
% caption = {},
% label = {tb:},
theme = {blank}
]{
% width = {\textwidth},
colspec = { X[2,l] X[2,l] X[9,l] X[2,l] X[1,l] X[2,l] X[1,l] X[2,l] X[1,l] },
hlines = {0.5pt,solid},
vlines = {0.5pt,solid},
rows = {5mm, m, rowsep=1.5pt},
rowhead = 1,
cells = {font=\fontsize{7pt}{12pt}\selectfont},
row{1} = {font=\bfseries\fontsize{7pt}{12pt}\selectfont},
row{odd} = {bg=gray7},
row{even} = {bg=white},
row{1} = {bg=white},
}
Type & Date & Description & \SetCell[c=2]{l} Debit && \SetCell[c=2]{l} Credit && \SetCell[c=2]{l} Balance \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
\end{longtblr}
\noindent{}\begin{longtblr}
[
% caption = {},
% label = {tb:},
theme = {blank}
]{
% width = {\textwidth},
colspec = { X[2,l] X[2,l] X[9,l] X[2,l] X[1,l] X[2,l] X[1,l] X[2,l] X[1,l] },
hlines = {0.5pt,solid},
vlines = {0.5pt,solid},
rows = {5mm, m, rowsep=1.5pt},
rowhead = 1,
cells = {font=\fontsize{7pt}{12pt}\selectfont},
row{1} = {font=\bfseries\fontsize{7pt}{12pt}\selectfont},
row{odd} = {bg=gray7},
row{even} = {bg=white},
row{1} = {bg=white},
}
Type & Date & Description & \SetCell[c=2]{l} Debit && \SetCell[c=2]{l} Credit && \SetCell[c=2]{l} Balance \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
\end{longtblr}
\noindent{}\begin{longtblr}
[
% caption = {},
% label = {tb:},
theme = {blank}
]{
% width = {\textwidth},
colspec = { X[2,l] X[2,l] X[9,l] X[2,l] X[1,l] X[2,l] X[1,l] X[2,l] X[1,l] },
hlines = {0.5pt,solid},
vlines = {0.5pt,solid},
rows = {5mm, m, rowsep=1.5pt},
rowhead = 1,
cells = {font=\fontsize{7pt}{12pt}\selectfont},
row{1} = {font=\bfseries\fontsize{7pt}{12pt}\selectfont},
row{odd} = {bg=gray7},
row{even} = {bg=white},
row{1} = {bg=white},
}
Type & Date & Description & \SetCell[c=2]{l} Debit && \SetCell[c=2]{l} Credit && \SetCell[c=2]{l} Balance \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
\end{longtblr}
\noindent{}\begin{longtblr}
[
% caption = {},
% label = {tb:},
theme = {blank}
]{
% width = {\textwidth},
colspec = { X[2,l] X[2,l] X[9,l] X[2,l] X[1,l] X[2,l] X[1,l] X[2,l] X[1,l] },
hlines = {0.5pt,solid},
vlines = {0.5pt,solid},
rows = {5mm, m, rowsep=1.5pt},
rowhead = 1,
cells = {font=\fontsize{7pt}{12pt}\selectfont},
row{1} = {font=\bfseries\fontsize{7pt}{12pt}\selectfont},
row{odd} = {bg=gray7},
row{even} = {bg=white},
row{1} = {bg=white},
}
Type & Date & Description & \SetCell[c=2]{l} Debit && \SetCell[c=2]{l} Credit && \SetCell[c=2]{l} Balance \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
\end{longtblr}
\noindent{}\begin{longtblr}
[
% caption = {},
% label = {tb:},
theme = {blank}
]{
% width = {\textwidth},
colspec = { X[2,l] X[2,l] X[9,l] X[2,l] X[1,l] X[2,l] X[1,l] X[2,l] X[1,l] },
hlines = {0.5pt,solid},
vlines = {0.5pt,solid},
rows = {5mm, m, rowsep=1.5pt},
rowhead = 1,
cells = {font=\fontsize{7pt}{12pt}\selectfont},
row{1} = {font=\bfseries\fontsize{7pt}{12pt}\selectfont},
row{odd} = {bg=gray7},
row{even} = {bg=white},
row{1} = {bg=white},
}
Type & Date & Description & \SetCell[c=2]{l} Debit && \SetCell[c=2]{l} Credit && \SetCell[c=2]{l} Balance \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
\end{longtblr}
\noindent{}\begin{longtblr}
[
% caption = {},
% label = {tb:},
theme = {blank}
]{
% width = {\textwidth},
colspec = { X[2,l] X[2,l] X[9,l] X[2,l] X[1,l] X[2,l] X[1,l] X[2,l] X[1,l] },
hlines = {0.5pt,solid},
vlines = {0.5pt,solid},
rows = {5mm, m, rowsep=1.5pt},
rowhead = 1,
cells = {font=\fontsize{7pt}{12pt}\selectfont},
row{1} = {font=\bfseries\fontsize{7pt}{12pt}\selectfont},
row{odd} = {bg=gray7},
row{even} = {bg=white},
row{1} = {bg=white},
}
Type & Date & Description & \SetCell[c=2]{l} Debit && \SetCell[c=2]{l} Credit && \SetCell[c=2]{l} Balance \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
\end{longtblr}
\noindent{}\begin{longtblr}
[
% caption = {},
% label = {tb:},
theme = {blank}
]{
% width = {\textwidth},
colspec = { X[2,l] X[2,l] X[9,l] X[2,l] X[1,l] X[2,l] X[1,l] X[2,l] X[1,l] },
hlines = {0.5pt,solid},
vlines = {0.5pt,solid},
rows = {5mm, m, rowsep=1.5pt},
rowhead = 1,
cells = {font=\fontsize{7pt}{12pt}\selectfont},
row{1} = {font=\bfseries\fontsize{7pt}{12pt}\selectfont},
row{odd} = {bg=gray7},
row{even} = {bg=white},
row{1} = {bg=white},
}
Type & Date & Description & \SetCell[c=2]{l} Debit && \SetCell[c=2]{l} Credit && \SetCell[c=2]{l} Balance \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
&&&&&&&& \\
\end{longtblr}
\kreg
\end{document}