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
\label
and thehyperref
package.
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 ZIP
option.
- Go to Overleaf.
- Log in or create an account.
- From the
New Project
dropdown, selectUpload project
. - Upload the zip file. (Or, if your browser auto-unzipped the github repository to a folder, click
Blank Project
and 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.tex
files 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.tex
in thelecture-notes
directory. Read the compiled pdf and the source-code of thatmain.tex
. - Compile the
main.tex
in thehandout
directory. Read the compiled pdf and fill-out the source-code of thatmain.tex
as you go. - Compare your completed
main.tex
in thehandout
directory to the solutionmain.tex
in thehandout-solution
directory.