Jump to navigation

Class: TString


new TString(s)

String type.

Name Type Description
s string
Name Type Description
value string
latex boolean

Is this string LaTeX code? If so, it's displayed as-is in math mode.

display_latex boolean

Should this string be rendered as LaTeX when substituted into plain text?

safe boolean

If true, don't run Numbas.jme.subvars on this token when it's evaluated.

subjme boolean

If true, then this string represents JME code and variables should be substituted in using JME semantics instead of plain-text.

type string