Next: How_to_section Prev: Sectioning Up: Sectioning Top: Top

0.2.2.1. The `\section<n>' command

There is really just one sectioning command: where `<n>' is a positive integer, the sectioning depth. For example, you might have: As a convenience, the following synonyms are supported: Saying `\rootsectiontype{\chapter}' causes `\section1', `\section2', and `\section3' to be translated into the LaTeX/Texinfo commands `\chapter', `\section', and `\subsection', respectively. This system supports deeper section nesting than LaTeX (12 levels vs. 7).

If you want a section heading but don't want anything to appear in the table of contents, put a `*' after the command name (just like LaTeX); for example:

If you want something that looks like a section heading but really isn't (no table-of-contents entry, no Info node), you probably want the `\heading{<title>}' command.

[Support your local creaky implementation: you must put sectioning commands on lines of their own.]

In making an Info file, the hierarchy of `\section<n>' commands will be turned into a corresponding hierarchy of Info nodes. With `info', you navigate along one level of the hierarchy with `Next'- and `Prev'-node links; you move up the hierarchy with `Up'-node links; and you move down the hierarchy (e.g., from a `\section<n>' to its `\section<n+1>'s) by choosing from an (automatically-generated) Info menu.