Footer placement in PDF compile

Li
LibbyC
Posts: 2
Joined: Mon May 11, 2015 6:57 am
Platform: Mac

Mon May 11, 2015 7:05 am Post

I'm having an issue with the position of the page numbers when I compile in PDF format. They seem to sit quite high on the page (within the footer) but when I adjust the lower page margin the text then just sits over the top of the page number. I'm wondering if there is a way to adjust the position of the footer text within the footer - i.e. I'd like to make it sit lower if possible so that I can reduce the lower page margin without the two clashing. I hope that makes sense...

Thanks

Br
Briar Kit
Posts: 1788
Joined: Thu Apr 04, 2013 9:04 am
Platform: Mac

Mon May 11, 2015 7:51 am Post

Hello LibbyC

It is possible to enter carriage returns in footers (or headers). If you add a carriage return before the page number in the footer, it will nudge the number down.

ALT ENTER to enter a carriage return in a footer or header.
Account closed January 2017

User avatar
KB
Site Admin
Posts: 20109
Joined: Tue Jun 13, 2006 11:23 pm
Platform: Mac
Location: Truro, Cornwall
Contact:

Mon May 11, 2015 10:17 am Post

The position of headers and footers is calculated by placing them halfway between the start of the margin (that is, where the text ends) and the edge of the printable area of the page. The printable area of the page may not always be the same as the edge of the page, which means that headers and footers can sometimes be closer to the text than you might want. The printable area is determined by the printer (PDFs on the Mac are generated by using the print engine, which uses printer settings). So when you see this sort of thing, it's because your printer is telling Scrivener that it cannot print on quite a large area around the edge of the page, so Scrivener moves the header and footer in.

You can override the printer settings as follows:

1. Open up Page Setup. If you have "Use project page settings" ticked in the Page Settings of Compile, then you call up Page Setup by going to File > Page Setup; otherwise click on the button in the "Page Settings" pane of Compile.

2. In the Page Setup pane, choose the size of paper you want to use, and make a note of its dimensions (when you select a paper size, its dimensions are shown beneath the paper size pop-up, e.g. "210mm x 297mm" for A4).

3. Then, from the paper size chooser, select "Manage Custom Sizes..." from the bottom of the menu.

4. Click the "+" button to add a new custom paper size and name it something easy to recognise (e.g. "A4 (No Margin Limits)").

5. In the box that appears, in the "Dimensions" text fields at the top, enter the dimensions you noted down in step (2).

6. Then, for "Non-Printable Area", select "User-Defined" (this is the part that your printer is causing problems with).

7. Set each of the non-printable values for top, bottom, left and right to something sensible - a couple of millimetres, or even just set them all to 0.

8. Click "OK" to save your custom paper size.

You can then choose this custom paper-size for generating your PDFs. You only need to do this once for each paper size you want to use - once you have set up a custom paper size, it will be available to all projects (and, in fact, across all applications, since this is just a feature of the way Mac apps generate print-outs and PDFs, and it is an OS X feature, not a Scrivener one).

Hope that helps.

All the best,
Keith
"You can't waltz in here, use my toaster, and start spouting universal truths without qualification."

Li
LibbyC
Posts: 2
Joined: Mon May 11, 2015 6:57 am
Platform: Mac

Mon May 11, 2015 11:38 pm Post

Hi Keith

That's done the trick. Thanks so much for your help and clear instructions :D

cheers
Libby

jl
jlavish
Posts: 2
Joined: Tue Aug 09, 2016 5:23 pm
Platform: Mac

Tue Aug 09, 2016 8:21 pm Post

Thanks KB, that did the trick for me, too! Though I should note that it did not work with 0 as a value for the Non-Printable Areas, I had to move it to just slightly above that (0.1 in) for it to work properly.

Thanks!
J

User avatar
Bridey
Posts: 390
Joined: Wed Nov 22, 2017 2:24 pm
Platform: Mac

Tue Jan 02, 2018 4:08 pm Post

KB wrote:The position of headers and footers is calculated by placing them halfway between the start of the margin (that is, where the text ends) and the edge of the printable area of the page.


Hi, Keith

I have been trying to use your instructions in S3 to move the footer in a PDF up by a couple of millimetres (so that the footer sits a little bit further away from the bottom of the page).

Irrespective of the values set in the non-printable area, the footer doesn't appear to move.

Any tips?

br
brno32
Posts: 1
Joined: Tue Feb 06, 2018 7:43 am
Platform: Mac

Tue Feb 06, 2018 7:46 am Post

I'm having the same issue. Adjusting the printable area has no effect on the placement of the header or footer. Upgraded to Scrivener 3 in hopes this issue would be resolved. Has anyone found a work-around?

Et
EtienneP.
Posts: 2
Joined: Mon Mar 05, 2018 4:03 pm
Platform: Mac

Mon Mar 05, 2018 4:11 pm Post

If you want to change the position of the page number (or any kind of footer text), in a pdf compile :
you can do so in Compile/ Formatting / footer :

– Add a blank line on top of the page number, by typing ALT ENTER before <$p>.
This will shift the page number one line down.

– Add a blank line after the page number (by typing ALT ENTER after <$p>)
This will shift the page number one line up.

dr
drmajorbob
Posts: 169
Joined: Sun Jul 01, 2012 1:38 am
Platform: Mac

Tue Apr 10, 2018 11:13 pm Post

EtienneP. wrote:If you want to change the position of the page number (or any kind of footer text), in a pdf compile :
you can do so in Compile/ Formatting / footer :

– Add a blank line on top of the page number, by typing ALT ENTER before <$p>.
This will shift the page number one line down.

– Add a blank line after the page number (by typing ALT ENTER after <$p>)
This will shift the page number one line up.


There's no such thing as Compile/Formatting/Footer, so I'm confused. What do you really mean?