touying-mitex
touying-mitex(block: true, numbering: none, supplement: auto, mitex, body)(source)Touying can integrate with mitex to display math equations.
You can use #touying-mitex to display math equations with pause and meanwhile.
Example:
#touying-mitex(mitex, `
f(x) &= \pause x^2 + 2x + 1 \\
&= \pause (x + 1)^2 \\
`)
Parameters
mitex : function
The mitex function. You can import it by code like #import "@preview/mitex:0.2.6": mitex.
block : bool default: true
Whether the equation is a block element. Default is true.
numbering : none | str default: none
The numbering of the equation. Default is none.
supplement : auto | str default: auto
The supplement of the equation. Default is auto.
body : string | content | function
The content of the equation. It should be a string, a raw text, or a function that receives self as an argument and returns a string.
Returns: content