-
-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xrightleftharpoons not rendered in VSCode #637
Comments
I can confirm it doesn't render in VSCode, but this isn't a case I've ever tested before. Given Catalyst is generating correct Latex code, and last I checked display works in Documenter, Pluto, and Jupyter notebooks, I would think this is an issue with the output Latexify is generating via calling render. It looks like it uses Mathjax there, so perhaps it isn't loading any packages beyond the base Mathjax install? |
Looks like Mathjax requires loading mhchem for this command. We custom load it when we detect |
Actually, it looks like just adding a |
OK, with #638 these both work: using Catalyst, Latexify
rn = @reaction_network begin
(a,b), 0 <--> X
end
render(latexify(rn; mathjax = true)) or using Catalyst, Latexify
# this sets a persistent global variable that will work for the current session
Catalyst.LATEX_DEFS.mathjax = true
rn = @reaction_network begin
(a,b), 0 <--> X
end
render(latexify(rn)) |
Fixed on 13.2.1. |
I'm on Catalyst 13.2.0, and reactions are not correctly rendered in VSCode. MWE
The
latexify
output renders correctly herebut in VSCode I cannot render
\xrightleftharpoons
. Is it an issue on my side, or something else? I have been using Catalyst in the past and I don't remember having this problem. Is there a quick fix to this?The text was updated successfully, but these errors were encountered: