Keeb-Plaque/main.tex

79 lines
4.1 KiB
TeX
Raw Normal View History

2024-12-17 02:19:16 -06:00
\documentclass{article}
\usepackage[fontsize=1.5em]{fontsize} % "wait doesn't em depend on font size?" don't ask me how this works
\usepackage{parskip} % fuck them paragraphs
\usepackage{tikz} % no good LaTeX abuse without TikZ, mein schmuzi-pusi
\usepackage{lmodern,fontspec} % better font, change it if you want ¯\_(ツ)_/¯
\usepackage{qrcode} % QR codes ezpz
\usepackage[%
papersize={8.5in,5.5in}, % this is half of letter paper, replace whole line with just "a5paper," to switch to A5 (would look like `a5paper,`, no "papersize=" or anything)
margin=15mm
]{geometry}
% 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.
\def\nl{\\\vspace{1em}} % just to give some extraspace between the things
\pagestyle{empty}
\begin{document}{\fontfamily{lmss}\selectfont\begin{center}
% 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
2024-12-17 02:58:30 -06:00
{\LARGE Robot Lander}\\
{\small David Daily, aka Daily the Noob}\nl % you might need to mess with the spacing here to make it look even better
{\large Model:} Moonlander MkI\nl
{\large Layout:} Colemak\nl
{\large Switches:} MMK Shark {\footnotesize+ O-rings cause I slam them keys}\nl
{\large Keycaps:} Drop x LotR Mordor ortho set\nl
%{\large PCB:} PCB\nl
{\large Notes:} I made this card, isn't it neat!\\
2024-12-17 02:35:16 -06:00
\vfill
2024-12-17 02:58:30 -06:00
%{\LARGE \#EVENT-NAME}
2024-12-17 02:35:16 -06:00
\end{center}
2024-12-17 02:19:16 -06:00
% 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 02:58:30 -06:00
\begin{tikzpicture}[remember picture, overlay]
\node [below left=0.6em](TR) at (current page.north east){\qrcode{https://daviddaily.dev/david/Keeb-Plaque}};
\node [below=.1em] at (TR.south){\footnotesize
My website
2024-12-17 02:35:16 -06:00
};
2024-12-17 02:58:30 -06:00
\node [above right=0.6em](BL) at (current page.south west){\qrcode{https://configure.zsa.io/moonlander/layouts/3yJ7D}};
\node [above=.1em] at (BL.north){\footnotesize
Layout
};
\node [above left=0.6em](BR) at (current page.south east){\qrcode{https://www.theremingoat.com/blog/momoka-shark-switch-review}};
\node [above=.1em] at (BR.north){\footnotesize
Switches
};
\end{tikzpicture}\\\pagebreak % fight me, I'm not figuring out some wierd shit just to duplicate a page.
\begin{center}
% 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
{\LARGE Robot Lander}\\
{\small David Daily, aka Daily the Noob}\nl % you might need to mess with the spacing here to make it look even better
{\large Model:} Moonlander MkI\nl
{\large Layout:} Colemak\nl
{\large Switches:} MMK Shark {\footnotesize+ O-rings cause I slam them keys}\nl
{\large Keycaps:} Drop x LotR Mordor ortho set\nl
%{\large PCB:} PCB\nl
{\large Notes:} I made this card, isn't it neat!\\
\vfill
%{\LARGE \#EVENT-NAME}
\end{center}
% 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
\begin{tikzpicture}[remember picture, overlay]
\node [below left=0.6em](TR) at (current page.north east){\qrcode{https://daviddaily.dev/david/Keeb-Plaque}};
2024-12-17 02:35:16 -06:00
\node [below=.1em] at (TR.south){\footnotesize
2024-12-17 02:58:30 -06:00
My website
2024-12-17 02:35:16 -06:00
};
2024-12-17 02:58:30 -06:00
\node [above right=0.6em](BL) at (current page.south west){\qrcode{https://configure.zsa.io/moonlander/layouts/3yJ7D}};
2024-12-17 02:35:16 -06:00
\node [above=.1em] at (BL.north){\footnotesize
2024-12-17 02:58:30 -06:00
Layout
2024-12-17 02:35:16 -06:00
};
2024-12-17 02:58:30 -06:00
\node [above left=0.6em](BR) at (current page.south east){\qrcode{https://www.theremingoat.com/blog/momoka-shark-switch-review}};
2024-12-17 02:35:16 -06:00
\node [above=.1em] at (BR.north){\footnotesize
2024-12-17 02:58:30 -06:00
Switches
2024-12-17 02:35:16 -06:00
};
\end{tikzpicture}
}\end{document}