Question: How to insert new paragraph on its own "group" and not inside an existing "group"

March 09 2014 nm 670
1

Using worksheet mode. It is a strugle to add a new paragraph on its own group so I can document some code.

I open new worksheet, and type a Maple command. say

x:=10; and hit return.

Now the screen looks like

------
|>x:=10;
|                        x:=10
----
|>     curser is here now    (1)

Now I want to make new paragraph, on its own group, before I type new command. (I need it on its own group, to fix another Maple latex export issue) i..e I want it to look like

------
|>x:=10;
|                        x:=10
----
|   this is pargraph I wanted to create
-----
|>     curser is here now    (2)

However, this is not possible using one command.  when in (1) above, if I tell Maple to insert paragraph->Before cursor, it does this:

------
|>x:=10;
|                        x:=10
----
|  it created a paragraph- here, but this is still in the same group as (1) below
|>     curser is here now    (1)

Only way I found to do it is this: create an execution group before the cursor. Then go back to that execution group. Then do insert paragraph->Before cursor, then delete the execution group just created, leaving the paragraph on its own group:

Step 1

------
|>x:=10;
|                        x:=10
----
|> create this as execution group
----
|>

Step 2

------
|>x:=10;
|                        x:=10
----
|   create paragraph here
|>
----
|>

step 3, delete the execution group, leaving the paragraph

------
|>x:=10;
|                        x:=10
----
|   leaving paragraph on its own here
----
|>

there got to be a simpler way? I am using Maple 18 on windows 7. (64 bit)

 

Please Wait...