├── .gitignore ├── CheatSheetImage1.png ├── CheatSheetImage2.png ├── LICENSE ├── README.md ├── _config.yml ├── index.md ├── latexcheatsheet.pdf └── latexcheatsheet.tex /.gitignore: -------------------------------------------------------------------------------- 1 | *.aux 2 | *.log 3 | *.out 4 | *.synctex.gz 5 | *.toc 6 | *.lof 7 | *.lot 8 | *.fls 9 | *.fdb_latexmk 10 | -------------------------------------------------------------------------------- /CheatSheetImage1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divisbyzero/latex-cheatsheet/2c777484ad2e958328fc738e0b95d8d2e8f29a82/CheatSheetImage1.png -------------------------------------------------------------------------------- /CheatSheetImage2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divisbyzero/latex-cheatsheet/2c777484ad2e958328fc738e0b95d8d2e8f29a82/CheatSheetImage2.png -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Creative Commons Attribution-NonCommercial 4.0 International 2 | 3 | You are free to: 4 | 5 | - Share — copy and redistribute the material in any medium or format 6 | - Adapt — remix, transform, and build upon the material 7 | 8 | Under the following terms: 9 | 10 | - Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. 11 | - NonCommercial — You may not use the material for commercial purposes. 12 | 13 | No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. 14 | 15 | Full License Text: https://creativecommons.org/licenses/by-nc/4.0/ 16 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # A Quick Guide to LaTeX — A LaTeX Cheat Sheet 2 | 3 | [![License: CC BY-NC 4.0](https://img.shields.io/badge/License-CC%20BY--NC%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc/4.0/) 4 | [![Latest Release](https://img.shields.io/github/v/release/divisbyzero/latex-cheatsheet)](https://github.com/divisbyzero/latex-cheatsheet/releases/latest) 5 | 6 | A quick-reference guide for LaTeX, originally authored by Dave Richeson. 7 | 8 | ## Files 9 | 10 | - `latexcheatsheet.tex`: The LaTeX source 11 | - `latexcheatsheet.pdf`: Precompiled PDF for easy viewing 12 | 13 | ## Preview 14 | 15 |

16 | Cheat Sheet Page 1 17 | Cheat Sheet Page 2 18 |

19 | 20 | ## License 21 | 22 | This work is licensed under the [Creative Commons Attribution-NonCommercial 4.0 International](https://creativecommons.org/licenses/by-nc/4.0/) license (CC BY-NC 4.0). 23 | 24 | You may share and adapt for **non-commercial purposes**, provided attribution is given. 25 | 26 | ## About 27 | 28 | Originally shared via [divisbyzero.com](http://divisbyzero.com). This repository makes it easier to access, reuse, and contribute improvements. 29 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | title: A Quick Guide to LaTeX — A LaTeX Cheat Sheet 2 | description: Reference guide by Dave Richeson 3 | theme: jekyll-theme-dinky 4 | -------------------------------------------------------------------------------- /index.md: -------------------------------------------------------------------------------- 1 | # A Quick Guide to LaTeX — A LaTeX Cheat Sheet 2 | 3 | Welcome! This is a quick-reference guide for LaTeX compiled by Dave Richeson. 4 | 5 | ## View the PDF 6 | 7 | [View or download the cheat sheet (PDF)](latexcheatsheet.pdf) 8 | 9 | ## Preview 10 | 11 |

12 | Cheat Sheet Page 1 13 | Cheat Sheet Page 2 14 |

