You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using MathJaxSwift to convert LaTex to SVG and then render in a macOS app.
I have one problem where the display property of ConversionOptions does not appear to be respected for inline equations. This is the output I get when setting display to false. It's the same if I don't set display or set to true:
I'd expect inline rendering more like this (from mathjax.org):
I've double-checked the SVG output is rendering correctly, so it seems like the tex2svg() function is not respecting the ConversionOptions for some reason.
I'm using MathJaxSwift to convert LaTex to SVG and then render in a macOS app.
I have one problem where the
display
property ofConversionOptions
does not appear to be respected for inline equations. This is the output I get when settingdisplay
tofalse
. It's the same if I don't setdisplay
or set totrue
:I'd expect inline rendering more like this (from mathjax.org):
I've double-checked the SVG output is rendering correctly, so it seems like the
tex2svg()
function is not respecting theConversionOptions
for some reason.Notes:
I'm initializing MathJax like this:
And calling
tex2svg
like this:The input I'm using in the above examples is below. My app parses the equations and removes the
$
delimiters before passing totex2svg()
.The text was updated successfully, but these errors were encountered: