!cue.highlight

A wash drawn across a run of canvas words from one anchor to another.

!cue.highlightMicronodeExplained in MotionAliases:cue.h
On this page
Three frames of a paragraph and a list on the canvas: plain text, then a yellow wash half drawn across the word gradient and a teal one across f(x), then both washes whole.Three frames of a paragraph and a list on the canvas: plain text, then a yellow wash half drawn across the word gradient and a teal one across f(x), then both washes whole.

#Attributes

inImplicit
When the wash is drawn across the words: a step (1), a time on the scene's clock (1.5s) or a step with an offset (1 + 500ms). !cue.h:2{the gradient} marks the words from step 2.
Can be written as shorthand: !cue.highlight:value
Default0
out
When the wash is drawn back off the words, the way it came, in the same forms as in. Left as none, the words stay marked for the rest of the scene.
Defaultnone
in-duration
How long the wash takes to be drawn across the words.
Also written: duration
Default500ms
out-duration
How long the wash takes to be drawn back.
Default500ms
colour
The wash’s colour. Left out, it takes the colour of the words it marks, and is yellow on plain text.
paint
Also written: color
easing
Shape of the draw in and out: smooth or linear.
linearsmooth
Defaultsmooth

#Allowed content

Body { }Inline Chalk content (formatted text, inline math, links, and inline elements)

#Examples

The !cue.h:1{gradient} is the rise over the run.
- !cue.h{!teal{f(x)}}(in: 2; out: 3) climbs
- !cue.h:3{!orange{g(x)}} falls
# Where !cue.highlight{the curves meet}(in: 2 + 500ms; duration: 1s; colour: blue)

#Notes

  • It marks words in a paragraph, heading or list in a scene's detail. In a table cell, an image caption or a mark's label the words are shown unmarked.
  • Presence is untouched: the words are there before and after.
  • Plain words take the wash's text colour while marked; words coloured with a colour micronode keep theirs.
  • Written in a scene's body it is refused: '!cue.highlight' is not allowed in the narrative; colour, highlighting and symbols belong in the canvas.

Last updated