MathSpeak™ Grammar Rules # MathSpeak™ Core Specification

## Grammar Rules

MathSpeak™ Website
More MathSpeak™ Examples

# Chapter 8 - Superscripts and Subscripts

Verbose Brief Super-Brief
Level Indicators
Base Line Baseline Base Base
Superscript Superscript Sup (pronounced "soup") Sup (pronounced "soup")
Superscript with Superscript Super Superscript Sup Sup Sup Sup
Superscript with Subscript Super Subscript Sup Sub Sup Sub
Subscript Subscript Sub Sub
Subscript with Superscript Sub Superscript Sub Sup Sub Sup
Subscript with Subscript Sub Subscript Sub Sub Sub Sub
Rule 8.1 - ID: scripts_QCK1
Applies To
Exponents that are 2 or 3
Description
Exponents that are 2 or 3 are interpreted as "squared" and "cubed" respectively. If possible, this rule should not be used when superscripts are used for purposes other than exponents, such as footnotes.
Example 2scripts_QCK1-05 verbose StartFraction d squared y Over d x squared EndFraction plus left-parenthesis a x squared plus b x plus c right-parenthesis y equals 0 brief StartFrac d squared y Over d x squared EndFrac plus left-p'ren a x squared plus b x plus c right-p'ren y equals 0 superbrief Frac d squared y Over d x squared EndFrac plus L p'ren a x squared plus b x plus c R p'ren y equals 0 Comment on example 2
Comment on rule 8.1
Rule 8.3 - ID: scripts_CPLX1
Description
The initiated script level is continued until a new level is stated.
Example 2scripts_CPLX1-02 verbose Upper T Subscript n minus 1 Baseline plus 5 equals 0 brief Upper T Sub n minus 1 Base plus 5 equals 0 superbrief Upper T Sub n minus 1 Base plus 5 equals 0 Comment on example 2
Example 3scripts_CPLX1-03 verbose x Superscript m plus n Baseline equals x Superscript m Baseline x Superscript n brief x Sup m plus n Base equals x Sup m Base x Sup n superbrief x Sup m plus n Base equals x Sup m Base x Sup n Comment on example 3
Comment on rule 8.3
Rule 8.4 - ID: scripts_CPLX2
Description
The script level indicators always indicate the absolute position to the baseline.
Example 2scripts_CPLX2-02 verbose x Superscript a Super Subscript b brief x Sup a Sup Sub b superbrief x Sup a Sup Sub b Comment on example 2
Example 3scripts_CPLX2-03 verbose x Subscript a Sub Superscript b brief x Sub a Sub Sup b superbrief x Sub a Sub Sup b Comment on example 3
Example 4scripts_CPLX2-05 verbose y Superscript a Super Superscript b Super Super Subscript c Baseline not-equals y Superscript a Super Superscript b Superscript c brief y Sup a Sup Sup b Sup Sup Sub c Base not-equals y Sup a Sup Sup b Sup c superbrief y Sup a Sup Sup b Sup Sup Sub c Base not-equals y Sup a Sup Sup b Sup c Comment on example 4
Example 5scripts_CPLX2-06 verbose y Superscript a Super Super Subscript c Super Superscript b brief y Sup a Sup Sup Sub c Sup Sup b superbrief y Sup a Sup Sup Sub c Sup Sup b Comment on example 5
Example 6scripts_CPLX2-01 verbose x Superscript a Super Superscript b brief x Sup a Sup Sup b superbrief x Sup a Sup Sup b Comment on example 6
Example 7scripts_CPLX2-04 verbose x Subscript a Sub Subscript b brief x Sub a Sub Sub b superbrief x Sub a Sub Sub b Comment on example 7
Example 8scripts_CPLX2-21 verbose Upper T Superscript left-parenthesis x Super Superscript a Superscript plus y Super Superscript b Superscript right-parenthesis brief Upper T Sup left-p'ren x Sup Sup a Sup plus y Sup Sup b Sup right-p'ren superbrief Upper T Sup L p'ren x Sup Sup a Sup plus y Sup Sup b Sup R p'ren Comment on example 8
Comment on rule 8.4
Rule 8.5 - ID: scripts_NSUB1
Conditions
The number must contain only digits, commas, and a decimal point and no part of it may be spelled out. It must be a subscript to a letter.
Description
Numeric subscripts do not indicate their lowered script and the current script does not need to be reinstated.
Example 2scripts_NSUB1-10 verbose x Subscript negative 1 brief x Sub negative 1 superbrief x Sub negative 1 Comment on example 2
Example 3scripts_NSUB1-02 verbose x 10,000 brief x 10,000 superbrief x 10,000 Comment on example 3
Example 4scripts_NSUB1-03 verbose x 1.3 brief x 1.3 superbrief x 1.3 Comment on example 4
Example 5scripts_NSUB1-20 verbose 4 Upper F e plus 3 Upper O 2 right-arrow 2 Upper F e 2 Upper O 3 brief 4 Upper F e plus 3 Upper O 2 right-arrow 2 Upper F e 2 Upper O 3 superbrief 4 Upper F e plus 3 Upper O 2 R arrow 2 Upper F e 2 Upper O 3 Comment on example 5
Example 6scripts_NSUB1-11 verbose a Subscript 2 comma 3 brief a Sub 2 comma 3 superbrief a Sub 2 comma 3 Comment on example 6
Example 7scripts_NSUB1-05 verbose Upper T Subscript n 1 plus n 0 brief Upper T Sub n 1 plus n 0 superbrief Upper T Sub n 1 plus n 0 Comment on example 7
Example 8scripts_NSUB1-21 verbose log Subscript 2 Baseline left-parenthesis x right-parenthesis equals StartFraction log Subscript 10 Baseline left-parenthesis x right-parenthesis Over log Subscript 10 Baseline left-parenthesis 2 right-parenthesis EndFraction brief log Sub 2 Base left-p'ren x right-p'ren equals StartFrac log Sub 10 Base left-p'ren x right-p'ren Over log Sub 10 Base left-p'ren 2 right-p'ren EndFrac superbrief log Sub 2 Base L p'ren x R p'ren equals Frac log Sub 10 Base L p'ren x R p'ren Over log Sub 10 Base L p'ren 2 R p'ren EndFrac Comment on example 8
Example 9scripts_NSUB1-04 verbose Upper Phi 5 brief Upper Phi 5 superbrief Upper Phi 5 Comment on example 9
Example 10scripts_NSUB1-12 verbose l n x equals Integral Subscript 1 Superscript x Baseline StartFraction d t Over t EndFraction brief l n x equals Integral Sub 1 Sup x Base StartFrac d t Over t EndFrac superbrief l n x equals Integral Sub 1 Sup x Base Frac d t Over t EndFrac Note: This example should actually say "l n space x" to make it clear that there is a space between the natural logarithm and the x.
Comment on example 10
Comment on rule 8.5
Rule 8.9 - ID: scripts_PRI1
Applies To
Primes
Description
Primes (single, double, or triple) have an implied relative superscript level.
Example 2scripts_PRI1-02 verbose f triple-prime left-parenthesis y right-parenthesis equals StartFraction d f double-prime left-parenthesis y right-parenthesis Over d y EndFraction brief f triple-prime left-p'ren y right-p'ren equals StartFrac d f double-prime left-p'ren y right-p'ren Over d y EndFrac superbrief f triple-prime L p'ren y R p'ren equals Frac d f double-prime L p'ren y R p'ren Over d y EndFrac Comment on example 2
Comment on rule 8.9
Comment on Chapter 8