Compare commits

..

3 Commits

4 changed files with 30 additions and 51 deletions

View File

@ -1,10 +1,3 @@
# Keeb-Plaque # Keeb-Plaque
A simple little tent to print off on half of a Letter paper sheet (or whatever you want) for Mechanical Keyboard Meetups. A simple little tent to print off on half of a Letter paper sheet (or whatever you want) for Mechanical Keyboard Meetups
![an example with only placeholder text](example.png)
`hell` branch has an example if you want more
"hey this is kinda hard, I have to install this whole other program and stuff??"
yeah, well my purpose in life is to curse others with knowledge of typesetting. Do I have the skillz/hardware/time to make it some kind of decent, if not super nice, site? probably. But that's not as fun to me.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 KiB

BIN
main.pdf

Binary file not shown.

View File

@ -1,61 +1,47 @@
\documentclass{article} \documentclass{article}
\usepackage[fontsize=6pt]{fontsize} % will need adjusted if you change the paper size \usepackage[fontsize=10pt]{fontsize} % will need adjusted if you change the paper size
\usepackage{parskip} % fuck them paragraphs \usepackage{parskip,tikz,lmodern,fontspec,lipsum,qrcode,hyperref}
\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[% \usepackage[%
papersize={4.25in,2.75in}, % this is a quarter of letter paper, half was too big papersize={5.5in,4.25in}, % 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 left=7.25em, right=7.25em, % this is adjusted to right inside the QR codes, use the option "showframe" to show the bounding box
bottom=5mm bottom=2em
]{geometry} ]{geometry}
\setlength{\headsep}{10mm}
% 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 \setlength{\headsep}{3em}
\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 \pagestyle{empty}
% this is VERY SIMPLE, and on purpose. You don't want something? comment that biznatch out. Everything else should shuffle around just fine. \def\nl{\\\vspace{1.5em}}
%\setmainfont{[Hellvetica.ttf]} % uncomment if you want a better font \def\paste{%
{\Huge Title}\\ {\Huge Robot Lander}\\
{\small subtitle} % you might need to mess with the spacing here to make it look even better {\small Daily}\nl
\nl{\large Model:} model {\large Model:} ZSA Moonlander\nl
\nl{\large Layout:} layout {\large Layout:} Colemak {\footnotesize with \href{https://eurkey.steffen.bruentjen.eu/}{EurKEY}}\nl
\nl{\large Switches:} switches {\large Switches:} MMK Shark {\footnotesize+ O-rings cause I slam them keys}\nl
\nl{\large Keycaps:} keycaps {\large Keycaps:} Drop$\times$LotR Mordor ortho set\nl
\nl{\large PCB:} PCB I made this card, that's pretty neat!\\
\nl{\footnotesize\lipsum[1][1-7] This is just to show that it'll stay between the QR codes "automatically"}\\ \vfill
\vfill % this one makes the event name all the way at the bottom {\tiny\href{https://daviddaily.dev/david/Keeb-Plaque}{daviddaily.dev}}
{\LARGE \#EVENT-NAME} \begin{tikzpicture}[remember picture, overlay]
\end{center} \node [below left=0.6em](TR) at (current page.north east){\qrcode{https://daviddaily.dev/david/Keeb-Plaque}};
% 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
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 \node [below=.1em] at (TR.south){\footnotesize
Top Right%your label here My website
}; };
\node [above right=0.6em](BL) at (current page.south west){\qrcode{https://daviddaily.dev}}; \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 \node [above=.1em] at (BL.north){\footnotesize
Bottom Left%your label here Layout
}; };
\node [above left=0.6em](BR) at (current page.south east){\qrcode{https://daviddaily.dev}}; \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 \node [above=.1em] at (BR.north){\footnotesize
Bottom Right%your label here Switches
}; };
\end{tikzpicture}} \end{tikzpicture}\newpage}
}
\begin{document} \begin{document}{\fontfamily{lmss}\selectfont\begin{center}
\paste \paste
\pagebreak \setmainfont{[Hellvetica.ttf]}
\paste \paste
\end{document} \end{center}}\end{document}