3 Commits

4 changed files with 40 additions and 34 deletions

View File

@ -1,7 +1,3 @@
# Keeb-Plaque
A simple little tent to print off on a quarter of a Letter paper sheet for Mechanical Keyboard Meetups.
![example](example.png)
Some printing programs don't play nice and have to have all 4 pages to make it a quarter sheet sized thing. Just repeat the `\table` command as many times as needed to do that.
A simple little tent to print off on half of a Letter paper sheet (or whatever you want) for Mechanical Keyboard Meetups

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

BIN
main.pdf

Binary file not shown.

View File

@ -1,37 +1,47 @@
\documentclass{article}
\usepackage[fontsize=12pt]{fontsize} % will need adjusted if you change the paper size
\usepackage{lmodern,fontspec,lipsum,tabularray,qrcode,tikz,parskip,hyperref}
\usepackage[fontsize=10pt]{fontsize} % will need adjusted if you change the paper size
\usepackage{parskip,tikz,lmodern,fontspec,lipsum,qrcode,hyperref}
\usepackage[%
papersize={5.5in,4.25in},
bottom=2mm
papersize={5.5in,4.25in}, % this is a quarter of letter paper, half was too big
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=2em
]{geometry}
\setlength{\headsep}{2em}
\setlength{\headsep}{3em}
\pagestyle{empty}
\def\paste{%
\begin{tblr}{%
column{1}={halign=r},
column{2}={halign=l,wd=15em}, % set the width of the writing line here
vline{2}={text=:},
hline{2-Z}={2}{dotted},
row{2-Z}={abovesep=1.5em}}
{\LARGE Title}&\\
Owner&\\
Model&\\
Layout&\\
Switches&\\
Keycaps&\\
PCB&\\
\end{tblr}\\{\tiny\href{https://daviddaily.dev/david/Keeb-Plaque}{daviddaily.dev}}
\newpage
}
\def\nl{\\\vspace{1.5em}}
\begin{document}
{\fontfamily{lmss}\selectfont\begin{center}
% \setmainfont{[Hellvetica.ttf]} % uncomment if you want a better font
\def\paste{%
{\Huge Robot Lander}\\
{\small Daily}\nl
{\large Model:} ZSA Moonlander\nl
{\large Layout:} Colemak {\footnotesize with \href{https://eurkey.steffen.bruentjen.eu/}{EurKEY}}\nl
{\large Switches:} MMK Shark {\footnotesize+ O-rings cause I slam them keys}\nl
{\large Keycaps:} Drop$\times$LotR Mordor ortho set\nl
I made this card, that's pretty neat!\\
\vfill
{\tiny\href{https://daviddaily.dev/david/Keeb-Plaque}{daviddaily.dev}}
\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
};
\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}\newpage}
\begin{document}{\fontfamily{lmss}\selectfont\begin{center}
\paste
\setmainfont{[Hellvetica.ttf]}
\paste
\paste
\paste
\end{center}
}\end{document}
\end{center}}\end{document}