Next / Previous / Contents / Shipman's homepage

33. letterLandPage()

Returns a PageDims for letter paper in landscape orientation.

fosox.py
# - - -   l e t t e r L a n d P a g e

def letterLandPage():
    return PageDims(
        pageBox=Box(FoDim("11", "in"), FoDim("8.5", "in")),
        pageMargins=MarginSet(top=FoDim("1", "in"),
            bot=FoDim("1", "in"), left=FoDim("1", "in"),
            right=FoDim("1", "in")),
        frameMargins=MarginSet(top=FoDim("3", "pc"),
            bot=FoDim("3", "pc"), left=FoDim("0", "pc"),
            right=FoDim("0", "pc")),
        bodyMargins=MarginSet(top=FoDim("3", "pc"),
            bot=FoDim("3", "pc"), left=FoDim("0", "pc"),
            right=FoDim("0", "pc")))