Spaces and Boxes
You can generate a "visible" space, generally indicated as a small, squat
"u," and useful in didactic material by using the
\verb command or the
To generate a space where you do not want to allow a break for a new line use a
~. For example,
... in Table~2 and Fig.~3 ...
Controlling Space in Text
The ends of words and sentences are marked
in the input by one or more spaces; LaTeX
treats multiple spaces as if they were a single space. An end of line
is also equivalent to a space. Paragraphs are
delineated by a blank line -- one which does not contain even
comments (anything following a
% until the end of a line is
LaTeX leaves extra space after punctuation, such as the period which
ends a sentence,
however, it uses a very simple rule (periods end sentences unless
they follow a capital letter) so
sometimes it needs a little help in determining when
this is required. (However, see
- \<space> to create an ordinary
- \@ before punctuation to force an "end of
It is sometimes necessary to add a little additional space, such as between
consecutive single and double quotation marks.
The \, command can be used for this purpose.
Spaces after Commands
Most LaTeX commands consist of a \ followed by a string of
letters. The end of such commands is indicated by a nonletter, i.e.,
a number, a punctuation mark, a space, or the end of the line. If the
command produces text and you want a space to follow this text, you cannot
just leave a space after the command; that space is treated as the
end-of-command signal and several spaces are equivalent to one in LaTeX.
To generate a space after a text-producing command you must use
I wrote this on \today .
generates "I wrote this on May 11, 1995." Note that the spaces
between \today and the period in the input do not generate
any space in the output. On the other hand,
\today\ was a good day.
\today \ was a good day.
will both produce "May 11, 1995 was a good day." The
here is necessary to produce space between the date and "was."
Commands which leave space or make "boxes"
Back to the Table of Contents
Modified by Sheldon Green, email@example.com, 5 Jun 1995.