Skip to content

Commit ff4ebb9

Browse files
committed
fix: less bastel slide number fix
1 parent c8b30d5 commit ff4ebb9

File tree

2 files changed

+6
-16
lines changed

2 files changed

+6
-16
lines changed

presentation/presentation.typ

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -297,21 +297,6 @@ Initially used the pelletier problems, which are easy but are very broad.
297297
) <comparison_counter_sat>]
298298
)
299299

300-
#show: lmu-theme.with(
301-
aspect-ratio: "16-9",
302-
footer: self => self.info.author,
303-
header-right: none,
304-
footer-progress: false,
305-
footer-right: none,
306-
config-info(
307-
title: [Q - A Superposition Prover],
308-
subtitle: [Master Practical: Automated Theorem Provers],
309-
author: [Henrik Böving, Daniel Soukup],
310-
date: target_date.display("[day].[month].[year]"),
311-
institution: text(14pt, smallcaps("Ludwig-Maximilians-Universität München")),
312-
logo: image("lmu-sigillium.svg", height: 25%),
313-
),
314-
)
315300
#show: appendix
316301

317302
= Bibliography

presentation/theme.typ

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,12 @@
168168
),
169169
header-right: self => self.info.logo,
170170
footer: none,
171-
footer-right: context utils.slide-counter.display() + " / " + utils.last-slide-number,
171+
footer-right: self => context{
172+
let curr = utils.slide-counter.display()
173+
let last = utils.last-slide-counter.display()
174+
if curr > last []
175+
else [#utils.slide-counter.display() / #utils.last-slide-number]
176+
},
172177
footer-progress: true,
173178
..args,
174179
body,

0 commit comments

Comments
 (0)