DocumentTools/Canvas/ShowCanvas - Maple Help

DocumentTools[Canvas]

 ShowCanvas
 insert a canvas into a document

 Calling Sequence ShowCanvas(canvas) ShowCanvas(canvas, script) ShowCanvas(canvas, options)

Parameters

 canvas - XML canvas string, or list script - (optional) DocumentTools:-Canvas:-Script object size=list(posint) - (optional) default [12,2], number of hidden rows and columns output=table - (optional) return a component element mapping table input=list - (optional) list of math expressions to fill in

Description

 • The ShowCanvas command displays a canvas where math and text are laid out in columns inside scriptable components.
 • A "canvas" is an interactive section of a Maple document created by the NewCanvas command, or a shared web-based Maple Learn document.   See the Script command for a more complete description.

Examples

 > $\mathrm{with}\left(\mathrm{DocumentTools}:-\mathrm{Canvas}\right):$
 > $\mathrm{cv}≔\mathrm{NewCanvas}\left(\left[\left["Title"\right],\left["Column 1","Column 2"\right],\left[\mathrm{sin}\left(x\right),x+{y}^{2}\right]\right]\right):$
 > $\mathrm{ShowCanvas}\left(\mathrm{cv}\right)$

Compatibility

 • The DocumentTools[Canvas][ShowCanvas] command was introduced in Maple 2021.