lab-notebook/lab-notebook-contents.tex

72 lines
1.5 KiB
TeX

\documentclass[10pt,twoside]{book}
\usepackage[utf8]{inputenc}
% Let's set up our page size
\usepackage[
letterpaper,
% A4,
bindingoffset=15mm,
textheight=250mm,
textwidth=175mm,
top=14mm,
footskip=5mm,
marginparwidth=0mm,
marginparsep=0mm
]{geometry}
% Let's set up a loop to output the number of pages we need
% https://texfaq.org/FAQ-repeat-num
% https://ctan.org/pkg/forloop
% Output a variable value: https://sodocumentation.net/latex/topic/9224/counters--if-statements-and-loops-with-latex
\usepackage{forloop}
\newcounter{ct}
\def\pgct{3} % Set this value to the number of pages you want + 1
% Select an appropriate monotype font
\usepackage[varqu]{inconsolata}
% Build tables
\usepackage{tabularray}
\author{Kenneth John Odle}
\begin{document}
\pagestyle{empty}
\ttfamily
% Begin our loop
%\forloop{ct}{1}{\value{ct}<\value{pgct}}{
% This is the right page header
\begin{tblr}{
width = 175mm,
colspec = { | X[10,r] | X[40,r] | X[10,r] | X[30,r] | X[10,c] | },
hline{1,3} = {1-5}{0.5pt},
hline{2} = {1-4}{0.5pt},
rows = {5.5mm, m, rowsep=1.5pt }
}
TITLE: & & BOOK: & & Page \\
PROJECT: & & DATE: & & {\LARGE \the\value{ct}} \\
\end{tblr}
\newpage
% This is the left page header
\begin{tblr}{
width = 175mm,
colspec = { | X[10,r] | X[40,r] | X[10,r] | X[30,r] | X[10,c] | },
hline{1,3} = {1-5}{0.5pt},
hline{2} = {1-4}{0.5pt},
rows = {5.5mm, m, rowsep=1.5pt }
}
TITLE: & & BOOK: & & Page \\
PROJECT: & & DATE: & & {\LARGE \the\value{ct}} \\
\end{tblr}
% End our loop
%}
\end{document}