跳到主要内容

alternatives

#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.

Parameters

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.

Returns: content