Next: Boxes, Previous: Page styles, Up: Top [Contents][Index]

LaTeX has many ways to produce white (or filled) space. Some of these are best suited to mathematical text; see Spacing in math mode. Some spacing commands are suitable for both regular text and mathematical text; versions of some of these commands are in this chapter.

Horizontal space | ||
---|---|---|

• \enspace & \quad & \qquad: | Traditional horizontal spaces. | |

• \hspace: | Any horizontal space. | |

• \hfill: | Stretchable horizontal space. | |

• \hss: | Infinitely stretchable/shrinkable horizontal space. | |

• \spacefactor: | Stretchability of following space | |

• \(SPACE): | Backslash-space; and explicit space. | |

• ~: | Tie, an unbreakable space. | |

• \thinspace & \negthinspace: | One-sixth of an em, and negative one-sixth. | |

• \/: | Italic correction. | |

• \hrulefill & \dotfill: | Stretchable horizontal rule or dots. | |

Vertical space | ||

• \bigskip & \medskip & \smallskip: | Inter-paragraph vertical spaces. | |

• \bigbreak & \medbreak & \smallbreak: | Inter-paragraph space and page breaks. | |

• \strut: | Ensure height of a line. | |

• \vspace: | Vertical space. | |

• \vfill: | Stretchable vertical space. | |

• \addvspace: | Add arbitrary vertical space if needed. |