Your own units
The unit keyword declares a unit in terms of one that exists. The also: clause lists other
names for it.
unit stick = 113 g, also: sticks
339 g to sticks
unit chain = 22 yard, also: chains
1 furlong to chainsA count on the left works too: unit 12 inch = 1 ft.
A unit with no definition starts a new dimension.
unit widget of Count, also: widgets
unit box = 24 widget, also: boxes
5 boxes to widgetsA unit defined as a bare number is a dimensionless multiple.
unit dozen = 12
2 dozen + 3unit group names a list of units for to, which keeps the members that fit
and leaves out any that come to zero. A format: on a unit or group sets its
default display.
unit group cooking: cup, tablespoon, teaspoon
1.25 cup to cooking
unit group height: ft, inch, format: 1 dp
1.8 m to heightdimension declares a dimension by hand, alone or from others.
dimension Tokens
unit token of Tokens, also: tokens
unit ktoken = 1000 token
1.5 ktoken * $0.03 / 1 ktokenUnits and dimensions can be declared anywhere in a document.