JonyEpsilon / gorilla-repl

A rich REPL for Clojure in the notebook style.
http://gorilla-repl.org
MIT License
888 stars 104 forks source link

LaTeX rendering is not working for certain equations #284

Closed ghost closed 5 years ago

ghost commented 6 years ago
When @@a \ne 0@@, there are two solutions to @@\(ax^2 + bx + c = 0\)@@ and they are
$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$

$$F_{n}=F_{n-1}+F_{n-2}$$

The last one does not render. The first sentence works.


Screenshot

gorilla-repl-latex-issue
gscacco commented 5 years ago

The problem is the underscore symbol. The following works:

$$F_{n} = F_{n-1}+F_{n-2}$$

benfb commented 5 years ago

@gscacco Thanks for covering this!