index.typ: added

This commit is contained in:
dogeystamp 2023-08-15 21:11:15 -04:00
parent 244d258d8a
commit f1881aa53a
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

19
index.typ Normal file
View File

@ -0,0 +1,19 @@
// templates for online lecture notes
#import "main.typ": gen_preamble, doc_template, lref
#let template(
title: none,
authors: none,
subtitle: [Index of resources],
body
) = {
doc_template({
gen_preamble(
title: title,
authors: authors,
prefix: [_#{subtitle}_],
)
body
})
}