2
1

ADD fade transition choice

This commit is contained in:
Rémi Heredero 2024-06-19 10:29:58 +02:00
parent 6732c64d5f
commit d9b32d86f3
Signed by: Klagarge
GPG Key ID: 3CBAC2C6CD1E8807

View File

@ -7,6 +7,7 @@
authors: [],
date: datetime.today(),
duration: none,
fade: true,
handout: false,
doc,
) = {
@ -36,21 +37,27 @@
enable-handout-mode(true)
}
let transition = if fade {
"fade"
} else {
"none"
}
if duration != none{
pdfpc.config(
duration-minutes: duration,
default-transition: (
type: "fade",
type: transition,
)
)
} else {
pdfpc.config(
default-transition: (
type: "fade",
type: transition,
)
)
}
title-slide(
title: [#title],
subtitle: [#subtitle],