Ask Your Question

Header and Footer needed outside the page margin

asked 2017-11-14 13:48:58 +0200

cyf01 gravatar image

updated 2017-11-14 13:49:30 +0200

Hello, I have a page format/margin (For odd-numbered pages left 1.5", top 1.5", right 1" and bottom 1" and for even numbered pages left 1’, right 1.5’, top 1.5’, bottom 1’' where " means inches. So i have given mirror image and the page margins as stated. But now if i give header and footer, the header and footers come inside/within the page margins and hence further decrease the space. But headers and footers should come outside the page margins right..?? (i think in this way, so..) or is this wrong what i have said.. So, how to put the headers and footers outside the prescribed page margins..??

Thank you.

edit retag flag offensive close merge delete


Margin is whitespace, non-printable area. So nothing is in it. Next header and footer come, and next is page body.

Mike Kaganski gravatar imageMike Kaganski ( 2017-11-14 14:09:35 +0200 )edit

2 Answers

Sort by » oldest newest most voted

answered 2017-11-14 14:04:40 +0200

ajlittoz gravatar image

LO Wrtiter has a different approach to page real estate management than M$ Word.

Il Writer, margin are no man's land forbidden to text flow. Only manually positioned objects, such as frames, can reside in there.

So, the question is: what is your page design? Draw a schema for your page. Set the margins which are "true" non-printing margins. Sketch the position of your header/footer and decide whether they have a fixed or adaptative height.

From your question, your consider the margins as defining the area where your text will be printed. With elementary arithmetic, you can compute the Writer-style margins dimensions then customise your page style in the Header or Footer tab. Spacing measures the white space between the header/footer and the text area. Size is the minimal height devoted to the header/footer and can made fixed if you uncheck the dynamic height check box.

If this answer helped you, please accept it by clicking the check mark to the left and, karma permitting, upvote it. If this is what you expected, close the question, that will help other people with the same question.

edit flag offensive delete link more

answered 2017-11-14 13:59:25 +0200

RGB-es gravatar image

By design (I'm not saying it's a good design, just that it's by design), Writer includes headers and footers on the text area:

Bug 33304 - Header / Footer should be inserted into margin, not into text body

The only way around this is to reduce the top and bottom margins to get the right distance from page border to text area. Note that while editing the page style, on the corresponding header/footer tab you can set the vertical space taken by the header/footer.

edit flag offensive delete link more


Writer doesn't include headers/footers into text body. It separates the three areas (margins, header/footer, and page body) from each other, and allows to control them precisely (unlike in some other suites). Placing them inside some other area is wrong and not flexible.

Btw: the premise of that bug is wrong, than "I can't know exactly how tall a margin is" - the user just didn't try to understand the logic behind that.

Mike Kaganski gravatar imageMike Kaganski ( 2017-11-14 14:16:05 +0200 )edit

I did not say text body, but text area. Let's use headers as example. On LaTeX when you set margins with the help of geometry package, you set the distance from page border to text area and then how much the header is above that text area. On Writer you set the text area border and the header goes bellow that border. Not a tragedy, of course, you can always work out the right settings to get the same results: it's just different. But, IMO, LaTeX way is easier.

RGB-es gravatar imageRGB-es ( 2017-11-15 00:07:17 +0200 )edit

Hmm. Yes, definitely, setting how much header is above is much easier than setting how much it is below...

Mike Kaganski gravatar imageMike Kaganski ( 2017-11-15 05:43:19 +0200 )edit

It is, because you don't need to figure out where the text area boundaries will fall. When you write a thesis or specially a legal document you may face strict formatting rules, and usually text area boundaries are far more important than header or footer positioning. Yes, on Writer you can (1) set the header size and then (2) subtract that value to the top margin to (3) get the needed distance from page border to the real text area, but that is two more steps than what you need on LaTeX.

RGB-es gravatar imageRGB-es ( 2017-11-15 19:49:57 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-11-14 13:48:58 +0200

Seen: 1,182 times

Last updated: Nov 14 '17