William Stein wrote: > > That is a good idea. > > This could be implemented by having a button in the palette on the top to > insert > a new "math" cell. The cell itself could just be some special HTML > (maybe with a comment) that gets post-processed by Sage and turned > into an input cell. See the attached "Picture 1" -- that what it > might look like right after one clicks the "insert a new math cell" > button. Then "Picture 2" is what it looks like after one clicks the > save button.
My guess is that it would be much easier to implement the earlier proposal: a ctrl-; or something would split the text cell at the cursor position and create a new code cell in the middle. This way, we don't have to duplicate all of the functionality improvements that are going into code cells, like tab completion, etc. How about this: If you are in a text cell: * ctrl-; splits the text cell, puts in a new math cell, and focuses on the math cell. If you are in a math cell: * ctrl-; splits the math cell, focusing on the second math cell * ctrl-shift-; splits the math cell, inserts a new text cell between them, and focuses on the text cell. I actually find that last case one that comes up often for me. I'm writing code for my class as a sequence of steps, then I want to explain it. So I would just go to a place in the code I'd like to put in a note, press ctrl-shift-;, and type my note. Jason --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
