MathTeXEngine.jl
MathTeXEngine.jl copied to clipboard
Height of exponents doesn't change with () vs. \left( \right)
using CairoMakie
fig = Figure(
resolution = (1920, 1080),
fontsize = 50,
figure_padding = (50, 50, 50, 50));
ax1 = Axis(fig[1, 1], title = L"(\frac{A^{xy}}{B})^{1/4}")
ax2 = Axis(fig[1, 2], title = L"\left(\frac{A^{xy}}{B}\right)^{1/4}")
save("exponents.png", fig)
Compare to the same formula in Overleaf:
Hmm I would have to figure what the rule should be to fix that. Currently the baseline of the exponent is at a fixed percentage of the height.