LaTeX Page Styles

The \documentstyle command determines the size and position of the page's head and foot. The page style determines what goes in them.


The \maketitle command generates a title on a separate title page - except in the article style, where the title normally goes at the top of the first page. Information used to produce the title is obtained from the following declarations.


The \author command declares the author(s), where names is a list of authors separated by \and commands. Use \\ to separate lines within a single author's entry -- for example, to give the author's institution or address.

NOTE: The milstd and book-form styles have re-defined the \maketitle command. The \title declaration is the only command of those shown below that has any meaning.


The \date command declares text to be the document's date. With no \date command, the current date is used.


The \thanks command produces a footnote to the title.


The \title command declares text to be the title. Use \\ to tell LaTeX where to start a new line in a long title.


Specifies the style of page numbers. Possible values of num_style are:


  \pagestyle {option}
The \pagestyle command changes the style from the current page on throughout the remainder of your document. The valid options are:

\markboth, \markright

  \markboth{left head}{right head} \markright{right head}
The \markboth and \markright commands are used in conjunction with the page style myheadings for setting either both or just the right heading. In addition to their use with the myheadings page style, you can use them to override the normal headings in the headings style, since LaTeX uses these same commands to generate those heads. You should note that a left-hand heading is generated by the last \markboth command before the end of the page, while a right-hand heading is generated by the first \markboth or \markright that comes on the page if there is one, otherwise by the last one before the page.


The \thispagestyle command works in the same manner as the \pagestyle command except that it changes the style for the current page only.

Back to the main LaTeX page.