diff --git a/general.typ b/general.typ index a5565d2..6c1a2a8 100644 --- a/general.typ +++ b/general.typ @@ -7,10 +7,13 @@ 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 diff --git a/main.typ b/main.typ index 82338e2..35b835d 100644 --- a/main.typ +++ b/main.typ @@ -92,6 +92,8 @@ #let doc_template( paper-size: "us-letter", title: "", + authors: none, + enable-footer: true, // Content to wrap body, @@ -134,12 +136,12 @@ paper: paper-size, margin: (top: 8%, rest: 10%), footer-descent: 50%, - footer: [ + footer: if enable-footer [ #set text(size: 8pt, fill: luma(80)) #columns(3)[ #align(left)[ © - #author_string() + #author_string(authors: authors) #datetime.today().year() ] #colbreak()