Filling a Line

You can insert an arbitrary amount of space into a line with the \hspace{length} command. Here the length must include a unit, such as 1.5in or 2.3cm.

If you want a spacing in a line that will push the surrounding words to the left and right margins, use the \hfill command. If instead of spacing, you want either dots or a line, use \dotfill or \hrulefill, respectively.

Practice: Try all of these commands out now.


2002-02-28