# 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.

### \maketitle

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.

### \author

```  \author{names}
```
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.

### \date

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

### \thanks

```  \thanks{text}
```
The \thanks command produces a footnote to the title.

### \title

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

### \pagenumbering

``` \pagenumbering{num_style}
```
Specifies the style of page numbers. Possible values of num_style are:
• arabic: Arabic numerals
• roman: Lowercase roman numerals
• Roman: Uppercase roman numerals
• alph: Lowercase letters
• Alph: Uppercase letters

### \pagestyle

```  \pagestyle {option}
```
The \pagestyle command changes the style from the current page on throughout the remainder of your document. The valid options are:
• plain: Just a plain page number.
• empty: Produces empty heads and feet - no page numbers.
• headings: Puts running headings on each page. The document style specifies what goes in the headings.
• myheadings: You specify what is to go in the heading with the \markboth or the \markright commands.

### \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.

### \thispagestyle

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