jump-dev / SumOfSquares.jl

Sum of Squares Programming for Julia
Other
115 stars 24 forks source link

Rendering the underscore in the online documentation #256

Closed hurak closed 1 year ago

hurak commented 2 years ago

In the documentation in the section with an example on Lyapunov function search (but perhaps also elsewhere) I encountered a possibly confusing LaTeX-based math rendering. Namely, when an underscore is followed by a left square bracket: _[. For example, right after the code

@variable(model, V, Poly(monos))

Obviosly the underlying LaTeX rendering engine interprets the underscore preceeding the left square bracket as a command to render the bracket as a lower index.

blegat commented 1 year ago

Thanks for letting us know about this issue. It was broken by https://github.com/jump-dev/JuMP.jl/pull/2822

blegat commented 1 year ago

Should be fixed by https://github.com/JuliaAlgebra/MultivariatePolynomials.jl/pull/223