This page's content is no longer actively maintained, but the material has been kept on-line for historical purposes.
The page may contain broken links or outdated information, and parts may not function in current web browsers.

Hypertext Help with LaTeX

Comments in file

You can insert comments into the LaTeX input (*.tex) file. Anything following a percent sign (%) until the end of the line is ignored by the LaTeX processor.

In fact, the % ends a line without generating a space; an end-of-line in LaTeX input is normally equivalent to a space. Thus, for example, it allows one to split a word over lines without inserting a break. For example:

    this is an extra%
    ordinarily long word

would produce "this is an extraordinarily long word" with no breaks. However, a command cannot be split over lines this way.

See also Special Characters, Input to LaTeX
Back to the Table of Contents

Revised 1 Jun 1995.