From bee9b0b371279f086e0a495f18837e7445fc541c Mon Sep 17 00:00:00 2001
From: Camil Staps
Date: Wed, 7 Nov 2018 17:26:53 +0100
Subject: Add mac.tex

---
 cheatsheet.cls | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 cheatsheet.cls

(limited to 'cheatsheet.cls')

diff --git a/cheatsheet.cls b/cheatsheet.cls
new file mode 100644
index 0000000..dfe1191
--- /dev/null
+++ b/cheatsheet.cls
@@ -0,0 +1,28 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{cheatsheet}%
+    [2018/11/07 v1.0 Clean RTS Cheat Sheets]
+
+\LoadClass{article}
+
+\RequirePackage[a6paper,margin=8mm,top=5mm,bottom=5mm]{geometry}
+\RequirePackage{xcolor}
+\RequirePackage[hidelinks]{hyperref}
+
+\pagestyle{empty}
+
+\setlength\fboxrule{.5pt}
+\setlength\fboxsep{0pt}
+\renewcommand{\arraystretch}{1.2}
+\setlength{\tabcolsep}{.5em}
+\parindent0pt
+\centering
+
+\newcommand{\cheatsheettitle}[2][]{%
+	\begin{center}
+		\textbf{Clean RTS Cheat Sheet, \ifx#1\empty\else#1 \fi#2}
+	\end{center}}
+
+\AtEndDocument{%
+	\par\bigskip
+	\scriptsize
+	\url{https://gitlab.science.ru.nl/cstaps/clean-rts-cheat-sheet}}
-- 
cgit v1.2.3

