
Producing Slides and an Article Handout with Typst
A few days ago, I asked for advice about replicating my LaTeX teaching workflow with Typst. I currently use Beamer for lecture slides with speaker notes. The LaTeX source file also has more detailed notes that can be compiled as an article with beamerarticle and given to students as a handout. So far, I've been impressed with Touying for presentations in Typst, but I hdn't found anything that could do what beamerarticle allows.
With the help of Claude Code, I managed to make a custom Touying theme that closely replicates the custom Beamer theme that I use when making my lecture slides and handouts. It uses a common content file to produce both a slide presentation and a detailed handout in article form. The handout can contain notes that are not included in the slides.
I don't think the workflow is quite as convenient as producing slides and handouts with Beamer using Org mode in Emacs. So, I'm not sure if I'll stop using Beamer.
Anyway, the code is here on Github. Feel free to use it and, hopefully, improve it.