-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
LaTeXStrings support #8
Comments
Yup, it was a fast and hacky solution. Although I did think about it. Each Another thing is that I would like to detect |
About the longer term suggestion, I think that it is really sensible. With the support of extensions, I think this is the correct way to carry on. |
This package side is fixed by #14, the work needed must be done in LaTeXStrings.jl. |
The current
strip
behavior for aLaTeXString
doesn't seem quite right:A single LaTeXString can, in principle, contain multiple equations delimited by
$
or$$
, e.g.L"$x+y$ and $e^x$ are formulas"
, so the right behavior is to applytexprintf
to each$...$
substring, probably with a regex search/replace.However, in the longer term my suggestion would be to remove the LaTeXString support completely. Instead, LaTeXStrings.jl can make this package an optional dependency, and use it automatically for its multiline/3-arg
show
method fordisplay
if LibTeXPrintf is loaded.The text was updated successfully, but these errors were encountered: