`$$ \LaTeX \text{ Overview} $$` --- ## Today you will learn: - Why LaTeX is the standard for academic writing in Computer Science - How to professionally typeset relational algebra and calculus queries using LaTeX --- ## WYSIWYG vs LaTeX - WYSIWYG: What you see is what you get - Pros: Intuitive - LaTeX: Markup language for typesetting documents - Pros: Math formulae, styles, citations, version-control --- ## LaTeX Hello World ``` \documentclass{article} \title{Hello World} \author{Peter Story} \date{\today} \begin{document} \maketitle \section{Introduction} $$ E = mc^2 $$ \end{document} ``` ---  --- ## Rendering LaTeX - [Overleaf](https://www.overleaf.com) - [TeX Distributions](https://www.latex-project.org/get/) - [MathJax](https://www.mathjax.org) - Equation editors in Word, Pages, etc. --- ## Demo Explain the written assignment's source code --- ## LaTeX Tips - Write complex formulae by hand before writing LaTeX - Use [Detexify](https://detexify.kirelabs.org/classify.html) to identify symbol names - Syntax errors are easier to find if you commit often - Binary search to debug tricky issues