2024-12-17 02:19:16 -06:00
\documentclass { article}
2024-12-17 10:59:06 -06:00
\usepackage [fontsize=6pt] { fontsize} % will need adjusted if you change the paper size
2024-12-18 01:19:11 -06:00
\usepackage { parskip,tikz,lmodern,fontspec,lipsum,qrcode,hyperref}
2024-12-17 02:19:16 -06:00
\usepackage [%
2024-12-17 10:59:06 -06:00
papersize={ 4.25in,2.75in} , % this is a quarter of letter paper, half was too big
2024-12-18 01:19:11 -06:00
left=11em, right=11em, % this is adjusted to right inside the QR codes, use the option "showframe" to show the bounding box
bottom=3em
2024-12-17 02:19:16 -06:00
]{ geometry}
2024-12-18 01:19:11 -06:00
\setlength { \headsep } { 4em}
2024-12-17 10:59:06 -06:00
% I tried using em and other relative measurements as much as possible so that size conversions are easy. Metric is objectively better (I will fight you in real life about most aspects of this, I'm actively working on recipe localization), but units are just a social construct.
2024-12-18 01:19:11 -06:00
\pagestyle { empty}
2024-12-17 02:19:16 -06:00
\def \nl { \\ \vspace { 1em} } % just to give some extraspace between the things
2024-12-18 01:19:11 -06:00
\def \paste { % making it a command so that we can easily make multiple pages, easily undone if you don't like it
2024-12-17 10:59:06 -06:00
% this is VERY SIMPLE, and on purpose. You don't want something? comment that biznatch out. Everything else should shuffle around just fine.
{ \Huge Title} \\
2024-12-18 01:19:11 -06:00
{ \small Owner}
2024-12-17 10:59:06 -06:00
\nl { \large Model:} model
\nl { \large Layout:} layout
\nl { \large Switches:} switches
\nl { \large Keycaps:} keycaps
\nl { \large PCB:} PCB
2024-12-17 11:20:24 -06:00
\nl { \footnotesize \lipsum [1] [1-7] This is just to show that it'll stay between the QR codes "automatically"} \\
2024-12-17 10:59:06 -06:00
\vfill % this one makes the event name all the way at the bottom
2024-12-18 01:19:11 -06:00
{ \LARGE \# EVENT-NAME} \\ { \tiny \href { https://daviddaily.dev/david/Keeb-Plaque} { daviddaily.dev} }
% This is the QR codes in the 4 corners, pay attention to the labels. This whole section doesn't conform to the margins and stuff, so check yourself
2024-12-17 10:59:06 -06:00
\vspace { -2em} \begin { tikzpicture} [remember picture, overlay]
2024-12-17 02:35:16 -06:00
\node [below right=0.6em](TL) at (current page.north west){ \qrcode { https://daviddaily.dev} } ;
\node [below=.1em] at (TL.south){ \footnotesize
Top Left%your label here
} ;
\node [below left=0.6em](TR) at (current page.north east){ \qrcode { https://daviddaily.dev} } ;
\node [below=.1em] at (TR.south){ \footnotesize
Top Right%your label here
} ;
\node [above right=0.6em](BL) at (current page.south west){ \qrcode { https://daviddaily.dev} } ;
\node [above=.1em] at (BL.north){ \footnotesize
Bottom Left%your label here
} ;
\node [above left=0.6em](BR) at (current page.south east){ \qrcode { https://daviddaily.dev} } ;
\node [above=.1em] at (BR.north){ \footnotesize
Bottom Right%your label here
} ;
2024-12-18 01:19:11 -06:00
\end { tikzpicture} \newpage }
2024-12-17 10:59:06 -06:00
2024-12-18 01:19:11 -06:00
\begin { document} { \fontfamily { lmss} \selectfont \begin { center}
%\setmainfont{[Hellvetica.ttf]} % uncomment if you want a better font
\paste
\paste
2024-12-17 10:59:06 -06:00
\paste
\paste
2024-12-18 01:19:11 -06:00
\end { center} } \end { document}