Next / Previous / Contents / Shipman's homepage

17. regionAfter()

fosox.py
# - - -   r e g i o n A f t e r

def regionAfter(s, regName, dims):
    '''Generate a region-after element.

      [ (s is a sox.Sox instance) and
        (dims a PageDims instance) ->
          s  +:=  a complete region-after element tag using region-name
              (regName) and dims.frameMargins.bot for its extent ]
    '''
    s.leaf("region-after",
        dash(regionName=regName,
             extent=str(dims.frameMargins.bot)))