Main Content

setSuperscript

Specify superscripted text

Syntax

setSuperscript(text, mode)

Description

setSuperscript(text, mode) indicates whether to make text superscript.

Input Arguments

textInstantiation of the ModelAdvisor.Text class
mode

A Boolean value indicating superscripted formatting of text:

  • true — Make the text superscript.

  • false — Do not make the text superscript.

Examples

t1 = ModelAdvisor.Text('This is some text');
setSuperscript(t1, 'true');