TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've seen a bunch of reference cards (either obviously or known-to-be TeX'd) that look exactly alike in format. Is there a documentclass or environment that's being done to enable this or, if not, how could it be implemented in a LaTeX-y, separate-content-from-formatting kind of way?

share|improve this question
This isn't a document class, but it may be a place to start: www.math.brown.edu/~jhs/ReferenceCards/LaTeXRefCard.v2.0.tex - or not. Form and content aren't as separate as perhaps they should be. I hope you get a real answer. – Ethan Bolker Feb 24 '13 at 20:35
@EthanBolker Thanks -- I ran into this before while doing research. While I recognize that TeX has its place (in the creation of document classes, for example), there should either already be a better solution or one should be created. If it comes down to writing one, I'm sure this source will come in handy (although when I TeX'd it earlier, it seemed to run off the page (as if it was meant for landscape instead of the portrait that came out). – Sean Allred Feb 24 '13 at 20:40
up vote 7 down vote accepted

As a start. Class version tested and seems to produce the same output, with a few changes to \maketitle. Edits welcome.

Example output


% Page layout

% Title area
\usepackage{titling} % Allows for use of date, author, etc. after \maketitle
% Ref: http://tex.stackexchange.com/questions/3988/titlesec-versus-titling-mangling-thetitle
{\begin{center}\Large \mythetitle\end{center}}

% Document divisions
\usepackage{nopageno} % To keep \section from resetting page style

\setlength{\parindent}{0pt} % disabling indentation by default

% Lists
\usepackage{enumitem} % for consistent formatting of lists
\usepackage{calc} % for \widthof

% Code


\title{\LaTeXe Cheat Sheet}
\author{Winston Chang}


\section{Document classes}

\item[book] Default is two-sided.
\item[report] No \texttt{part} divisions.

\subsection{Common \texttt{documentclass} options}

\item[10pt/11pt/12pt] Font size.
\item[letterpaper/a4paper] Paper size.
\item[draft] Double-space lines.

\section{Document structure}


\lstinline|\part{title}| \\
\lstinline|\chapter{title}| \\
\lstinline|\section{title}| \\
\lstinline|\subsection{title}| \\
\lstinline|\subsubsection{title}| \\
\lstinline|\paragraph{title}| \\

\section{Text properties}

\subsection{Font face}

Command & Declaration & Effect \\
\lstinline|\textrm{text}| & \lstinline|{\rmfamily text}| & \textrm{Roman family} \\
\lstinline|\textsf{text}| & \lstinline|{\sffamily text}| & \textsf{Sans serif family} \\

\section{Math mode}

\subsection{Math mode symbols}
\( \leq \) \verb|\leq| \\
\( \times \) \verb|\times| \\
\( ^{\circ} \) \verb|^{\circ}| \\
\( \infty \) \verb|\infty| \\
\( \supset \) \verb|\supset| \\
\( \subset \) \verb|\subset| \\
\( \cup \) \verb|\cup| \\
\( \dot a \) \verb|\dot a| \\
\( \alpha \) \verb|\alpha| \\
\( \epsilon \) \verb|\epsilon| \\
\( \theta \) \verb|\theta| \\
\( \lambda \) \verb|\lambda| \\
\( \pi \) \verb|\pi| \\
\( \upsilon \) \verb|\upsilon|

\section{Filler material}


\noindent Copyright \textcopyright{} \thedate{} \theauthor{}

share|improve this answer
As far as I'm concerned, this answers the question. Learned quite a few new things! Any help over at Github (github.com/vermiculus/refsheet) would be greatly appreciated. – Sean Allred Feb 25 '13 at 22:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.