Compare commits
	
		
			11 Commits
		
	
	
		
			hell
			...
			blank-mode
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 367497aa79 | |||
| 52cc2c3656 | |||
| 0cfaaf67da | |||
| 08bb6d945e | |||
| 48461bb653 | |||
| 27bfeced23 | |||
| 9974587697 | |||
| e4e2950ae6 | |||
| d07513c7b1 | |||
| e8e3ae4510 | |||
| 66fef9e5ae | 
@@ -1,3 +1,7 @@
 | 
			
		||||
# 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 a quarter of a Letter paper sheet for Mechanical Keyboard Meetups.
 | 
			
		||||
 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
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.
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								example.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								example.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 41 KiB  | 
							
								
								
									
										77
									
								
								main.tex
									
									
									
									
									
								
							
							
						
						
									
										77
									
								
								main.tex
									
									
									
									
									
								
							@@ -1,52 +1,37 @@
 | 
			
		||||
\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[fontsize=12pt]{fontsize} % will need adjusted if you change the paper size
 | 
			
		||||
\usepackage{lmodern,fontspec,lipsum,tabularray,qrcode,tikz,parskip,hyperref}
 | 
			
		||||
\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
 | 
			
		||||
   papersize={5.5in,4.25in},
 | 
			
		||||
   bottom=2mm
 | 
			
		||||
	]{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
 | 
			
		||||
 | 
			
		||||
\setlength{\headsep}{2em}
 | 
			
		||||
\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
 | 
			
		||||
   {\LARGE Title}\\
 | 
			
		||||
   {\small  subtitle}\nl   %  you might need to mess with the spacing here to make it look even better
 | 
			
		||||
   {\large Model:} model\nl
 | 
			
		||||
   {\large Layout:} layout\nl
 | 
			
		||||
   {\large Keycaps:} keycaps\nl
 | 
			
		||||
   {\large PCB:} PCB\nl
 | 
			
		||||
   {\large Notes:} notes\\
 | 
			
		||||
   \vfill
 | 
			
		||||
   {\LARGE \#EVENT-NAME}
 | 
			
		||||
 | 
			
		||||
\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
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
\begin{document}
 | 
			
		||||
{\fontfamily{lmss}\selectfont\begin{center}
 | 
			
		||||
%  \setmainfont{[Hellvetica.ttf]}  % uncomment if you want a better font
 | 
			
		||||
\paste
 | 
			
		||||
\paste
 | 
			
		||||
\paste
 | 
			
		||||
\paste
 | 
			
		||||
\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 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
 | 
			
		||||
      Top Right%your label here
 | 
			
		||||
   };
 | 
			
		||||
   
 | 
			
		||||
   \node [above right=0.6em](BL) at (current page.south west){\qrcode{https://daviddaily.dev}};
 | 
			
		||||
   \node [above=.1em] at (BL.north){\footnotesize
 | 
			
		||||
      Bottom Left%your label here
 | 
			
		||||
   };
 | 
			
		||||
   
 | 
			
		||||
   \node [above left=0.6em](BR) at (current page.south east){\qrcode{https://daviddaily.dev}};
 | 
			
		||||
   \node [above=.1em] at (BR.north){\footnotesize
 | 
			
		||||
      Bottom Right%your label here
 | 
			
		||||
   };
 | 
			
		||||
\end{tikzpicture}
 | 
			
		||||
}\end{document}
 | 
			
		||||
		Reference in New Issue
	
	Block a user