Alternatives

The alternatives function allows you to display different content per step.

Note
The implementation of alternatives has been borrowed from the Polylux package, with some adaptations to fit the Slydekit framework.
#let alternatives(
  start: 1,
  repeat-last: false,
  ..options
)
Argument
start – default: 1
int

The starting step for the reveal. The first element will be revealed on this step.

Argument
repeat-last – default: false
bool

If set to true, the last element will be repeated for all subsequent steps. If set to false, the last element will only be shown on its designated step.

Argument
..options
list

The list of options to be displayed.

#slide[`#alternatives` example][
  #alternatives[Ann][Bob][Christopher]
  likes
  #alternatives[chocolate][strawberry][vanilla]
  ice cream.
]