Working in Document Mode
Document mode allows you start solving problems right away, free of the worksheet environment. In Document mode:
Your work area is a blank page.
No input prompt or execution group is displayed.
You can combine text and math in the same line.
By default, math is entered as Standard (2-D math) input.
Command completion is supported.
As with worksheets, you can insert images, plots, tables, sketches, and other objects.
Starting in Document Mode
Creating Documents within a Maple Workbook
Viewing or Copying Maple Code in Documents
Executing 2-D Math in Document Mode
2-D versus 1-D Math in Document Mode
By default, Maple opens in Document mode.
To start in Document mode:
From the File menu, select New, and then Document Mode.
Maple Documents are saved as .mw files. When you open a file that is a Maple document, Maple opens automatically in Document mode.
To create a new workbook document:
In the Workbook tab, right-click anywhere inside the Navigator palette.
From the context menu, select New, then select Document in Workbook.
From the File menu, select New > Document in Workbook
Maple Documents are created as a series of Document Blocks. Each time you press Enter, a new document block appears. You can expand document blocks to view hidden code.
To view code in 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. Note: Look for red lines appearing in the document block markers. The red lines indicate that there is code inside of the document block. If you right click on the red line and go to Show Command, you can view the code.
From the Edit menu, select Document Blocks.
Select Show Command.
To hide the code again, clear the check box beside Show Command.
You can also copy the underlying code without going through the above process.
To copy the underlying command:
Place the cursor on the arrow for the context-sensitive operation.
Right-click (Control-click, Mac) and select Copy Command from the menu.
On a new line, paste the command.
To execute 2-D math in Document Mode and document blocks, use any of the following methods:
Press Alt + Enter (Alt + Return, for Mac). This evaluates and displays results inline.
Use the Evaluate menu item Evaluate and Display Inline. (This can also be invoked through the context-sensitive menu.)
Use the Evaluate menu item Evaluate.
Press Enter. This evaluates and displays results on the next line.
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, select Tools and then Complete Command, or use the shortcut key:
Esc, Macintosh, Windows, and Linux
Ctrl + Space, Windows
Ctrl + Shift + Space, Linux
By default, input is in 2-D or standard math, but you can also enter commands in 1-D math, called Maple Input.
Entering commands in 1-D math
Place your cursor at the beginning of a line.
From the Insert menu, select Maple Input. Mathematical text that you enter on that line will be displayed in a monospaced, bold, red font.
All commands on that line must be in 1-D math.
To enter 1-D math on subsequent lines, you must perform the steps above or use the keyboard shortcut Ctrl + M (Command + M for Macintosh) to switch to 1-D math mode at the beginning of each line.
Document Mode and Worksheet Mode
Download Help Document
What kind of issue would you like to report? (Optional)