had the page size wrong...

This commit is contained in:
David Daily 2024-12-18 02:10:01 -06:00
parent 0d94c6e032
commit 744b22dc89
2 changed files with 7 additions and 9 deletions

BIN
main.pdf

Binary file not shown.

View File

@ -1,13 +1,13 @@
\documentclass{article}
\usepackage[fontsize=6pt]{fontsize} % will need adjusted if you change the paper size
\usepackage[fontsize=9pt]{fontsize} % will need adjusted if you change the paper size
\usepackage{parskip,tikz,lmodern,fontspec,lipsum,qrcode,hyperref}
\usepackage[%
papersize={4.25in,2.75in}, % this is a quarter of letter paper, half was too big
left=11em, right=11em, % this is adjusted to right inside the QR codes, use the option "showframe" to show the bounding box
bottom=3em
papersize={5.5in,4.25in}, % this is a quarter of letter paper, half was too big
left=25mm, right=25mm, % static since the codes are a constant size. this is adjusted to right inside the QR codes, use the option "showframe" to show the bounding box
bottom=12mm
]{geometry}
\setlength{\headsep}{4em}
% 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.
\setlength{\headsep}{10mm}
\pagestyle{empty}
\def\nl{\\\vspace{1em}} % just to give some extraspace between the things
@ -20,7 +20,7 @@
\nl{\large Switches:} switches
\nl{\large Keycaps:} keycaps
\nl{\large PCB:} PCB
\nl{\footnotesize\lipsum[1][1-7] This is just to show that it'll stay between the QR codes "automatically"}\\
\nl{\footnotesize\lipsum[1][1-6]\\This is just to show that it'll stay between the QR codes "automatically".}\\
\vfill % this one makes the event name all the way at the bottom
{\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
@ -50,6 +50,4 @@
%\setmainfont{[Hellvetica.ttf]} % uncomment if you want a better font
\paste
\paste
\paste
\paste
\end{center}}\end{document}