Display - Maple Help

InertForm

 Display
 display an inert-form structure in standard math notation

 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

 > $\mathrm{with}\left(\mathrm{InertForm}\right):$
 > $\mathrm{ex}≔\mathrm{Parse}\left("\left(1+2\right)/6"\right)$
 ${\mathrm{ex}}{≔}{\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{\mathrm{%/}}{}\left({\mathrm{%+}}{}\left({1}{,}{2}\right){,}{6}\right)\right]\right)$ (1)
 > $\mathrm{lprint}\left(\mathrm{ex}\right)$
 (1 %+ 2) %/ 6
 > $\mathrm{Display}\left(\mathrm{ex},'\mathrm{inert}'=\mathrm{false}\right)$
 ${\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{\mathrm{%/}}{}\left({\mathrm{%+}}{}\left({1}{,}{2}\right){,}{6}\right)\right]\right)$ (2)

Compatibility

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