Customize margins between header/footer and the page limit?

Hi,

TeXmacs is just great, it’s just difficult to get around the first time… I looked everywhere but couldn’t find a way to customize the margin between the top of the page an the header, and the footer and the bottom of the page.

It’s just that the page numbers seems way too close to the page limit, and the page margins seems to control the distance between the header/footer and the main text area.

There is some explanation of the page layout under Help -> Reference guide -> Standard environment variables. Section 5 mentions the page-head-sep and page-foot-sep variables. You can set these by adding e.g. <assign|page-head-sep|4mm> to the preamble (Document -> Part -> Show preamble).

Thank you, that looks like it