15 | 16 | ## Download the LaTeX Source 17 | 18 | If you'd like to edit or customize this document, you can download the LaTeX source file here: 19 | 20 | [Download latexcheatsheet.tex](latexcheatsheet.tex) 21 | 22 | You can also [view the full project on GitHub](https://github.com/divisbyzero/latex-cheatsheet) to see all files and contribute. 23 | 24 | ## About this project 25 | 26 | This two-page document covers essential LaTeX commands, environments, and symbols, especially useful for mathematics students. 27 | 28 | Feel free to share. See the LICENSE file for usage terms. 29 | -------------------------------------------------------------------------------- /latexcheatsheet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divisbyzero/latex-cheatsheet/2c777484ad2e958328fc738e0b95d8d2e8f29a82/latexcheatsheet.pdf -------------------------------------------------------------------------------- /latexcheatsheet.tex: -------------------------------------------------------------------------------- 1 | \documentclass[10pt,landscape]{article} 2 | \usepackage{amssymb,amsmath,amsthm,amsfonts} 3 | \usepackage{multicol,multirow} 4 | \usepackage{calc} 5 | \usepackage{ifthen} 6 | \usepackage[landscape]{geometry} 7 | \usepackage{xcolor} 8 | \usepackage[ 9 | colorlinks=true, 10 | linkcolor=blue!60!black, 11 | urlcolor=blue!60!black, 12 | citecolor=blue!60!black 13 | ]{hyperref} 14 | \usepackage{titlesec} 15 | \usepackage{tcolorbox} 16 | \usepackage{upquote} 17 | 18 | 19 | \definecolor{indigo}{RGB}{63, 81, 181} 20 | \colorlet{sectioncolor}{indigo!80!black} 21 | \colorlet{subsectioncolor}{teal!60!black} 22 | 23 | \newcommand{\ColorSection}[1]{\par\vspace{1.5ex}\noindent\textcolor{sectioncolor}{\Large\bfseries #1}\par\vspace{0.75ex}} 24 | \newcommand{\ColorSubsection}[1]{\par\vspace{1ex}\noindent\textcolor{subsectioncolor}{\normalsize\bfseries #1}\par\vspace{0.5ex}} 25 | 26 | 27 | \definecolor{titlecolor}{RGB}{184, 134, 11} 28 | 29 | 30 | 31 | \tcbset{ 32 | resourcebox/.style={ 33 | colback=red!5, 34 | colframe=red!70!black!90, 35 | rounded corners, 36 | boxrule=0.5pt, 37 | boxsep=2pt, left=2pt, right=2pt, top=2pt, bottom=2pt, 38 | fonttitle=\bfseries\Large 39 | }, 40 | notebox/.style={ 41 | colback=cyan!5, 42 | colframe=cyan!50!black, 43 | rounded corners, 44 | boxrule=0.5pt, 45 | boxsep=2pt, left=2pt, right=2pt, top=2pt, bottom=2pt, 46 | fonttitle=\bfseries\Large 47 | } 48 | } 49 | %orange!60!black 50 | 51 | \ifthenelse{\lengthtest { \paperwidth = 11in}} 52 | { \geometry{top=0.37in,left=0.37in,right=0.37in,bottom=0.37in} } 53 | {\ifthenelse{ \lengthtest{ \paperwidth = 297mm}} 54 | {\geometry{top=1cm,left=1cm,right=1cm,bottom=1cm} } 55 | {\geometry{top=1cm,left=1cm,right=1cm,bottom=1cm} } 56 | } 57 | \pagestyle{empty} 58 | \makeatletter 59 | \renewcommand{\section}{\@startsection{section}{1}{0mm}% 60 | {-1ex plus -.5ex minus -.2ex}% 61 | {0.5ex plus .2ex}%x 62 | {\normalfont\large\bfseries}} 63 | \renewcommand{\subsection}{\@startsection{subsection}{2}{0mm}% 64 | {-1explus -.5ex minus -.2ex}% 65 | {0.5ex plus .2ex}% 66 | {\normalfont\normalsize\bfseries}} 67 | \renewcommand{\subsubsection}{\@startsection{subsubsection}{3}{0mm}% 68 | {-1ex plus -.5ex minus -.2ex}% 69 | {1ex plus .2ex}% 70 | {\normalfont\small\bfseries}} 71 | \makeatother 72 | \setcounter{secnumdepth}{0} 73 | \setlength{\parindent}{0pt} 74 | \setlength{\parskip}{0pt plus 0.5ex} 75 | % ----------------------------------------------------------------------- 76 | 77 | \begin{document} 78 | 79 | \raggedright 80 | \footnotesize 81 | 82 | 83 | \begin{center} 84 | \textcolor{titlecolor}{\Huge\bfseries A Quick Guide to \LaTeX} 85 | \end{center} 86 | \begin{multicols}{3} 87 | \setlength{\premulticols}{1pt} 88 | \setlength{\postmulticols}{1pt} 89 | \setlength{\multicolsep}{1pt} 90 | \setlength{\columnsep}{2pt} 91 | 92 | 93 | \begin{tcolorbox}[notebox, title=What is \LaTeX?] 94 | \LaTeX (usually pronounced ``LAY teck,'' sometimes ``LAH teck,'' and never ``LAY tex'') is a mathematics typesetting program that is the standard for most professional mathematics writing. It is based on the typesetting program \TeX\ created by Donald Knuth (his first version appeared in 1978). Leslie Lamport created \LaTeX, a more user-friendly version of \TeX. A team of \LaTeX\ programmers created the current version, \LaTeXe. 95 | \end{tcolorbox} 96 | 97 | 98 | 99 | \ColorSection{Text vs. Math vs. Functions} 100 | In properly typeset mathematics, variables appear in italics (e.g., $f(x)=x^{2}+2x-3$). The exception to this rule is predefined functions (like $\sin (x)$). Thus, it is important to \textbf{always} treat text, variables, and functions correctly. See the difference between $x$ and x, -1 and $-1$, and $sin(x)$ and $\sin(x)$. 101 | 102 | \ColorSubsection{Text Decorations} 103 | Your text can be \textit{italics} (\verb!\textit{italics}!), \textbf{boldface} (\verb!\textbf{boldface}!), or \underline{underlined} (\verb!\underline{underlined}!). 104 | 105 | Your math can contain boldface, $\mathbf{R}$ (\verb!\mathbf{R}!), or blackboard bold, $\mathbb{R}$ (\verb!\mathbb{R}!). You may want to use these to express the sets of real numbers ($\mathbb{R}$ or $\mathbf{R}$), integers ($\mathbb{Z}$ or $\mathbf{Z}$), rational numbers ($\mathbb{Q}$ or $\mathbf{Q}$), and natural numbers ($\mathbb{N}$ or $\mathbf{N}$). 106 | 107 | To have text appear in a math expression, use \verb!\text!. \verb!(0,1]=\{x\in\mathbb{R}:x>0\text{ and }x\le 1\}! yields $(0,1]=\{x\in\mathbb{R}:x>0\text{ and }x\le 1\}$. (Without the \verb!\text! command it treats ``and'' as three variables: $(0,1]=\{x\in\mathbb{R}:x>0 and x\le 1\}$.) 108 | 109 | \ColorSubsection{Inline Mathematical Expressions} 110 | Place a math expression between \verb!$...$! or \verb!\(...\)! to produce an inline expression. For example, typing \verb!$90^{\circ}$! \texttt{is the same as} \verb!\(\frac{\pi}{2}\) radians! yields ``$90^{\circ}$ is the same as $\frac{\pi}{2}$ radians.'' 111 | 112 | \ColorSubsection{Display Equations} 113 | Display equations are mathematical expressions given their own line and centered on the page. They are usually important equations that deserve to be showcased on their own line, or for tall or long equations that don't fit inline. To produce a display equation, surround the mathematical expression with \verb!\[! and \verb!\]!. Typing \verb!\[x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}\]! yields \[x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}.\] 114 | 115 | \ColorSubsection{Displaystyle} 116 | To get full-sized inline mathematical expressions, use \verb!\displaystyle!. Use this sparingly. Typing \verb!I want this $\displaystyle \sum_{n=1}^{\infty}! \verb!\frac{1}{n}$, not this $\sum_{n=1}^{\infty}! \verb!\frac{1}{n}$.! yields\\ I want this $\displaystyle \sum_{n=1}^{\infty}\frac{1}{n}$, not this $\sum_{n=1}^{\infty}\frac{1}{n}.$ 117 | 118 | \vfill 119 | ~ 120 | \columnbreak 121 | 122 | 123 | 124 | \ColorSection{Spaces and New Lines} 125 | 126 | \LaTeX\ ignores extra spaces and new lines. For example, 127 | 128 | \verb!This sentence will look! 129 | 130 | \verb!fine after it is compiled.! 131 | 132 | This sentence will look 133 | fine after it is compiled. 134 | 135 | 136 | Leave one empty line between two paragraphs. Place \verb!\\! at the end of a line to create a new line (but not a new paragraph). Use \verb!\noindent! to prevent a paragraph from indenting. 137 | 138 | \verb!This! 139 | 140 | \verb!compiles! 141 | 142 | ~ 143 | 144 | \verb!like\\! 145 | 146 | \verb!this.! 147 | 148 | This 149 | compiles 150 | 151 | like\\ 152 | this. 153 | 154 | 155 | 156 | \ColorSection{Comments} 157 | 158 | Use \verb!%! to create a comment. Nothing on the line after \verb!%! will be typeset. \verb!$f(x)=\sin(x)$ %sine function! yields $f(x)=\sin(x)$. 159 | 160 | \ColorSection{Images} 161 | 162 | You can put images (pdf, png, jpg, or gif) in your document. To do so, you need \verb!\usepackage{graphicx}! at the start of your document, and the images need to be in the same directory as your .tex file. Omit \verb![width=5in]! if you want the image to be full-sized. 163 | 164 | \verb!\begin{figure}[ht]!\\ 165 | \verb!\includegraphics[width=5in]{imagename.pdf}!\\ 166 | \verb!\caption{The (optional) caption goes here.}!\\ 167 | \verb!\end{figure}! 168 | 169 | 170 | 171 | \ColorSection{Delimiters} 172 | 173 | \begin{tabular}{lll} 174 | \emph{description} & \emph{command} & \emph{output}\\ 175 | parentheses &\verb!(x)! & (x)\\ 176 | brackets &\verb![x]! & [x]\\ 177 | curly braces& \verb!\{x\}! & \{x\}\\ 178 | \end{tabular} 179 | 180 | To make your delimiters large enough to fit the content, use them together with \verb!\right! and \verb!\left!. For example, \verb!\left\{\sin\left(\frac{1}{n}\right)\right\}_{n}^! \verb!{\infty}! produces\\ $\displaystyle \left\{\sin\left(\frac{1}{n}\right)\right\}_{n}^{\infty}$. 181 | 182 | Curly braces are non-printing characters used to gather text with more than one character. Observe the differences between the four expressions \verb!x^2!, \verb!x^{2}!, \verb!x^2t!, \verb!x^{2t}! when typeset: $x^2$, $x^{2}$, $x^2t$, $x^{2t}$. 183 | 184 | \vfill 185 | ~ 186 | \columnbreak 187 | \ColorSection{Lists} 188 | 189 | You can produce ordered and unordered lists. 190 | 191 | \begin{tabular}{lll} 192 | \emph{description} & \emph{command} & \emph{output}\\ 193 | unordered list& 194 | \begin{tabular}{l} 195 | \verb!\begin{itemize}!\\ 196 | \verb! \item Thing 1!\\ 197 | \verb! \item Thing 2!\\ 198 | \verb!\end{itemize}! 199 | \end{tabular}& 200 | \begin{tabular}{l} 201 | $\bullet$ Thing 1\\ 202 | $\bullet$ Thing 2 203 | \end{tabular}\\ 204 | ~\\ 205 | ordered list& 206 | \begin{tabular}{l} 207 | \verb!\begin{enumerate}!\\ 208 | \verb! \item Thing 1!\\ 209 | \verb! \item Thing 2!\\ 210 | \verb!\end{enumerate}! 211 | \end{tabular}& 212 | \begin{tabular}{l} 213 | 1.~Thing 1\\ 214 | 2.~Thing 2 215 | \end{tabular} 216 | \end{tabular} 217 | 218 | 219 | \ColorSection{Aligned Equations} 220 | 221 | \begin{tabular}{lll} 222 | \emph{description} & \emph{command} & \emph{output}\\ 223 | aligned& \verb!\begin{align*}! & \multirow{4}{*}{$\begin{aligned} 224 | f(0) &= 10\cos(0)\\ 225 | &= 10 226 | \end{aligned}$}\\ 227 | equations&\verb!f(0) &= 10\cos(0)\\!&\\ 228 | &\verb!&= 10!&\\ 229 | &\verb!\end{align*}!& 230 | \end{tabular} 231 | 232 | \ColorSection{Symbols in Math Mode} 233 | 234 | \ColorSubsection{The basics} 235 | \begin{tabular}{lll} 236 | \emph{description} & \emph{command} & \emph{output}\\ 237 | addition & \verb!+! & $+$\\ 238 | subtraction & \verb!-! & $-$\\ 239 | plus or minus & \verb!\pm! & $\pm$\\ 240 | multiplication (times) & \verb!\times! & $\times$\\ 241 | multiplication (dot) & \verb!\cdot! & $\cdot$\\ 242 | division symbol & \verb!\div! & $\div$\\ 243 | division (slash) & \verb!/! & $/$\\ 244 | circle plus & \verb!\oplus! & $\oplus$\\ 245 | circle times & \verb!\otimes! & $\otimes$\\ 246 | equal & \verb!=! & $=$\\ 247 | not equal & \verb!\ne! & $\ne$\\ 248 | less than & \verb!! & $>$\\ 250 | less than or equal to & \verb!\le! & $\le$\\ 251 | greater than or equal to & \verb!\ge! & $\ge$\\ 252 | approximately equal to & \verb!\approx! & $\approx$\\ 253 | infinity & \verb!\infty! & $\infty$\\ 254 | dots & \verb!1,2,3,\ldots! & $1,2,3,\ldots$\\ 255 | dots & \verb!1+2+3+\cdots! & $1+2+3+\cdots$\\ 256 | fraction & \verb!\frac{a}{b}! & $\frac{a}{b}$\\ 257 | square root & \verb!\sqrt{x}! & $\sqrt{x}$\\ 258 | $n$th root & \verb!\sqrt[n]{x}! & $\sqrt[n]{x}$\\ 259 | exponentiation & \verb!a^b! & $a^{b}$\\ 260 | subscript & \verb!a_b! & $a_{b}$\\ 261 | absolute value & \verb!|x|! & $|x|$\\ 262 | natural log & \verb!\ln(x)! & $\ln(x)$\\ 263 | logarithms & \verb!\log_{a}b! & $\log_{a}b$\\ 264 | exponential function & \verb!e^x=\exp(x)! & $e^{x}=\exp(x)$\\ 265 | degree & \verb!\deg(f)! & $\deg(f)$\\ 266 | \end{tabular} 267 | 268 | \vfill 269 | ~\\ 270 | 271 | \hrule 272 | ~\\ 273 | 274 | Created by Dave Richeson, Dickinson College, \url{divisbyzero.com} 275 | 276 | \newpage 277 | 278 | \ColorSubsection{Functions} 279 | \begin{tabular}{lll} 280 | \emph{description} & \emph{command} & \emph{output}\\ 281 | maps to & \verb!\to! & $\to$\\ 282 | composition& \verb!\circ! & $\circ$\\ 283 | piecewise& \verb!|x|=! & \multirow{5}{*}{$\displaystyle |x|=\begin{cases}x&x\ge 0\\-x&x<0\end{cases}$}\\ 284 | function&\verb!\begin{cases}!&\\ 285 | &\verb!x & x\ge 0\\!&\\ 286 | &\verb!-x & x<0!&\\ 287 | &\verb!\end{cases}!& 288 | \end{tabular} 289 | 290 | \ColorSubsection{Greek and Hebrew letters} 291 | \begin{tabular}{llll} 292 | \emph{command} & \emph{output}&\emph{command} & \emph{output}\\ 293 | \verb!\alpha! & $\alpha$&\verb!\tau! & $\tau$\\ 294 | \verb!\beta! & $\beta$&\verb!\theta! & $\theta$\\ 295 | \verb!\chi! & $\chi$&\verb!\upsilon! & $\upsilon$\\ 296 | \verb!\delta! & $\delta$&\verb!\xi! & $\xi$\\ 297 | \verb!\epsilon! & $\epsilon$&\verb!\zeta! & $\zeta$\\ 298 | \verb!\varepsilon! & $\varepsilon$&\verb!\Delta! & $\Delta$\\ 299 | \verb!\eta! & $\eta$&\verb!\Gamma! & $\Gamma$\\ 300 | \verb!\gamma! & $\gamma$&\verb!\Lambda! & $\Lambda$\\ 301 | \verb!\iota! & $\iota$&\verb!\Omega! & $\Omega$\\ 302 | \verb!\kappa! & $\kappa$&\verb!\Phi! & $\Phi$\\ 303 | \verb!\lambda! & $\lambda$&\verb!\Pi! & $\Pi$\\ 304 | \verb!\mu! & $\mu$&\verb!\Psi! & $\Psi$\\ 305 | \verb!\nu! & $\nu$&\verb!\Sigma! & $\Sigma$\\ 306 | \verb!\omega! & $\omega$&\verb!\Theta! & $\Theta$\\ 307 | \verb!\phi! & $\phi$&\verb!\Upsilon! & $\Upsilon$\\ 308 | \verb!\varphi! & $\varphi$&\verb!\Xi! & $\Xi$\\ 309 | \verb!\pi! & $\pi$&\verb!\aleph! & $\aleph$\\ 310 | \verb!\psi! & $\psi$&\verb!\beth! & $\beth$\\ 311 | \verb!\rho! & $\rho$&\verb!\gimel! & $\gimel$\\ 312 | \verb!\sigma! & $\sigma$&\verb!\daleth! & $\daleth$ 313 | \end{tabular} 314 | 315 | 316 | \ColorSubsection{Set Theory} 317 | \begin{tabular}{lll} 318 | \emph{description} & \emph{command} & \emph{output}\\ 319 | set brackets & \verb!\{1,2,3\}! & $\{1,2,3\}$\\ 320 | element of & \verb!\in! & $\in$\\ 321 | not an element of & \verb!\not\in! & $\not\in$\\ 322 | subset of & \verb!\subset! & $\subset$\\ 323 | subset of & \verb!\subseteq! & $\subseteq$\\ 324 | not a subset of & \verb!\not\subset! & $\not\subset$\\ 325 | contains & \verb!\supset! & $\supset$\\ 326 | contains & \verb!\supseteq! & $\supseteq$\\ 327 | union & \verb!\cup! & $\cup$\\ 328 | intersection & \verb!\cap! & $\cap$\\ 329 | big union & 330 | \verb!\bigcup_{n=1}^{10}A_n! & 331 | $\displaystyle \bigcup_{n=1}^{10}A_{n}$\\ 332 | big intersection & \verb!\bigcap_{n=1}^{10}A_n! &$\displaystyle \bigcap_{n=1}^{10}A_{n}$\\ 333 | empty set & \verb!\emptyset! & $\emptyset$\\ 334 | power set & \verb!\mathcal{P}! & $\mathcal{P}$\\ 335 | minimum & \verb!\min! & $\min$\\ 336 | maximum & \verb!\max! & $\max$\\ 337 | supremum & \verb!\sup! & $\sup$\\ 338 | infimum & \verb!\inf! & $\inf$\\ 339 | limit superior & \verb!\limsup! & $\limsup$\\ 340 | limit inferior & \verb!\liminf! & $\liminf$\\ 341 | closure & \verb!\overline{A}! & $\overline{A}$ 342 | \end{tabular} 343 | 344 | \vfill 345 | ~ 346 | \columnbreak 347 | \ColorSubsection{Calculus} 348 | \begin{tabular}{lll} 349 | \emph{description} & \emph{command} & \emph{output}\\ 350 | derivative & \verb!\frac{df}{dx}! & $\displaystyle \frac{df}{dx}$\\ 351 | derivative & \verb!\f'! & $f'$\\ 352 | partial derivative & 353 | \begin{tabular}{l} 354 | \verb!\frac{\partial f}!\\ \verb!{\partial x}! 355 | \end{tabular}& $\displaystyle \frac{\partial f}{\partial x}$\\ 356 | integral & \verb!\int! & $\displaystyle\int$\\ 357 | double integral & \verb!\iint! & $\displaystyle\iint$\\ 358 | triple integral & \verb!\iiint! & $\displaystyle\iiint$\\ 359 | limits & \verb!\lim_{x\to \infty}! & $\displaystyle \lim_{x\to \infty}$\\ 360 | summation & 361 | \verb!\sum_{n=1}^{\infty}a_n! & 362 | $\displaystyle \sum_{n=1}^{\infty}a_n$\\ 363 | product & 364 | \verb!\prod_{n=1}^{\infty}a_n! & 365 | $\displaystyle \prod_{n=1}^{\infty}a_n$ 366 | \end{tabular} 367 | 368 | 369 | 370 | 371 | \ColorSubsection{Geometry and Trigonometry} 372 | \begin{tabular}{lll} 373 | \emph{description} & \emph{command} & \emph{output}\\ 374 | angle& \verb!\angle ABC! & $\angle ABC$\\ 375 | degree& \verb!90^{\circ}! & $90^{\circ}$\\ 376 | triangle& \verb!\triangle ABC! & $\triangle ABC$\\ 377 | segment& \verb!\overline{AB}! & $\overline{AB}$\\ 378 | sine& \verb!\sin! & $\sin$\\ 379 | cosine& \verb!\cos! & $\cos$\\ 380 | tangent& \verb!\tan! & $\tan$\\ 381 | cotangent& \verb!\cot! & $\cot$\\ 382 | secant& \verb!\sec! & $\sec$\\ 383 | cosecant& \verb!\csc! & $\csc$\\ 384 | inverse sine& \verb!\arcsin! & $\arcsin$\\ 385 | inverse cosine& \verb!\arccos! & $\arccos$\\ 386 | inverse tangent& \verb!\arctan! & $\arctan$\\ 387 | \end{tabular} 388 | 389 | \ColorSubsection{Linear Algebra} 390 | \begin{tabular}{lll} 391 | \emph{description} & \emph{command} & \emph{output}\\ 392 | vector & \verb!\vec{v}! & $\vec{v}$\\ 393 | vector & \verb!\mathbf{v}! & $\mathbf{v}$\\ 394 | norm & \verb!\|\vec{v}\|! & $||\vec{v}||$\\ 395 | matrix& 396 | \begin{tabular}{l} 397 | \verb!\begin{bmatrix}!\\ 398 | \verb!1 & 2 & 3 \\!\\ 399 | \verb!4 & 5 & 6\\!\\ 400 | \verb!7 & 8 & 0!\\ 401 | \verb!\end{bmatrix}!\end{tabular}& 402 | \(\displaystyle \begin{bmatrix}1 & 2 & 3 \\4 & 5 & 6 \\7 & 8 & 0\end{bmatrix}\)\\ 403 | \\determinant& 404 | \begin{tabular}{l} 405 | \verb!\begin{vmatrix}!\\ 406 | \verb!1 & 2 & 3 \\!\\ 407 | \verb!4 & 5 & 6 \\!\\ 408 | \verb!7 & 8 & 0!\\ 409 | \verb!\end{vmatrix}! 410 | \end{tabular}& 411 | \(\displaystyle \begin{vmatrix}1 & 2 & 3 \\4 & 5 & 6 \\7 & 8 & 0\end{vmatrix}\)\\ 412 | determinant & \verb!\det(A)! & $ \det(A)$\\ 413 | trace & \verb!\operatorname{tr}(A)! & $\operatorname{tr}(A)$\\ 414 | dimension & \verb!\dim(V)! & $\dim(V)$\\ 415 | \end{tabular} 416 | 417 | \vfill 418 | ~ 419 | \columnbreak 420 | \ColorSubsection{Number Theory} 421 | \begin{tabular}{lll} 422 | \emph{description} & \emph{command} & \emph{output}\\ 423 | divides & \verb!|! & $|$\\ 424 | does not divide & \verb!\not |! & $\not |$\\ 425 | div & \verb!\operatorname{div}! & $\operatorname{div}$\\ 426 | mod & \verb!\mod! & $\operatorname{mod}$\\ 427 | greatest common divisor & \verb!\gcd! & $\gcd$\\ 428 | ceiling & \verb!\lceil x \rceil! & $\lceil x\rceil$\\ 429 | floor & \verb!\lfloor x \rfloor! & $\lfloor x \rfloor$\\ 430 | \end{tabular} 431 | 432 | 433 | 434 | \ColorSubsection{Logic} 435 | \begin{tabular}{lll} 436 | \emph{description} & \emph{command} & \emph{output}\\ 437 | not & \verb!\sim!, \verb!\lnot!& $\sim$, $\lnot$\\ 438 | and & \verb!\land! & $\land$\\ 439 | or & \verb!\lor! & $\lor$\\ 440 | if...then & \verb!\to! & $\to$\\ 441 | if and only if & \verb!\leftrightarrow! & $\leftrightarrow$\\ 442 | logical equivalence & \verb!\equiv! & $\equiv$\\ 443 | therefore & \verb!\therefore! & $\therefore$\\ 444 | there exists & \verb!\exists! & $\exists$\\ 445 | for all & \verb!\forall! & $\forall$\\ 446 | implies & \verb!\Rightarrow! & $\Rightarrow$, $\implies$\\ 447 | equivalent & \verb!\Leftrightarrow!, \verb!\iff! & $\Leftrightarrow$, $\iff$ 448 | \end{tabular} 449 | 450 | 451 | \ColorSection{Symbols in Text Mode} 452 | 453 | The following symbols do \textbf{not} have to be surrounded by dollar signs. 454 | 455 | \begin{tabular}{lll} 456 | \emph{description} & \emph{command} & \emph{output}\\ 457 | dollar sign & \verb!\$! & \$ \\ 458 | percent & \verb!\%! & \% \\ 459 | ampersand & \verb!\&! & \& \\ 460 | pound & \verb!\#! & \# \\ 461 | backslash & \verb!\textbackslash! & \textbackslash \\ 462 | left quote marks & \verb!``! & `` \\ 463 | right quote marks & \verb!''! & '' \\ 464 | single left quote & \verb!`! & ` \\ 465 | single right quote & \verb!'! & ' \\ 466 | hyphen & \verb!X-ray! & X-ray\\ 467 | en-dash & \verb!pp. 5--15! & pp. 5--15 \\ 468 | em-dash & \verb!Yes---or no?! & Yes---or no? 469 | \end{tabular} 470 | 471 | \begin{tcolorbox}[resourcebox, title=Resources] 472 | \small 473 | \TeX\ Users Group: \url{tug.org}\\ 474 | CTAN: \url{ctan.org}\\ 475 | Detexify: \url{detexify.kirelabs.org}\\ 476 | Mathpix: \url{mathpix.com}\\ 477 | %Comprehensive Symbol List: \url{ctan.org/pkg/comprehensive}\\ 478 | The Not So Short Introduction to \LaTeXe:\\ \hspace*{2em}\url{ctan.org/pkg/lshort}\\ 479 | Mac: MacTeX \url{tug.org/mactex},\\ \hspace*{2em}LaTeXiT \url{www.chachatelier.fr/latexit}\\ 480 | Windows: TeXnicCenter \url{www.texniccenter.org},\\ \hspace*{2em}MiKTeX (\url{miktex.org})\\ 481 | Online: Overleaf \url{www.overleaf.com},\\ \hspace*{2em}SageMath \url{www.sagemath.org}\\ \hspace*{2em}TeX-SX \url{tex.stackexchange.com} 482 | \end{tcolorbox} 483 | \end{multicols} 484 | \end{document} 485 | --------------------------------------------------------------------------------