This is a lecture notes template that uses Typst to generate a PDF document. This is based off of Sara Venkatraman's lecture notes template in LaTeX.
There are some custom functions that are defined in the lib.typ
file that are used to add some markup. Additionally, here is a link to Typst snippets files for VS Code and Vim/Neovim converted from Gilles Castel's LaTeX snippets to make writing math in Typst more convenient.
See example PDF in the Releases section.
- Download a copy of the
lib.typ
file andexample.typ
. - Copy these files to your project's root directory.
- Rename
example.typ
tomain.typ
and customize it to get started using the template.
Warning
If you plan to split your document into multiple files for organization, you may need to add #import "/lib.typ": *
to the top of each file for certain functions to work such as blockquote()
or iboxed()
.
For example, assuming you have a /content/chapter1.typ
file and a /lib.typ
file at the project root, you would need to add #import "/lib.typ": *
to the top of the chapter file.