[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Margin formatting question for "mom"

From: Peter Schaffter
Subject: Re: Margin formatting question for "mom"
Date: Thu, 12 Jan 2023 17:09:46 -0500

Steve --

Very sorry for the long delay.  First, computers woes.  Next, health
problems.  Grr...

On Mon, Dec 26, 2022, Steve Ross via wrote:
> Regarding formatting of margins using "mom"...
> Is there a way to change the top and bottom margins after the
> first page?  I see that the macros "L_MARGIN", "R_MARGIN",
> "T_MARGIN" and "B_MARGIN" are available to set margins before
> the "START" macro.  Correspondingly, the "DOC_LEFT_MARGIN" and
> "DOC_RIGHT_MARGIN" macros are available to (re)set the left
> and right margins before a subsequent "NEWPAGE".  I expected
> to find, but do not, corresponding macros of "DOC_TOP_MARGIN"
> and "DOC_BOTTOM_MARGIN".  Given that the last two macros do not
> exist, what can I do to adjust the top and bottom margins before
> executing "NEWPAGE"?

First, make sure to disable adjusted document leading:


Assuming you have page headers and bottom-of-page pagination

  .HEADER_MARGIN <new margin>
  .HEADER_GAP <new gap>
  .wh 0 HEADER
  .FOOTER_MARGIN <new margin>
  .FOOTER_GAP <new gap>
  .wh -\n[#B_MARGIN]u FOOTER

Peter Schaffter

reply via email to

[Prev in Thread] Current Thread [Next in Thread]