auto-update(nvim): 2025-01-06 16:06:24
This commit is contained in:
parent
687fb087a4
commit
91cac8ff96
3 changed files with 31 additions and 11 deletions
|
@ -30,6 +30,7 @@
|
|||
abstract: none,
|
||||
bibliography: none,
|
||||
paper-size: "a4",
|
||||
date: "today",
|
||||
body,
|
||||
) = {
|
||||
set document(title: title, author: author)
|
||||
|
@ -84,17 +85,25 @@
|
|||
align(center)[
|
||||
#set text(font: "Libertinus Serif")
|
||||
#block(text(weight: 700, 26pt, title))
|
||||
#v(1.8em, weak: true)
|
||||
#if author != none [#text(16pt)[by #author]]
|
||||
#v(1.2em, weak: true)
|
||||
|
||||
|
||||
#if subtitle != none [#text(12pt, weight: 500)[#(
|
||||
datetime.today().display("[day] [month repr:long] [year]")
|
||||
subtitle
|
||||
)]]
|
||||
|
||||
#if author != none [#text(16pt)[#smallcaps(author)]]
|
||||
#v(1.2em, weak: true)
|
||||
|
||||
#if date == "today" {
|
||||
datetime.today().display("[day] [month repr:long] [year]")
|
||||
} else {
|
||||
date
|
||||
}
|
||||
|
||||
]
|
||||
|
||||
if abstract != none [
|
||||
#v(2em)
|
||||
#v(2.2em)
|
||||
#set text(font: "Libertinus Serif")
|
||||
#pad(x: 14%, abstract)
|
||||
#v(1em)
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
#import "./dvd.typ": *
|
||||
|
||||
#show: dvdtyp.with(
|
||||
title: "Math 8",
|
||||
title: "Math 8 Course Notes",
|
||||
author: "Youwen Wu",
|
||||
date: "Winter 2024",
|
||||
subtitle: [Taught by Matt Porter],
|
||||
abstract: [
|
||||
In the broad light of day mathematicians check their equations and their
|
||||
proofs, leaving no stone unturned in their search for rigour. But, at night,
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
abstract: none,
|
||||
bibliography: none,
|
||||
paper-size: "a4",
|
||||
date: "today",
|
||||
body,
|
||||
) = {
|
||||
set document(title: title, author: author)
|
||||
|
@ -84,17 +85,25 @@
|
|||
align(center)[
|
||||
#set text(font: "Libertinus Serif")
|
||||
#block(text(weight: 700, 26pt, title))
|
||||
#v(1.8em, weak: true)
|
||||
#if author != none [#text(16pt)[by #author]]
|
||||
#v(1.2em, weak: true)
|
||||
|
||||
|
||||
#if subtitle != none [#text(12pt, weight: 500)[#(
|
||||
datetime.today().display("[day] [month repr:long] [year]")
|
||||
subtitle
|
||||
)]]
|
||||
|
||||
#if author != none [#text(16pt)[#smallcaps(author)]]
|
||||
#v(1.2em, weak: true)
|
||||
|
||||
#if date == "today" {
|
||||
datetime.today().display("[day] [month repr:long] [year]")
|
||||
} else {
|
||||
date
|
||||
}
|
||||
|
||||
]
|
||||
|
||||
if abstract != none [
|
||||
#v(2em)
|
||||
#v(2.2em)
|
||||
#set text(font: "Libertinus Serif")
|
||||
#pad(x: 14%, abstract)
|
||||
#v(1em)
|
||||
|
|
Loading…
Reference in a new issue