Next / Previous / Contents / Shipman's homepage

15. regionBody(): Build a region-body element

See Section 4.9, “regionBody(): Define the page body area” and Section 4.5, “class MarginSet: Four margin dimensions”.

fohelpers.py
# - - -   r e g i o n B o d y

def regionBody(pageDim, *contents, **attrs):
    '''Creates a region-body element.
    '''
    return E("region-body", pageDim.bodyMargins.dict(),
             *contents, **attrs)