setSubscript

Class: ModelAdvisor.Text
Package: ModelAdvisor

Specify subscripted text

Syntax

setSubscript(text, mode)

Description

setSubscript(text, mode) indicates whether to make text subscript.

Input Arguments

textInstantiation of the ModelAdvisor.Text class
mode

A Boolean value indicating subscripted formatting of text:

  • true — Make the text subscript.

  • false — Do not make the text subscript.

Examples

t1 = ModelAdvisor.Text('This is some text');
setSubscript(t1, 'true');
Was this topic helpful?