What happens is that on the third slide all three items move slightly down. Why is that and how can I get rid of it? It happens in all touying themes and also inside more complex constructions.
The issue is not with explicit par.spacing, but matching par.spacing and list.spacing.
config-common(
slide-fn: slide.with(
setting: body => {
// Fix moving list items when using pause
set par(spacing: spacing) if fix-pause
set list(spacing: spacing) if fix-pause
body
},
),
),
This depends on the values of spacing and fix-pause, right? In which context are these defined? I would ideally want to put this in my template, which was derived from university. I want to put it here, but it does not seem to work.
show: touying-slides.with(
config-page(
paper: "presentation-" + aspect-ratio,
header-ascent: 0em,
footer-descent: 0em,
margin: (top: 2em, bottom: 1.25em, x: 2em),
),
config-common(
// slide-fn: slide,
slide-fn: slide.with(
setting: body => {
// Fix moving list items when using pause
set par(spacing: 0.65em)
set list(spacing: 0.65em)
body
},
),
P.S. How do I get typst syntax highlighting in this forum?