On Mon, Mar 23, 2009 at 11:07 AM, Jose Guzman <[email protected]> wrote:
>
> Stan Schymanski wrote:
>> In this context, I'm having trouble inserting a calculation cell before
>> a html cell or between two html cells in Sage 3.4. The Alt-Enter or
>> Ctrl-Enter methods don't not work in html cells. If I want to insert a
>> calculation cell before an html cell, I can't just press Alt-Enter in
>> the foregoing calculation cell, because this creates a new calculation
>> cell AFTER the html cell. Is there another way?
>>
>> Cheers,
>> Stan
>>
>> kcrisman wrote:
>>
>>> Dear Kwankyu,
>>>
>>>
>>>
>>>> If I write and evaluate in a cell in a worksheet and if there are
>>>> already cells below the one which I am evaluating, then the cursor
>>>> moves into the cell just below instead of creating a new cell for next
>>>> input. Is this behavior preferable? This is annoying at least to me.
>>>>
>>>>
>>> One of the designers can answer for the technical reasons for this
>>> design decision, but let me tell you it is very useful when you are
>>> running through a worksheet you have already created, but changing a
>>> few things (e.g. some initial constant defined at the top)!
>>>
>>> But actually, if you click on "Help" you will see that Alt-Enter
>>> actually does what you require, while Ctrl-Enter splits the cell and
>>> evaluates both things. I didn't know either of these until I looked
>>> just now, and will definitely use them now too.
>>>
>>> Enjoy!
>>>
>>> - kcrisman
>>>
>>>
>>>
>>
>>
> I found this problem very annoying too. This is a purely pragmatic
> solution, but what I do is to go to the edit button and change the
> source code to add a new cell just typing {{{id=X \\\}}} where X is an
> integer not present in my worksheet.
>
> Hope it helps
You should be able to put a new cell in just by typing
{{{
}}}
Note that (1) the "id=X" thing isn't needed at all, and (2) it's three
*forward* slashes, not three backward slashes like it says above, but
those aren't needed either.
William
--~--~---------~--~----~------------~-------~--~----~
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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---