A reference card class for LaTeX2e.
According to Wikipedia, a cheat sheet is a concise set of notes used for quick reference. Some might even call it a reference card or sheet, hence the name.
This small class is aimed to make the typesetting of reference cards a bit less tedious, so you can focus on using them. The class is inspired from the question and answer Document Class for Reference Cards.
Since refcard
is based on article
most options can be passed on.
columns=<num>
How many columns, default is 3.margin=<length>
Passed togeometry
, default 1 cm.
portrait
only supportslandscape
; ignored, warning.titlepage
saving space, so no title page; ignored, warning.twocolumn
class usesmulticol
; break, error.
- Dense settings to save maximum space.
- No enumeration of (sub)sections.
- Customised itemise environments.
Thanks to the following people, who have contributed to the original implementation:
- Mike Renfro (Mike Renfro, mikerenfro);
- Sean Allred (Sean Allred, vermiculus);
- Eric Berquist, (berquist).
Currently maintained by Martin C Schwarzer (Martin-マーチン, polyluxus).
Other code has also been imported into this repository. This is also highlighted in the commented source code.
-
Part of the code is adapted from the answer of Werner (Werner): How to create a command with key values?
-
The automatically adjusting label width is based on the answers by user121799 (no stack exchange profile page) and Gonzalo Medina (Gonzalo Medina):
-
Expansion of column types in array tables is based on the code provided by Bruno Le Floch (Bruno Le Floch): How do I expand a macro into a tabular head?
The class is licensed CC-BY-SA 4.0.