Skip to content

jskherman/jsk-lecnotes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

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.

Preview

See example PDF in the Releases section.

Usage

  1. Download a copy of the lib.typ file and example.typ.
  2. Copy these files to your project's root directory.
  3. Rename example.typ to main.typ and customize it to get started using the template.

Notes

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.