| Search Locate Previous Next | Contents |
NewLeaf stores information for several standard paper sizes in the three-column nested matrix nlpapers:
nlpapers[1 8 9;] 1 US Letter 612 792 8 A3 842 1191 9 A4 595 842
There is one row for each paper size. The columns contain:
The optional pg type object in a NewLeaf page layout can contain values for the paper and orientation properties of the document. When the paper property is specified explicitly, NewLeaf looks in the second column of nlpapers to find a matching name. The values in column three of the corresponding row are then used as the paper size. If there is no match, or if no explicit value is given for the paper property, NewLeaf uses the paper size associated with the current printer. To include a new paper size, run nlDefinePaper giving a unique name, and the width and height:
nlDefinePaper 'Causeway' (72×7 11)
This adds the new data (width and height in points) to the bottom of this matrix. Remember to re-apply any changes whenever you upgrade NewLeaf.