跳到主要内容

from-wp

from-wp(wp)(source)

Create a "from-wp" range starting at a waypoint (inclusive to end of slide).

Returns a range marker visible from the waypoint's first subslide onward. Does not create a waypoint — the referenced label must be defined elsewhere (via #waypoint() or an implicit waypoint in #uncover, etc.).

Can be composed with prev-wp / next-wp: from-wp(next-wp(<my-label>)) starts at the waypoint after <my-label>.

Combine with until-wp in an array for bounded ranges: (from-wp(<a>), until-wp(<b>)) — visible from <a> to just before <b>.

Parameters

wp : label | dictionary

A waypoint label or a shifted reference (e.g. next-wp(<label>)).

Returns: dictionary