Keeb-Plaque/main.tex
2024-12-18 00:55:42 -06:00

35 lines
1.1 KiB
TeX

\documentclass{article}
\usepackage[fontsize=8pt]{fontsize} % will need adjusted if you change the paper size
\usepackage{lmodern,fontspec,lipsum,tabularray,qrcode,tikz,parskip,hyperref}
\usepackage[%
papersize={4.25in,2.75in},
bottom=2mm
]{geometry}
\setlength{\headsep}{2em}
\pagestyle{empty}
\def\table{%
\begin{tblr}{%
column{1}={halign=r},
column{2}={halign=l,wd=15em}, % set the width of the writing line here
vline{2}={text=:},
hline{2-Z}={2}{dotted},
row{2}={abovesep=2em},
row{3-Z}={abovesep=1.5em}}
{\LARGE Title}&\\
{\small Owner}&\\
Model&\\
Layout&\\
Switches&\\
Keycaps&\\
PCB&\\
\end{tblr}\\{\tiny\href{https://daviddaily.dev/david/Keeb-Plaque}{daviddaily.dev}}
\newpage
}
\begin{document}
{\fontfamily{lmss}\selectfont\begin{center}
% \setmainfont{[Hellvetica.ttf]} % uncomment if you want a better font
\table % some printing programs don't play nice and have to have all 4 pages to make it a quarter sheet sized thing. Just repeat this command on multiple lines to do that.
\end{center}
}\end{document}