Letractively / sagenb

Automatically exported from code.google.com/p/sagenb
0 stars 0 forks source link

mathjax doesn't typeset a display-style cases environment correctly #57

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If you typeset this in a text cell:

$\int f(x)\, dx = x + c \Rightarrow f(x) = 1$ 

$$f(x) = \begin{cases}x, & x \ge 0\\ -x, & x < 0\end{cases} $$

you get something that looks like this:

<correct integral>

f(x)=
                         <correct case statement>

Somehow the f(x) doesn't end up in the display part in the center.

This might be related to using the jsmath compatibility plugin (see 
https://github.com/jasongrout/simple-python-db-compute/issues/171 and 
http://sage.math.washington.edu/home/jason/mathjaxtest.html for examples).

Original issue reported on code.google.com by jason-go...@creativetrax.com on 7 Oct 2011 at 11:07

GoogleCodeExporter commented 8 years ago
This now works correctly.

Original comment by kcris...@gmail.com on 3 Dec 2014 at 9:13