typst-templates/general.typ

22 lines
396 B
Plaintext
Raw Permalink Normal View History

// general document
2024-03-30 15:51:39 -04:00
#import "main.typ": gen_preamble, doc_template, lref, source_code, status
#let template(
title: none,
authors: none,
2023-08-08 21:23:42 -04:00
suffix: none,
prefix: none,
2023-12-18 20:36:00 -05:00
enable-footer: true,
body
) = {
2023-12-02 20:47:28 -05:00
doc_template(
title: title,
2023-12-18 20:36:00 -05:00
authors: authors,
enable-footer: enable-footer,
2023-12-02 20:47:28 -05:00
{
2023-08-08 21:23:42 -04:00
gen_preamble(title: title, authors: authors, suffix: suffix, prefix: prefix)
body
})
}