20 lines
319 B
Plaintext
20 lines
319 B
Plaintext
|
// 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
|
||
|
})
|
||
|
}
|