Cheat Sheet for LATEX Firuza Karmali aka Aibara Page 1 of 2
1 Basics Page Breaks: \pagebreak OR \newpage Document Structure \documentclass[10pt|11pt|12pt] 2-Column Page: \documentclass[...,twocolumn]{...} {article|book|report} \title{Title of your Document} Multi Column: \usepackage{multicol} \author{Name 1 \\ Name 2} \begin{multicols}{No. of cols} \date{\today} ...... \begin{document} \end{multicols} \ maketitle ... New column: \columnbreak \end{document} Multi-Column(Spacing): \setlength{\columnsep}{Xpt} Multi-Column(Rule): Level No. LevelName / Sections Article Report Book \setlength{\columnseprule}{Xpt} -1 \ part{Title} Footnotes: 0 \chapter{Title} N ... \footnote{Text...} ... 1 \section{Title} 3 Text Attributes 2 \subsection{Title} 3 \subsubsection{Title} Style Command Size 10pt 11pt 12pt 4 \paragraph{Title} Bold \textbf{...} tiny 5 6 6 5 \subparagraph{Title} Italics \textit{...} scriptsize 7 8 8 Blank cell denotes ‘Yes’ Emphasis \emph{...} footnotesize 8 9 10 ToC (Table of Contents): \tableofcontents Underline \underline{...} small 9 10 10.95 Hide in ToC: LevelName*{...} E.g. \section*{...} Alternate Title in ToC (Display alias): Small Caps \textsc{...} normalsize 10 10.95 12 E.g. \section[Alternative]{Actual Title} Roman \textrm{...} large 12 12 14.4 Sans Serif \textsf{...} Large 14.4 14.4 17.28 Hyhen:- En-dash:\textendash Em-dash:\textemdash Typewriter \texttt{...} LARGE 17.28 17.28 20.74 Special characters Superscript \textsuperscript{...} huge 20.74 20.74 24.88 !@*()-+=?[]/\$ \& \% \_ \{ \} \# Subscript \textsubscript{...} Huge 24.88 24.88 24.88 2 Formatting Pages Colors: https ://en.wikibooks.org/wiki/LaTeX/Colors Size: \usepackage[