Next / Previous / Contents / Shipman's homepage

35. indexCardPage()

Returns a new PageDims instance for a standard 3″×5″ card in portrait orientation.

fosox.py
# - - -   i n d e x C a r d P a g e

def indexCardPage():
    return PageDims(
        pageBox=Box(FoDim("3", "in"), FoDim("5", "in")),
        pageMargins=MarginSet(top=FoDim("0.1", "in"),
            bot=FoDim("0.1", "in"), left=FoDim("0.25", "in"),
            right=FoDim("0.25", "in")),
        frameMargins=MarginSet(top=FoDim("1.5", "pc"),
            bot=FoDim("1", "pc"), left=FoDim("0", "pc"),
            right=FoDim("0", "pc")), 
        bodyMargins=MarginSet(top=FoDim("2", "pc"),
            bot=FoDim("2", "pc"), left=FoDim("0", "pc"),
            right=FoDim("0", "pc")) )