On Jan 22, 10:39 am, Jason Grout <jason-s...@creativetrax.com> wrote: > On 1/22/11 9:06 AM, kcrisman wrote: > > > > > > > Take your favorite Sage worksheet. Go into TinyMCE. Write a long > > sentence, preferably one that has a long sequence of formulas like $ > > \sum_{i=1}^{k+1} i=\sum_{i=1}^k i+(k+1)=\frac{k(k+1)}{2}+(k+1)=(k > > +1)\left(\frac{k}{2}+1\right)=\frac{(k+1)(k+2)}{2},$, and make sure to > > put the formulas in such a place that the formula is toward the end of > > a line once you finish the text cell. > > > You will see that the jsmath rendering will not split the LaTeX across > > lines, which we know. But rather than going to the *next* line and > > just leaving an empty space on the right of the first line, it keeps > > an overflow on the first line, and then leaves a corresponding empty > > space on the *left* of the second line. > > > It's actually a little fun to zoom in and out if your browser supports > > that, but really, really annoying to have it happen in class. > > Especially on the first day, when you're trying to show how convenient > > Sage is. (It's not as bad as the 'mysterious moving text' bug, of > > course.) > > > So will upgrading to MathJax fix this? I realize that $$...$$ is a > > workaround, but in the long run that is not always the best way to > > incorporate medium-length formulas - because it all depends on where > > the line ends in the font size. > > > I understand that it probably can never be smart enough to do line > > breaks like "real" LaTeX, but at least it would be nice for it to > > compute whether there is enough space left in the browser window and > > move to the next line if not. > > You can try it out here, for example: > > http://kenschutte.com/mathjax > > I tried searching for a while, and it didn't look like mathjax supports > automatic line wrapping.
This even happens on the latest Loci article the MAA is plugging in their emails. Looks quite unprofessional. > > I understand that it probably can never be smart enough to do line > > breaks like "real" LaTeX, but at least it would be nice for it to > > compute whether there is enough space left in the browser window and > > move to the next line if not. Is this possible at all? I mean in theory - for instance, something one could implement in TinyMCE? See also http://www.mail-archive.com/sage-support@googlegroups.com/msg15256.html for the last time I asked about this. Why does Google find this, but not the actual Google groups archive? Sigh. -- 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