Macro Language Reference > Macros > Document Preferences > units
  
units
Description
A control keyword used with fdpref: sets the unit preference for measures and text sizes.
 
Example 112. Change the default unit of measurement for a document
This example changes the default unit of measurement for horizontal/vertical text to points and turns strict mode on:
fdpref units 5,5,5,1
Syntax
units h:n v:n txt:n str:o
h
Horizontal unit preference.
1
cicero
2
mm
3
cm
4
inch
5
point
6
pica
7
didot
8
dm
v
Vertical unit preference. (values as h)
txt
Text unit preference. (values as h)
str
0
Strict mode off.
1
Strict mode on.