Write technical text

physical quantities

QuantitySymbol{F}
QuantitySub{F}{gravity}
QuantitySuper{r}{2}

going longhand:

WordSub{radius}{2}
WordSuper{radius}{2}

Or for standalone numbers:

NumberSuper{10}{-17}

vectors

VectorOver{p}
VectorMagnitude{a}
VectorSub{v}{initial}
VectorMatrix{d}{2}{2}{2}

nuclei

NPNucleus{235}{92}{U}

vectors, redux

QuantityVector{F}
FractionVectorABC{E}{F}{d}
ProductVectorDotABC{E}{F}{d}
ProductVectorCrossABC{L}{F}{r}

units and numbers

JustUnit{m s -2}
ValueUnit{10}{N kg 1}
ValueExponent{8}{-9}{J s -4}
ValueRange{3}{5}{V}
ValueOrder{23}{kg}

square root

QuantityRoot{h}
NumberRoot{23}
FractionRoot{g}{l}

component blocks

FractionBlock{mass}{volume}

builds up fractions, as other technical primitives can be inserted in the braces, whereas grouping, to force no splitting over lines, is achieved by:

GroupBlock{Many words which will not split, but which are otherwise unchanged.}

All examples, parsed

F
Fgravity
r 2
radius2
radius2
10-17
p
||a ||
vinitial
d = 222
23592U
F
E = Fd
E = F · d
L = F ⨯ r
m s-2
10 N kg1
8 × 10-9 J s-4
3–5 V
~ 1023 kg
 h 
 23 
    g l
massvolume
Many words which will not split, but which are otherwise unchanged.