Latex Paragraph Formats

The default for the Latex paragraph format is fine for many applications, but sometimes format changes are required.

New Paragraph in LaTeX

To start a new paragraph, you have to insert a blank line between them.

In this example the indentation at the first line of a paragraph, the line spacing, and the paragraph spacing are manually set in the preamble (as explained below). Meanwhile, there is another way to start a new paragraph using the \par command.

 Manual Line Breaks in LaTeX

A number of commands exist to force manual line breaks with format options:

  • \\[…]: The command to start a new line. It has an optional argument in brackets, extra-space, that specifies how much extra vertical space is to be inserted before the next line. This can be a negative amount.
  • \newlineThe command breaks the line right where it is. The \newline command can be used only in paragraph mode.
  • \linebreak: The \linebreak command breaks the current line at the point of the command. The \linebreak command causes {\normalsize \LaTeX} to stretch the line so it extends to the right margin.
  • \nolinebreakThe \nolinebreak command prevents {\normalsize \LaTeX} from breaking the current line at the point of the command. 
  • \newpageThe command ends the current page.
  • \pagebreak: Breaks the current page at the point of the command. 
  • \nopagebreak: Prevents breaking the current page at the point of the command. 

Paragraph Format: Text Justification

Paragraphs in {\normalsize \LaTeX} are usually fully justified, i.e. flush with both the left and right margins. To alter the justification of a paragraph, there are three environments listed first below, and also {\normalsize \LaTeX} command equivalents.

  • left justified:    flushleft        \raggedright
  • centered:          center            \centering
  • right justified  flushright      \raggedleft

The environment and alignment command are used as follows:

The command is enclosed into a group, as indicated by the braces {…}, so the rest of the document will not be affected.

Paragraph Format: Tab Commands

The tabbing environment provides a way to align text in columns. It works by setting tab stops and tabbing much the way you do with an ordinary typewriter. The first line of the tabbing environment is used to set tab stops using the \= command.  Subsequent lines declare tabs and advance text using the \> command.

The \hspace{} command is useful for controlling horizontal space in the tabbing environment.  Simply declare the horizontal space per tab in brackets.  The following example sets a 1 inch tab:

Paragraph Format: Indentation

By default, {\normalsize \LaTeX} does not indent the first paragraph of a section or a chapter. The size of the subsequent paragraph indents is determined by \setlength and \parindent (assumes the parskip package is loaded in the preamble):

It’s recommended to put this command in the preamble of the document, but it can be set anywhere.

If you want to create a non-indented paragraph, put the command \noindent at the beginning of the paragraph. If you want the whole document not to be indented, set the indentation length to zero with \setlength{\parindent}{0pt}.

Alternatively, if you want to indent a paragraph with no indentation, you can use \indent right above it. This command will only have an effect when \parindent equals zero.

Paragraph Format: Spacing Between Text Blocks

The //[…] can be used to set space before a paragraph.  Default spacing is set using \setlength with \parskip. Extra vertical space can also be changed to have a default dimension plus an amount of expansion minus an amount of contraction:

Paragraph Format: Line Spacing

There are three commands that control the line spacing, below an example redefining the length of \baselinestretch in the preamble:

There are two other {\normalsize \<span class="texhtml">LaTeX} commands that change line spacing:

  • \baselineskip=value: The minimum space between the bottom of two successive lines in a paragraph; it may be changed (in the preamble) by  setlength{\baselineskip}{value}, where value is set using standard length measures.
  • \linespread{value}: where value determine line spacing. This value is somewhat confusing, because:
      • 1.0: single spacing
      • 1.3: one-and-half spacing
      • 1.6: double spacing

Back | Next

Leave a Reply