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
|
|
|
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:
|
1.
|
From the File menu, click Options (
). The Options dialog opens.
|
2.
|
Within the Interface tab, set the default format for new worksheets to Worksheet.
|
3.
|
Click Apply to Session, Apply Globally, or Cancel.
|
|
|
Saving Worksheets
|
|
|
Maple Worksheets are saved as .mw files. When you open a file that is a Maple worksheet, Maple opens automatically in Worksheet mode.
|
|
|
Creating Worksheets within a Maple Workbook
|
|
|
To create a new workbook worksheet:
|
1.
|
In the Workbook tab, right-click anywhere inside the Navigator palette.
|
2.
|
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.
|
|
|
Creating Document Blocks in Worksheets
|
|
|
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:
|
1.
|
As a visual aid, ensure that the Markers (
) feature on the View tab is activated. Document block markers are displayed in the left sidebar.
|
2.
|
Place the cursor in a document block.
|
3.
|
On the Edit tab, click Show (
), and then ensure that Show Command is toggled off.
|
4.
|
To view the code again, select Show Command.
|
|
|
Execution Groups
|
|
|
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.
|
|
|
Executing 2-D Math in Worksheet Mode
|
|
|
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
|
|
1.
|
Begin entering a command in the worksheet.
|
2.
|
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 + Shift + Space, Linux
|
|
|
|
|
|
|
|