Page layout in LATEX Piet van Oostrum∗ Dept. of Computer Science Utrecht University
[email protected] http://www.cs.ruu.nl/people/piet Abstract This article describes how to customize the page layout of your LaTeX documents, i.e how to change page margings and sizes, headers and footers, and the proper placement of ®gures and tables (collectively called ¯oats) on the page. Originally this was the documentation of the fancyheadings package. It did contain also other info, e.g. ad- vanced use of marks. It has now been upgraded to include more, e.g. the handling of ¯oats. The fancyhead- ings documentation has been upgraded to conform to version 2 of this package1. For reasons of compatibility with certain operating systems, the name of the package has been changed to fancyhdr. Although this paper uses LATEX2ε commands, most of the techniques can be used with older LATEXversions with appropriate changes. 1 Introduction A page in a LATEX document is built from various elements as shown in ®gure 1. The body contains the main text of the document together with the so called ¯oats (tables and ®gures). The pages are constructed by LATEX's output routine, which is quite complicated and should therefore not be modi®ed. Some of the packages described in this paper contains small modi®cations to the output routine to accomplish things that cannot be done in another way. You should use these packages to get the desired result rather than ®ddling with the output routine yourself. There a a number of things that you must be aware of: 1.