InertForm
ToMathContainer
puts an inert-form math expression into a MathContainer component
Calling Sequence
Parameters
Description
Package Usage
Examples
Compatibility
ToMathContainer( expr, container_name )
ToMathContainer( expr, container_name, inert=truefalse )
expr
-
expression
container_name
string
The ToMathContainer command inserts the given expression into a MathContainer component.
The expression is pre-formatted by calling InertForm:-Typeset. By default, inert substructures are displayed in gray. To show the expression so that it looks like an equivalent non-inert expression, use the option inert=false.
For more details about the nature of inert form, see InertForm:-Parse. For information on automatic simplification, refer to the Maple Expressions chapter of the Maple Programming Guide.
This function is part of the InertForm package, so it can be used in the short form ToMathContainer(..) only after executing the command with(InertForm). However, it can always be accessed through the long form of the command by using InertForm[ToMathContainer](..).
Grading:-Quiz⁡Simplify the following expression:,1,`%*`⁡8,`%/`⁡%sqrt⁡4,`%^`⁡4,2,inertform=true
Simplify the following expression: =
InertForm:-ToMathContainer⁡`%*`⁡8,`%/`⁡2,16,MathContainerANS,inert=false
Error, (in DocumentTools:-GetProperty) Attempted to retrieve property of unknown component MathContainerANS.
The InertForm[ToMathContainer] command was introduced in Maple 2017.
For more information on Maple 2017 changes, see Updates in Maple 2017.
See Also
DocumentTools
InertForm:-Parse
MathContainer
ProgrammingGuide/MapleExpressions
Download Help Document