Typeset - Maple Help

InertForm

 Typeset
 display an inert-form structure in standard math notation

 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

 > $\mathrm{with}\left(\mathrm{InertForm}\right):$
 > $\mathrm{ex}≔\mathrm{Parse}\left("\left(1+2\right)/6"\right)$
 ${\mathrm{ex}}{≔}\frac{{1}{+}{2}}{{6}}$ (1)
 > $\mathrm{Typeset}\left(\mathrm{ex}\right)$
 $\frac{{1}{+}{2}}{{6}}$ (2)
 > $\mathrm{lprint}\left(\mathrm{Typeset}\left(\mathrm{ex}\right)\right)$
 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.