typst-templates/general.typ
2023-12-18 20:36:00 -05:00

22 lines
375 B
Plaintext

// general document
#import "main.typ": gen_preamble, doc_template, lref
#let template(
title: none,
authors: none,
suffix: none,
prefix: none,
enable-footer: true,
body
) = {
doc_template(
title: title,
authors: authors,
enable-footer: enable-footer,
{
gen_preamble(title: title, authors: authors, suffix: suffix, prefix: prefix)
body
})
}