Kolaru / MathTeXEngine.jl

A latex math mode engine in pure Julia.
MIT License
97 stars 19 forks source link

subscript on large parenthesis not at the bottom #93

Open garrekstemo opened 1 year ago

garrekstemo commented 1 year ago

If you have a fraction surrounded by parentheses, sometimes you want to put a subscript on the right parenthesis. In MathTexEngine, the subscript appears vertically centered instead of at the bottom.

I'm trying this in Makie.jl:

using GLMakie

f = Figure()
display(f)
Label(f[1, 1], L"\left( \frac{dy}{dx} \right)_0")

MathTexEngine in GLMakie

Screenshot 2022-11-26 at 13 17 23

LaTeXiT application for macOS

Screenshot 2022-11-26 at 13 17 45