typst-templates/sfd.typ

22 lines
372 B
Plaintext
Raw Normal View History

2023-07-06 20:03:50 -04:00
// templates for online lecture notes
2023-08-08 21:23:42 -04:00
#import "main.typ": gen_preamble, doc_template, mono_font, lref
2023-07-06 20:03:50 -04:00
#let template(
title: none,
authors: none,
lecture_url: none,
2023-08-08 21:23:42 -04:00
class: [Lecture notes],
2023-07-06 20:03:50 -04:00
body
) = {
doc_template({
2023-08-08 21:23:42 -04:00
gen_preamble(
title: title,
authors: authors,
prefix: [_#{class}_],
suffix: link(lecture_url)
)
2023-07-06 20:03:50 -04:00
body
})
}