158 lines
3.2 KiB
TeX
158 lines
3.2 KiB
TeX
\documentclass[twoside]{report}
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
%% Packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
\usepackage[utf8]{inputenc}
|
|
\usepackage[T1]{fontenc}
|
|
\raggedbottom
|
|
\usepackage{ninecolors}
|
|
\NineColors{saturation=low}
|
|
|
|
%\usepackage{showframe}
|
|
%\renewcommand*\ShowFrameColor{\color{red}}
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
%% Fonts %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
%% Choose either kpfonts or fourier
|
|
% \usepackage[nott]{kpfonts}
|
|
\usepackage{fourier}
|
|
|
|
|
|
% Delete any of the following that are not needed
|
|
\usepackage{microtype} % Make things neater.
|
|
\usepackage{tabularray} % Easy tables
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
%% Document Setup%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
\usepackage{geometry}
|
|
\geometry{
|
|
paperheight = 8.5in,
|
|
paperwidth = 5.5in,
|
|
margin = 10mm,
|
|
top = 3mm,
|
|
headsep = 1mm,
|
|
footskip = 1mm,
|
|
foot = 0mm,
|
|
bottom = 1mm,
|
|
% a5paper % Comment out for half-letter paper
|
|
}
|
|
|
|
\addtolength{\topmargin}{10mm} % Adjust and bottom margin
|
|
\addtolength{\textheight}{-20mm} % Adjust the bottom margin
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
%% Page Headers%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
%% Adjust the TITLE as necessary
|
|
\usepackage{fancyhdr}
|
|
\pagestyle{fancy}
|
|
\fancyhf{}
|
|
\fancyhead[LE,RO]{\textit{Account Register}}
|
|
\fancyhead[RE,LO]{Account: \hspace{35mm}}
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
%% Document Information %%%%%%%%%%%%%%%%%%%%%
|
|
%% Adjust the TITLE and SUBTITLE as necessary
|
|
\title{
|
|
{\Huge Account Register} \\
|
|
{\vspace{30mm}
|
|
Account: \rule[-1mm]{5cm}{0.15mm} \\
|
|
}
|
|
\date{}
|
|
}
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
%% Table Elements %%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
\NewTblrTheme{blank}{
|
|
\DefTblrTemplate{firsthead}{default}{}%
|
|
\DefTblrTemplate{middlehead,lasthead}{default}{}%
|
|
\DefTblrTemplate{contfoot-text}{default}{}%
|
|
\SetTblrStyle{presep}{0pt}%
|
|
\SetTblrStyle{postsep}{0pt}%
|
|
}
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
%% Macro for table %%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
\newcommand{\kreg}{
|
|
\noindent{}\begin{longtblr}
|
|
[
|
|
% caption = {},
|
|
% label = {tb:},
|
|
theme = {blank}
|
|
]{
|
|
% width = {\textwidth},
|
|
colspec = { X[2,c] X[2,c] X[9,l] X[2,c] X[0.9,c] X[2,c] X[0.9,c] X[2.2,c] X[0.9,c] },
|
|
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=gray8},
|
|
row{even} = {bg=white},
|
|
row{1} = {bg=white},
|
|
}
|
|
Type & Date & Description & \SetCell[c=2]{c} Debit && \SetCell[c=2]{c} Credit && \SetCell[c=2]{c} Balance \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
&&&&&&&& \\
|
|
\end{longtblr}
|
|
}
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
%% Let's get it started %%%%%%%%%%%%%%%%%%%%%
|
|
|
|
\begin{document}
|
|
\maketitle
|
|
|
|
\kreg
|
|
\kreg
|
|
\kreg
|
|
\kreg
|
|
\kreg
|
|
\kreg
|
|
\kreg
|
|
|
|
\kreg
|
|
\kreg
|
|
\kreg
|
|
\kreg
|
|
\kreg
|
|
\kreg
|
|
\kreg
|
|
\kreg
|
|
|
|
\end{document}
|