By Piet van Oostrum
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 figures and tables (collectively called floats) on the page.
Originally this was the documentation of the fancyheadings package. It did contain also other info, e.g. advanced use of marks. It has now been upgraded to include more, e.g. the handling of floats. The fancyheadings 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 LATEX commands, most of the techniques can be used with older LATEXversions with appropriate changes.
A page in a LATEX document is built from various elements as shown in figure 1. The body contains the main text of the document together with the so called floats (tables and figures). The pages are constructed by LATEX’s output routine, which is quite complicated and should therefore not be modified. Some of the packages described in this paper contains small modifications 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 fiddling with the output routine yourself.
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 figures and tables (collectively called floats) on the page.
Originally this was the documentation of the fancyheadings package. It did contain also other info, e.g. advanced use of marks. It has now been upgraded to include more, e.g. the handling of floats. The fancyheadings 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 LATEX commands, most of the techniques can be used with older LATEXversions with appropriate changes.
A page in a LATEX document is built from various elements as shown in figure 1. The body contains the main text of the document together with the so called floats (tables and figures). The pages are constructed by LATEX’s output routine, which is quite complicated and should therefore not be modified. Some of the packages described in this paper contains small modifications 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 fiddling with the output routine yourself.
Read More/Download