InertForm - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Evaluation : Preventing Evaluation : InertForm Package : InertForm/Display

InertForm

  

Display

  

display an inert-form structure in standard math notation

 

Calling Sequence

Parameters

Description

Package Usage

Examples

Compatibility

Calling Sequence

Display( expr )

Display( expr, inert=truefalse )

Parameters

expr

-

expression

Description

• 

The Display command accepts an inert-form structure and displays it in standard math notation.  

• 

Without options 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.

  

Note: Copy & paste of something displayed using option inert=false will paste in the non-inert form of the copied object.

• 

When using the Standard worksheet interface the displayed result will be typeset via the InertForm:-Typeset command.  As of Maple 2017, this is also the default output in a document; even without using the Display command.  Other interfaces will use an alternate approach which may occasionally include extra sets of parentheses.

Package Usage

• 

This function is part of the InertForm package, so it can be used in the short form Display(..) only after executing the command with(InertForm). However, it can always be accessed through the long form of the command by using InertForm[Display](..).

Examples

withInertForm:

exParse(1+2)/6

ex?

(1)

lprintex

(1 %+ 2) %/ 6

Displayex,inert=false

?

(2)

Compatibility

• 

The InertForm[Display] command was introduced in Maple 18.

• 

For more information on Maple 18 changes, see Updates in Maple 18.

See Also

InertForm:-Parse