Here's another case that was working in the tinyMCE cell in Sage 4.0, produces the error "Couldn't find \end for begin{cases}" in Sage 4.1.2, but works in a normal (html) cell:
%html For the potential defined by:$$ V(x) = \begin{cases} 0 & 0 \leq x \leq a\cr \infty & x<0, x > a \end{cases}$$ the stationary state solutions are $\psi_n(x) = \sqrt{\frac{2}{a}}\sin {\frac{n \pi x}{a}}$. On Oct 22, 2009, at 9:42 AM, madison.mich...@gmail.com wrote: > I frequently shift-click over a cell and define my problems over the > cell using Latex. On importing my old work sheets most of those look > fine. Arrays that are 1X2 are fine however all of the 2x2 arrays > don't wwork in the html cell. If I include the same Latex code inside > my cell using html it works fine. > > Here is an example that does not work in the html cell, but works fine > in a calculating cell. > > In the text/HTML cell this does not work: > > $ S = \left( \begin{array}{cc} 3.7 & 0.9 \\ 0.9 & 1.4 \end{array} > \right) $. > > > in a calculating cell this does work: > > html(r"$ S = \left( \begin{array}{cc} 3.7 & 0.9 \\ 0.9 & 1.4 \end > {array} \right) $.") > > I think something is broken in the notebook. --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---