Currently, in Pluto, a LaTeXString is wrapped with \text{} before being passed to MathJax. This lets LaTeXStrings with mixed text and math like the L"an equation: $1 + \alpha^2$" from your readme render properly in Pluto, but causes issues for other packages that use this MIME type targeting MathJax. You can see discussion here: JuliaPluto/Pluto.jl#488.
Maybe instead, Base.show(io::IO, ::MIME"text/latex", s::LaTeXString) could do this, ensuring that LaTeXStrings with mixed text and math get rendered properly in Pluto (and others that use MathJax on the text/latex MIME type).
Currently, in Pluto, a
LaTeXStringis wrapped with\text{}before being passed to MathJax. This letsLaTeXStrings with mixed text and math like theL"an equation: $1 + \alpha^2$"from your readme render properly in Pluto, but causes issues for other packages that use this MIME type targeting MathJax. You can see discussion here: JuliaPluto/Pluto.jl#488.Maybe instead,
Base.show(io::IO, ::MIME"text/latex", s::LaTeXString)could do this, ensuring thatLaTeXStrings with mixed text and math get rendered properly in Pluto (and others that use MathJax on thetext/latexMIME type).