Short or long titles

Bookly provides the #short-or-long function to manage long and short versions of a title or a caption.

#short-or-long(short, long)
Argument
<short>string|content

Short version, displayed in the list of figures, the list of tables and the running headers.

Argument
<long>string|content

Long version, displayed in the main text.

Usage

#figure(
  rect(),
  caption: short-or-long("Short caption", "Long caption"),
)

See the list of figures for the short caption.