InertForm - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

InertForm

  

Typeset

  

display an inert-form structure in standard math notation

 

Calling Sequence

Parameters

Description

Package Usage

Examples

Compatibility

Calling Sequence

Typeset( expr )

Typeset( expr, inert=truefalse )

Parameters

expr

-

expression

Description

• 

The Typeset command accepts an inert-form structure and returns a typeset structure suitable for display in a MathContainer or anywhere else that accepts typeset mathematics.  The typeset result will render the expression in standard math notation.

• 

Without options inert substructures are typeset to display in gray. To typeset the expression so that it looks like an equivalent non-inert display, 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.

Package Usage

• 

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

Examples

withInertForm:

exParse(1+2)/6

ex?

(1)

Typesetex

?

(2)

lprintTypesetex

Typesetting:-mcomplete(Typesetting:-mfrac(Typesetting:-mrow(Typesetting:-mcomplete(Typesetting:-mrow(Typesetting:-mn("1"),Typesetting:-mo("+",mathcolor = "#909090"),Typesetting:-mn("2")),Typesetting:-_Hold([1 %+ 2]))),Typesetting:-mrow(Typesetting:-mn("6")),mathcolor = "#909090"),Typesetting:-_Hold([(1 %+ 2) %/ 6]))

Compatibility

• 

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

• 

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

See Also

InertForm:-Parse

Typesetting