Latex Line and Page Breaks

Summary of Commands

A {\small \LaTeX} compiler processes ordinary text from an input file into one long string of glyphs and spaces. To produce a printed document, this string must be broken into lines, and these lines must be broken into pages. The available commands are:

  • \\ start a new paragraph.
  • \\* start a new line but not a new paragraph.
  • \cleardoublepage flush all material and start a new page.
  • \clearpage plush all material and start a new page.
  • \linebreak allow to break the line here.
  • \newline request a new line.
  • \newpage request a new page.
  • \nolinebreak no line break should happen here.
  • \nopagebreak no page break should happen here.
  • \pagebreak encourage page break.

\\ LaTeX New Line

The \\ command tells {\small \LaTeX} to start a new line. It has an optional argument, extra-space, that specifies how much extra vertical space is to be inserted before the next line. This can be a negative amount.

The \\* command is the same as the ordinary \\ command except that it tells {\small \LaTeX} not to start a new page after the line.

LaTeX \newline

The \newline command breaks the line right where it is. The \newline command can be used only in paragraph mode.

LaTeX \cleardoublepage

The \cleardoublepage command ends the current page and causes all figures and tables that have so far appeared in the input to be printed. In a two-sided printing style, it also makes the next page a right-hand (odd-numbered) page, producing a blank page if necessary.

LaTeX \clearpage

The \clearpage command ends the current page and causes all figures and tables that have so far appeared in the input to be printed.

LaTeX \linebreak

The \linebreak command tells {\small \LaTeX} to break the current line at the point of the command. The optional argument, a number, converts the  \linebreak command from a demand to a request. The number must range from 0 to 4. The higher the number, the stronger the request.

The \linebreak command causes {\<span style="color: #000000;">small</span> \LaTeX} to stretch the line so it extends to the right margin.

LaTeX \newpage

The \newpage command ends the current page.

LaTeX \nolinebreak

The \nolinebreak command prevents {\small \LaTeX} from breaking the current line at the point of the command. The optional argument, a number, converts the \nolinebreak command from a demand to a request. The number must range from 0 to 4. The higher the number, the stronger the request.

 LaTeX \nopagebreak

The \nopagebreak command instructs {\small \LaTeX} not to form a break on the current page at the point of the command. The optional argument, a number, converts the \nopagebreak command from a demand to a request. The number must range from 0 to 4. The higher the number, the stronger the request.

 LaTeX \pagebreak

The \pagebreak command tells {\small \LaTeX} to break the current page at the point of the command. The optional argument, a number, converts the \pagebreak command from a demand to a request. The number must be a number from 0 to 4. The number must range from 0 to 4. The higher the number, the stronger the request.

Back | Next

Leave a Reply

Your email address will not be published. Required fields are marked *

9 + 15 =