index.typ: added
This commit is contained in:
parent
244d258d8a
commit
f1881aa53a
19
index.typ
Normal file
19
index.typ
Normal 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
|
||||
})
|
||||
}
|
Loading…
Reference in New Issue
Block a user