uncover
uncover(self: none, visible-subslides, uncover-cont, cover-fn: auto, resolved-subslides: none)(source)Uncover content in some subslides. Reserved space when hidden (like #hide()).
Does not autocount subslides, see uncover for the version that does.
Example:
#show: simple-theme.with(aspect-ratio: "16-9")
= Slide
#uncover("2-")[Only visible from subslide 2]
Parameters
self : dictionary | none default: none
The slide context. Pass the self of a callback-style slide, or get the functions with utils.methods(self).
visible-subslides : int | array | str | label | dictionary
Specifies in which subslides the content is visible.
Supported formats:
- A single integer, e.g.
3— only subslide 3. - An array, e.g.
(1, 2, 4)— equivalent to"1, 2, 4". - A string with ranges, e.g.
"-2, 4, 6-8, 10-"— subslides 1, 2, 4, 6, 7, 8, 10, and all after 10. - A label, e.g.
<my-waypoint>— shows from that waypoint's start until the next waypoint. - A waypoint marker, e.g.
from-wp(<label>),until-wp(<label>),get-first(<label>), etc.
uncover-cont : content
The content to display when visible.
cover-fn : function | auto default: auto
An optional cover function to use instead of the default cover method from the theme. Useful when using uncover inside external package integrations (e.g. fletcher.hide for fletcher diagrams).
resolved-subslides : int | array | str | label | dictionary | none default: none
Optional, used internally by Touying for parsing the waypoints.
Returns: content