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:
From the File menu, select New, and then Worksheet Mode.
To change the default to always open new files in Worksheet mode:
From the Tools, select Options.
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,
From the File menu, select New > Worksheet in 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, from the Edit > Document Blocks menu select Create 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 is activated. From the View menu, select Markers. Document block markers are displayed in the left sidebar.
Insert the cursor in a document block to be expanded.
From the Edit menu, select Document Blocks.
Clear the check box by Show Command.
To view the code again, select Show Command.
You can insert a new command prompt from the Insert menu. 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.
Use the Evaluate menu item 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, from the Tools menu select Complete Command, or use the short cut 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