alternatives
alternatives(start: auto, repeat-last: true, position: bottom + left, stretch: false, at: none, ..args)(source)#alternatives is able to show contents sequentially in subslides.
Example: #alternatives[Ann][Bob][Christopher] will show "Ann" in the first subslide, "Bob" in the second subslide, and "Christopher" in the third subslide.
You can also use waypoint labels via the at parameter:
#alternatives(at: (<first>, <second>))[Content A][Content B]
start : int default: auto
The starting subslide number. Default is auto.
repeat-last : bool default: true
Whether the last alternative should persist on all remaining subslides. Default is true.
position : alignment default: bottom + left
The alignment of alternatives within the reserved space. Default is bottom + left.
stretch : bool default: false
Whether to stretch all alternatives to the maximum width and height. Default is false. Important: If you use a zero-length content like a context expression, you should set stretch: false.
at : none | array default: none
An array of waypoint labels (or waypoint markers like get-first(<label>)) or subslide specs, one per body. When provided, each body is mapped to the corresponding waypoint range. This is an alternative to the sequential start-based numbering.
Returns: content