auto-update(nvim): 2025-01-06 16:06:24
Some checks are pending
Deploy Quartz site to GitHub Pages using Nix / build (push) Waiting to run
Deploy Quartz site to GitHub Pages using Nix / deploy (push) Blocked by required conditions

This commit is contained in:
Youwen Wu 2025-01-06 16:06:24 -08:00
parent 687fb087a4
commit 91cac8ff96
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
3 changed files with 31 additions and 11 deletions

View file

@ -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)

View file

@ -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,

View file

@ -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)