`caption` parameter for math equations.
Author: ertugruluyar-githubCreated Mar 21, 2025Updated Sep 27, 2026
Labelsfeature requestmath
Description
In list of equations with outline(target: math.equation), there is no caption to show.
Provide caption parameter:
#math.equation(capiton: [Sum function], $sum_(k=1)$)AND (
$ sum_(k=1) #[Sum function] $OR (
$ sum_(k=1) [[Sum function]] $)
Use Case
In list of equations with outline(target: math.equation), there is no caption to show. And placing equations inside figure function a bit nonsense. Also, we have to hide the caption and set the actual equation numbering in caption too. But user could omit the caption, I think its default behavior should be not showing the caption as opposed to figure() function.
See https://github.com/typst/typst/issues/4868
Source: typst/typst