simplification/unit switcheroo

This commit is contained in:
David Daily 2024-12-18 01:19:11 -06:00
parent 2a227a340e
commit 0d94c6e032
2 changed files with 15 additions and 21 deletions

BIN
main.pdf

Binary file not shown.

View File

@ -1,26 +1,20 @@
\documentclass{article}
\usepackage[fontsize=6pt]{fontsize} % will need adjusted if you change the paper size
\usepackage{parskip} % fuck them paragraphs
\usepackage{tikz} % no good LaTeX abuse without TikZ, mein schmuzi-pusi
\usepackage{lmodern,fontspec,lipsum} % better font, change it if you want ¯\_(ツ)_
\usepackage{qrcode} % QR codes ezpz
\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=23mm, right=23mm, % this is adjusted to right inside the QR codes, use the option "showframe" to show the bounding box
bottom=5mm
left=11em, right=11em, % this is adjusted to right inside the QR codes, use the option "showframe" to show the bounding box
bottom=3em
]{geometry}
\setlength{\headsep}{10mm}
\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.
\pagestyle{empty}
\def\nl{\\\vspace{1em}} % just to give some extraspace between the things
\def\paste{\pagestyle{empty}{\fontfamily{lmss}\selectfont\begin{center} % making it a command so that we can easily make multiple pages, easily undone if you don't like it
\def\paste{% making it a command so that we can easily make multiple pages, easily undone if you don't like it
% this is VERY SIMPLE, and on purpose. You don't want something? comment that biznatch out. Everything else should shuffle around just fine.
%\setmainfont{[Hellvetica.ttf]} % uncomment if you want a better font
{\Huge Title}\\
{\small subtitle} % you might need to mess with the spacing here to make it look even better
{\small Owner}
\nl{\large Model:} model
\nl{\large Layout:} layout
\nl{\large Switches:} switches
@ -28,9 +22,8 @@
\nl{\large PCB:} PCB
\nl{\footnotesize\lipsum[1][1-7] 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}
\end{center}
% 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
{\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
\vspace{-2em}\begin{tikzpicture}[remember picture, overlay]
\node [below right=0.6em](TL) at (current page.north west){\qrcode{https://daviddaily.dev}};
\node [below=.1em] at (TL.south){\footnotesize
@ -51,11 +44,12 @@
\node [above=.1em] at (BR.north){\footnotesize
Bottom Right%your label here
};
\end{tikzpicture}}
}
\end{tikzpicture}\newpage}
\begin{document}
\begin{document}{\fontfamily{lmss}\selectfont\begin{center}
%\setmainfont{[Hellvetica.ttf]} % uncomment if you want a better font
\paste
\pagebreak
\paste
\end{document}
\paste
\paste
\end{center}}\end{document}