Next: , Previous: majorheading & chapheading, Up: Structuring


5.7 @section

A @section command identifies a section within a chapter unit, whether created with @chapter, @unnumbered, or @appendix, following the numbering scheme of the chapter-level command. Thus, within a @chapter chapter numbered `1', the section is numbered like `1.2'; within an @appendix “chapter” labeled `A', the section is numbered like `A.2'; within an @unnumbered chapter, the section gets no number.

For example, this section is headed with an @section command and looks like this in the Texinfo file:

     @section @code{@@section}

To create a section, write the @section command at the beginning of a line and follow it on the same line by the section title. The output is underlined with ‘=’ in Info.

Thus,

     @section This is a section

might produce the following in Info:

     5.7 This is a section
     =====================