main.typ: fix footer
This commit is contained in:
parent
6bf4fae9ce
commit
1520edb9d7
@ -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
|
||||
|
6
main.typ
6
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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user