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?

  • 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
  • Thematically related to: tex.stackexchange.com/questions/3852/… – Ioannis Filippidis Sep 25 '17 at 1:29
  • Same quastion with: stackoverflow.com/questions/1911516/… – Ioannis Filippidis Sep 25 '17 at 1:29

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

  • 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
  • @SeanAllred I have extended the class and sent you a pull-request. Maybe you have a few minutes to check it out. All others are welcome to check, too: github.com/polyluxus/refsheet – Martin - マーチン Sep 4 '18 at 16:37
  • @Martin-マーチン I'm reviewing it now :-) – Sean Allred Sep 4 '18 at 17:07

The most notable answer to this StackOverflow question appears to be https://michaelgoerz.net/refcards/.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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