Cover mode
Covered content (using #uncover
, #one-by-one
, #line-by-line
, or
#{list|enum|terms}-one-by-one
) is completely invisible, by default.
You can decide to make it visible but less prominent using the optional mode
argument to each of those functions.
The mode
argument takes two different values: "invisible"
(the default) and
"transparent"
.
(This terminology is taken from LaTeX beamer as well.)
With mode: "transparent"
, text is printed in a light gray.
Use it as follows:
#uncover(3, mode: "transparent")[abc]
#one-by-one(start: 2, mode: "transparent")[def ][ghi]
#line-by-line(mode: "transparent")[
- jkl
- mno
]
#enum-one-by-one(mode: "transparent", tight: false)[pqr][stu][vwx]
resulting in
Warning! The transparent mode really only wraps the covered content in a
#text(fill: gray.lighten(50%)[...]
so it has only limited control over the actual display. Especially
- text that defines its own color (e.g. syntax highlighting),
- visualisations,
- images
will not be affected by that. This makes the transparent mode only somewhat useful today. (Relevant GitHub issue)