Closed blucin closed 4 months ago
I wanted to create a title_slide with an extra option. I followed the accepted solution shown in #20 , which looks something like this:
title_slide
extra
#import "@preview/touying:0.4.0": * #let s = themes.dewdrop.register( aspect-ratio: "16-9", footer: [Dewdrop], navigation: none, ) #let s = (s.methods.info)( self: s, title: [Title], subtitle: [Subtitle], author: [Authors], date: datetime.today(), institution: [Institution], ) #let (init, slides, touying-outline, alert) = utils.methods(s) #show: init #show strong: alert #let (slide, title-slide, new-section-slide, focus-slide) = utils.slides(s) #show: slides.with(title-slide: false, outline-slide: false) #title-slide(extra: "Extra")
outline-slide: false
I cannot import the outline-slide from utils.slide(s)
outline-slide
utils.slide(s)
#let (slide, title-slide, new-section-slide, focus-slide, outline-slide) = utils.slides(s) #show: slides.with(title-slide: false, outline-slide: false) #title-slide(extra: "Extra") // does not work #outline-slide()
The workaround solution for this is
#let (slide, title-slide, new-section-slide, focus-slide) = utils.slides(s) #show: slides.with(title-slide: false, outline-slide: false) #title-slide(extra: "Extra") // workaround for #outline-slide() #slide(heading(level: 2, s.outline-title) + parbreak() + (s.methods.touying-outline)(self: s, cover: false))
done in 0.4.1.
I wanted to create a
title_slide
with anextra
option. I followed the accepted solution shown in #20 , which looks something like this:title_slide
with theextra
option working.outline-slide: false
shows the outline slide before thetitle_slide
which is not the expected behaviour.Issue
I cannot import the
outline-slide
fromutils.slide(s)
The workaround solution for this is