banana-stickers/parts/commands.tex
2026-05-26 17:39:37 -04:00

65 lines
1.7 KiB
TeX

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Commands %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\graphicspath{{images/}} % Where are our images?
\counterwithout{footnote}{chapter} % Stop resetting the footnote count after each chapter
\NumTabs{18} % Define 18 tab stops (at 1/4" intervals) [tabto package]
\raggedbottom % Don't force text to fill page
\setlength{\belowcaptionskip}{4pt} % Adjust space between caption and figure
\renewcommand*\contentsname{In This Issue…} % Change the name of the TOC
\raggedbottom
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Document Setup%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{geometry}
\geometry{
paperheight=8.5in,
paperwidth=5.5in,
% heightrounded,
margin=0.5in
}
\addtolength{\topmargin}{0.4in} % Adjust the top margin
\addtolength{\textheight}{-0.6in} % Adjust the bottom margin
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Page Headers%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[CE,CO]{\textit{Banana Stickers!}}
\cfoot{Page \thepage}
\renewcommand{\footrulewidth}{0.5pt}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Custom Macros %%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Make hrefs easier (must load package hyperref}
\newcommand\kref[2]{\href{#1}{{\texttt{#2}}}}
\newcommand{\kstick}{
\noindent{}\begin{tblr}
[
caption = {},
label = {tb:},
% theme = {custom1}
]{
width = {\textwidth},
colspec = { X[1,l] X[1,l] X[1,l] },
hlines = {0.5pt,solid},
vlines = {0.5pt,solid},
rows = {t, rowsep=1.5pt},
cells = {font=\sffamily\fontsize{6pt}{6pt}\selectfont},
row{1} = {t},
}
Sticker: & Sticker: & Sticker: \\[50mm]
Date: & Date: & Date: \\
Notes: & Notes: & Notes: \\
& & \\
& & \\
& & \\
\end{tblr}
\vspace{5mm}
}