\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}}

\def\CallingConventionHeader{Calling Convention}
\newif\iftabularwrapping
\tabularwrappingtrue

\long\def\cheatsheetbox#1{\fcolorbox{black}{white}{#1}}
