1.13.3. Adapting the PDF page design
Table of Contents
This section describes the customization of the PDF page design. Following illustration gives an example of a chapter that consists of 4 pages:
Figure 1.13.3. Example page sequence
The first page starts with the chapter header that is rendered as white text on blue background. At the bottom of the first page and all following pages is a blue footer that shows the page-number. The next two pages additionally have a blue header that shows the running chapter title as well as a logo (three colored boxes). Finally, the fourth page is an empty page that has a footer but no header.
The page design shown in the example above is optimized for double-sided output. The specifics of double-sided output is, that odd pages are printed on the front-side of a sheet of paper, whereas even pages are printed on the back-side. Normally double-sided output is used, because the publication shall be bound to a book or booklet. Therefore more space needs to be reserved on the inner side of a page where the sheets are bound. That's the reason why in the example above, odd pages have more space on the left than on the right, whereas on even pages it's the other way round. Furthermore, the page-number is always printed on the outer side.
You may wonder, why in the example shown above an empty page is inserted as last page of the chapter. This is again a specifics of double-sided output. The empty page causes the first page of the following chapter to be printed on the front-side of a sheet (i.e. on an odd page).