teximg(L"E = m c^2", position=(0, 0), engine=:latex) # [Default] Render the equation using LaTeX/Tectonic
teximg(L"E = m c^2", position=(0, 0), engine=:typst) # Render the equation using Typst
I mean, a LaTeX equation could be compiled with
#set page(
height: auto,
width: auto,
margin: 0pt
)
#import "@preview/mitex:0.2.4": *
#mitex(`
E = m c^2
`)
The package mitex does a nice job on translating LaTeX text and equations.
Would make sense the following pipeline?
I mean, a LaTeX equation could be compiled with
The package
mitex
does a nice job on translating LaTeX text and equations.