Skip to content

Instantly share code, notes, and snippets.

@mschultheiss83
Forked from gpolitis/cheatsheet.tex
Last active December 11, 2015 15:48
Show Gist options
  • Save mschultheiss83/4623321 to your computer and use it in GitHub Desktop.
Save mschultheiss83/4623321 to your computer and use it in GitHub Desktop.
\documentclass[10pt,a4paper]{article}
\usepackage{multicol}
\usepackage{amsmath, amssymb, amsthm}
\usepackage[margin=.3in]{geometry}
\usepackage[normalem]{ulem}
\begin{document}
\theoremstyle{definition}
\newtheorem{defn}{Definition}[section]
\theoremstyle{remark}
\newtheorem{rem}{Remarque}
\setlength\columnsep{.3in}
\begin{multicols*}{2}
\text{Cheatsheet template that fits my needs}
\text{Cheatsheet template that fits my needs}
\text{Cheatsheet template that fits my needs}
\text{Cheatsheet template that fits my needs}
\text{Cheatsheet template that fits my needs}
\textrm{text} {\rmfamily text} Roman family\\
\textsf{text} {\sffamily text} Sans serif family\\
\texttt{text} {\ttfamily text} Typewriter family\\
\textmd{text} {\mdseries text} Medium series\\
\textbf{text} {\bfseries text} Bold series\\
\textup{text} {\upshape text} Upright shape\\
\textit{text} {\itshape text} Italic shape\\
\textsl{text} {\slshape text} Slanted shape\\
\textsc{text} {\scshape text} Small Caps shape\\
\emph{text} {\em text} Emphasized\\
\textnormal{text}{\normalfont text}Document font\\
\underline{text} Underline\\
\part{title}
text\\
\section{title}
text\\
\subsection{title}
text\\
\subsubsection{title}
text\\
\paragraph{title}
text\\
\subparagraph{title}
text\\
\end{multicols*}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment