Embedded Components are the key building pieces for interactive documents in Maple. In Maple 18, many of the core components have been enhanced with new options such as border control, auto-fit of text, and more. With the new password option, text areas can even be turned into a password entry field.
In addition to these updates, there have been a number of enhancements that make authoring interactive documents or Math Apps easier, including major updates to the Explore command and new routines and tools for creating gradeable apps. There is also added support for other languages in the code editor and audio file formats in the video component.
With the new shortcut component, you can link to new types of content, including MapleCloud documents. You can set this component to display both a caption and an image. Since it is an embedded component, you can use DocumentTools to access or change the properties of the shortcut component.
The following options for the Code Edit Region are new:
When programming an interactive document or Math App, you frequently need to refer to a component by name. In the past, if you did not know or could not remember the name, you had to check the component’s properties to find it. Now, in Maple 18, there are much faster ways to insert a component’s name into your code.
These new features are available in all code editing environments: the component properties, code edit regions, and in the startup code editor.
The improvements to the text area components include:
There is a new auto-fit option for the contents of a math expression component that resizes the component to fit its contents. For more information, see MathExpressionComponent.
To obtain the unsimplified contents from a math expression component, use InertForm[FromMathContainer]. For more information and examples, see Capture, Manipulate, and Display Precise Mathematical Notation .
You can now programmatically customize the two images used by the toggle button component.
The video player component now plays audio files. It supports the OGG file format for audio.
For a math expression component, text area component, or plot component, a new option allows you to hide the component's border.