MakieOrg / MakieTeX.jl

TeX integration in Makie
http://makieorg.github.io/MakieTeX.jl/
MIT License
92 stars 13 forks source link

Typst as LaTeX equation rendering engine [mitex package] #64

Open iagobaapellaniz opened 1 day ago

iagobaapellaniz commented 1 day ago

Would make sense the following pipeline?

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.