• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 4. The Layout of the Page > 4.2. Changing the layout

4.2. Changing the layout

Image Change parameters only in the preamble

When you want to redefine the value of one or more page layout parameters, the \setlength and \addtolength commands should be used. It is important to keep in mind that changes to the geometrical page layout parameters should be made only in class or package files and/or in the preamble (i.e., before the \begin{document} command). Although changing them in mid-document is not absolutely impossible, it will most likely produce havoc, due to the inner workings of TeX, which involve a number of subtle dependencies and timing problems. For example, if you change the \textwidth you might find that the running header of the previous page is changed.

Initially, it is advisable to use TeX’s \baselineskip parameter for setting vertical distances. This parameter is the distance between the baselines of two consecutive lines of text set in the “normal” document type size inside a paragraph. The \baselineskip parameter may be considered to be the height of one line of text. Therefore, the following setting always means “two lines of text”:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint