Skip to main content

touying-slide-wrapper

touying-slide-wrapper(fn)(source)

Wrapper for a slide function to make it can receive self as an argument.

Notice: This function is necessary for the slide function to work in Touying.

Example:

#let slide(..args) = touying-slide-wrapper(self => {
touying-slide(self: self, ..args)
})
Parameters

fn : function

The function that will be called with an argument self like self => { .. }.

Returns: content