Compare commits
No commits in common. "d9b32d86f3b479ffef5bf0c7a0932a8fd907f2cc" and "81ba87ef40691511e44195f130781ece34cd072d" have entirely different histories.
d9b32d86f3
...
81ba87ef40
@ -5,25 +5,12 @@
|
|||||||
title: [Title],
|
title: [Title],
|
||||||
subtitle: none,
|
subtitle: none,
|
||||||
authors: [],
|
authors: [],
|
||||||
date: datetime.today(),
|
date: none,
|
||||||
duration: none,
|
duration: none,
|
||||||
fade: true,
|
|
||||||
handout: false,
|
|
||||||
doc,
|
doc,
|
||||||
) = {
|
) = {
|
||||||
|
|
||||||
//set text(font: "Inria Sans")
|
set text(font: "Inria Sans")
|
||||||
|
|
||||||
let date-text = if date.day() == 1 {
|
|
||||||
date.display("[weekday], [day padding:none]st of [month repr:long] [year]")
|
|
||||||
} else if date.day() == 2 {
|
|
||||||
date.display("[weekday], [day padding:none]nd of [month repr:long] [year]")
|
|
||||||
} else if date.day() == 3 {
|
|
||||||
date.display("[weekday], [day padding:none]rd of [month repr:long] [year]")
|
|
||||||
} else {
|
|
||||||
date.display("[weekday], [day padding:none]th of [month repr:long] [year]")
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
show: clean-theme.with(
|
show: clean-theme.with(
|
||||||
//aspect-ratio: "4-3",
|
//aspect-ratio: "4-3",
|
||||||
@ -33,36 +20,26 @@
|
|||||||
color: rgb("#ea366a"),
|
color: rgb("#ea366a"),
|
||||||
)
|
)
|
||||||
|
|
||||||
if handout {
|
|
||||||
enable-handout-mode(true)
|
|
||||||
}
|
|
||||||
|
|
||||||
let transition = if fade {
|
|
||||||
"fade"
|
|
||||||
} else {
|
|
||||||
"none"
|
|
||||||
}
|
|
||||||
|
|
||||||
if duration != none{
|
if duration != none{
|
||||||
pdfpc.config(
|
pdfpc.config(
|
||||||
duration-minutes: duration,
|
duration-minutes: duration,
|
||||||
default-transition: (
|
default-transition: (
|
||||||
type: transition,
|
type: "fade",
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
pdfpc.config(
|
pdfpc.config(
|
||||||
default-transition: (
|
default-transition: (
|
||||||
type: transition,
|
type: "fade",
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
title-slide(
|
title-slide(
|
||||||
title: [#title],
|
title: [#title],
|
||||||
subtitle: [#subtitle],
|
subtitle: [#subtitle],
|
||||||
authors: ([#authors]),
|
authors: ([#authors]),
|
||||||
date: [#date-text],
|
date: [#date],
|
||||||
)
|
)
|
||||||
|
|
||||||
doc
|
doc
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
title: [Title],
|
title: [Title],
|
||||||
subtitle: [Subtitle],
|
subtitle: [Subtitle],
|
||||||
authors: [Author A, Author B],
|
authors: [Author A, Author B],
|
||||||
date: datetime.today(),
|
date: datetime.today().display("[day].[month].[year]"),
|
||||||
duration: 10, // time in minutes for presentation or counter timer if no field is given
|
duration: 10, // time in minutes for presentation or counter timer if no field is given
|
||||||
doc,
|
doc,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user