A brief
The tutorial consists of a 30 minute lecture and a fill-in-the-blank handout for students to complete.
The lecture covers the fundamentals needed to start using LaTeX, such as
- What LaTeX is.
- What Overleaf is.
- How a basic LaTeX document is organized (preamble, title, content).
- What the different preamble commands do (
\documentclass,\usepackage, title and table of content commands). - How to write text and lists.
- How to write math.
- How to add figures and tables.
- How to link different parts of the document with
\labeland thehyperrefpackage.
In the handout, the students are given a chance to try these basic commands and ask questions as they go.
- Clone or download this entire GitHub repository to your computer. The easiest way to do this is do click on the green
<> Code ▼dropdown-list button and select thedownload ZIPoption.
- Go to Overleaf.
- Log in or create an account.
- From the
New Projectdropdown, selectUpload project. - Upload the zip file. (Or, if your browser auto-unzipped the github repository to a folder, click
Blank Projectand upload the entire folder to that blank project).
- In the now opened overleaf project, you should have a file explorer on the left-hand side with the files and folders shown below. To compile a tex file, click on one of the
main.texfiles and hit recompile or press <ctrl+enter>.
.
├── README.md
├── github.png
├── handout
│ ├── dog.jpg
│ └── main.tex <--
├── handout-solution
│ ├── dog.jpg
│ └── main.tex <--
├── lecture-notes
│ ├── dog.jpg
│ └── main.tex <--
└── overleaf.png- Compile the
main.texin thelecture-notesdirectory. Read the compiled pdf and the source-code of thatmain.tex. - Compile the
main.texin thehandoutdirectory. Read the compiled pdf and fill-out the source-code of thatmain.texas you go. - Compare your completed
main.texin thehandoutdirectory to the solutionmain.texin thehandout-solutiondirectory.

