Working in Worksheet Mode
Worksheet mode allows you to quickly perform computations, while having access to the input palettes, context menus, and text input functions such as document blocks. In worksheet mode:
The input prompt is displayed.
Math input can be entered as standard 2-D math or Maple Input (1-D math). See 2-D Math.
Command completion is supported.
You can insert images, plots, tables, sketches, and other objects.
Starting in Worksheet Mode
Saving Worksheets
Creating Worksheets within a Maple Workbook
Creating Document Blocks in Worksheets
Execution Groups
Executing 2-D Math in Worksheet Mode
By default, Maple opens in Document mode.
To open a new file in Worksheet mode do one of the following:
From the File menu, click the arrow beside New, and then select Worksheet Mode.
From the quick access toolbar, click the arrow beside New, and then select Worksheet Mode.
To change the default to always open new files in Worksheet mode:
From the File menu, click Options ( ). The Options dialog opens.
Within the Interface tab, set the default format for new worksheets to Worksheet.
Click Apply to Session, Apply Globally, or Cancel.
Maple Worksheets are saved as .mw files. When you open a file that is a Maple worksheet, Maple opens automatically in Worksheet mode.
To create a new workbook worksheet:
In the Workbook tab, right-click anywhere inside the Navigator palette.
From the context menu, select New, then select Worksheet in Workbook.
Alternatively, on the Workbook tab of the ribbon, in the Add group, click Document to Workbook.
Maple Documents are a series of Document Blocks, but Worksheets can also contain document blocks, along with Maple code. To create a document block, on the Insert tab, click Document Block ( ).
You can collapse and expand document blocks to hide or view the underlying code.
To hide the code behind a Document:
As a visual aid, ensure that the Markers ( ) feature on the View tab is activated. Document block markers are displayed in the left sidebar.
Place the cursor in a document block.
On the Edit tab, click Show ( ), and then ensure that Show Command is toggled off.
To view the code again, select Show Command.
You can insert a new command prompt from the Insert tab. You can choose to insert an execution group before or after the cursor. See Insert Execution Group for details.
More information about execution groups is at Structure Worksheets with Execution Groups.
You execute 2-D math in Worksheet mode by using either of the following methods:
Press Enter. This evaluates and displays results on the next line.
On the ribbon, from the Home tab, click Execute Selection ( ).
Command Completion
Begin entering a command in the worksheet.
To list all Maple packages, commands, functions, and symbols (2-D math mode) that match the entered text, on the Tools tab, click Complete Command ( ), or use the shortcut key:
Esc, Mac, Windows, and Linux
Ctrl + Space, Windows
Ctrl + Shift + Space, Linux
See Also
2-D Math
Complete Command
Ditto Operator
Document Blocks
Document Mode vs Worksheet Mode
Insert Execution Group
Statement Separator
Structure Worksheets with Execution Groups
Download Help Document