# LaTeX video tutorial for beginners (video 3)

Video 1 | Video 2 | Video 3 | Video 4 | Video 5 | Video 6 | Video 7

This seven-part series of LaTeX tutorial videos was first published in 2013; consequently, today's editor interface has changed considerably due to the development of ShareLaTeX and the subsequent merger of ShareLaTeX and Overleaf. However, the video content is still relevant and teaches you the basics of LaTeX—skills and expertise that will apply across all platforms. You don’t need any previous background knowledge, and by the end of these LaTeX guides you will be able to create and write basic LaTeX documents and have the knowledge to start learning how to create more complicated documents. Each video is accompanied by a transcript (listed below the video)—these in-situ transcripts replace the URLs shown at the start of each tutorial.

### Mathematics in LaTeX

**Note:** You can open the project used in the video by following this link.

### Video transcript

In the previous video we looked at splitting up documents into sections and paragraphs. In this video we’re going to be looking at adding basic maths symbols and equations into our documents. Before you start writing mathematical content in LaTeX we recommend you load up the `amsmath`

package, this will give you more options when writing more complicated mathematical documents. To do this simply use the `\usepackage{...}`

command and enter `amsmath`

between the brackets, like this: `\usepackage{amsmath}`

.

To simply write maths inline with the text you are writing, enclose your mathematical content in dollar signs. ShareLaTeX will colour code content in dollar signs in green so you can easily identify your inline mathematics.

To write something in superscript, follow your number or symbol by a caret and then enter the number or symbol you want in the superscript into curly brackets.

To write something in subscript it’s the same process except we use an underscore instead of a caret.

Greek letters are very easy to add in LaTeX. Each letter of the greek alphabet has a corresponding command which is just a backslash followed by the name of the Greek letter in English. If you want to capitalise them, simply start the command with a capital letter.

Pretty much any mathematical function you can think of has a LaTeX command to typeset it. There are numerous lists of these online so I will just introduce a few of them to you now. Firstly trig functions look like this. The square root function like this. Fractions can be easily entered using the `\frac`

command. And there are also numerous functions for writing algebraic statements like this subset command.

Often you don’t want to write mathematics inline with the text, particularly if you are writing more complex equations. Therefore to write an equation or formula on a new line you can use the begin equation structure. Here’s an example of this structure implementing a basic polynomial and an example demonstrating a summation symbol. You will notice that LaTeX has automatically numbered these equations and printed their corresponding numbers in brackets on the right hand side of the page. If you don’t want your equation to be numbered you can add an asterisk immediately after the word equation in both the begin and end commands. Here’s an example using a definite integral.

This concludes our discussion on mathematics in LaTeX. In the next video we’ll look at inserting images into our documents.

Video 1 | Video 2 | Video 3 | Video 4 | Video 5 | Video 6 | Video 7

## Overleaf guides

- Creating a document in Overleaf
- Uploading a project
- Copying a project
- Creating a project from a template
- Using the Overleaf project menu
- Including images in Overleaf
- Exporting your work from Overleaf
- Working offline in Overleaf
- Using Track Changes in Overleaf
- Using bibliographies in Overleaf
- Sharing your work with others
- Using the History feature
- Debugging Compilation timeout errors
- How-to guides

## LaTeX Basics

- Creating your first LaTeX document
- Choosing a LaTeX Compiler
- Paragraphs and new lines
- Bold, italics and underlining
- Lists
- Errors

## Mathematics

- Mathematical expressions
- Subscripts and superscripts
- Brackets and Parentheses
- Matrices
- Fractions and Binomials
- Aligning Equations
- Operators
- Spacing in math mode
- Integrals, sums and limits
- Display style in math mode
- List of Greek letters and math symbols
- Mathematical fonts

## Figures and tables

- Inserting Images
- Tables
- Positioning Images and Tables
- Lists of Tables and Figures
- Drawing Diagrams Directly in LaTeX
- TikZ package

## References and Citations

- Bibliography management with bibtex
- Bibliography management with natbib
- Bibliography management with biblatex
- Bibtex bibliography styles
- Natbib bibliography styles
- Natbib citation styles
- Biblatex bibliography styles
- Biblatex citation styles

## Languages

- Multilingual typesetting on Overleaf using polyglossia and fontspec
- Multilingual typesetting on Overleaf using babel and fontspec
- International language support
- Quotations and quotation marks
- Arabic
- Chinese
- French
- German
- Greek
- Italian
- Japanese
- Korean
- Portuguese
- Russian
- Spanish

## Document structure

- Sections and chapters
- Table of contents
- Cross referencing sections and equations
- Indices
- Glossaries
- Nomenclatures
- Management in a large project
- Multi-file LaTeX projects
- Hyperlinks

## Formatting

- Lengths in LaTeX
- Headers and footers
- Page numbering
- Paragraph formatting
- Line breaks and blank spaces
- Text alignment
- Page size and margins
- Single sided and double sided documents
- Multiple columns
- Counters
- Code listing
- Code Highlighting with minted
- Using colours in LaTeX
- Footnotes
- Margin notes

## Fonts

## Presentations

## Commands

## Field specific

- Theorems and proofs
- Chemistry formulae
- Feynman diagrams
- Molecular orbital diagrams
- Chess notation
- Knitting patterns
- CircuiTikz package
- Pgfplots package
- Typing exams in LaTeX
- Knitr
- Attribute Value Matrices

## Class files

- Understanding packages and class files
- List of packages and class files
- Writing your own package
- Writing your own class
- Tips