Type the word Introduction on the first line of your LYX file, and select Section from the Environment menu2.5. Be sure to use Section and not Section*, which will be covered below. LYX numbers the section ``1'' and typesets the section heading (title) in a larger font. Now hit Return. Note that the Environment box changes from ``Section'' back to ``Standard''. Section headings, like most environments, are assumed to end when you type Return. Type the document introduction:
It gets better. Go to the end of Section 1 again (after ``my first LYX document'') and hit Return again, and select Section from the Environment menu again. Again, LYX writes ``2'' and waits for you to type a title. Type About This Document. Section ``More Stuff'', which used to be Section 2, has been automatically renumbered to Section 3! In true WYSIWYM fashion, you just need to identify the text that makes up the section titles, and LYX takes care of numbering the sections and typesetting them.
Hit Return to get back to the Standard environment, and type the following five lines:
Section Description
Sections are bigger than subsections.
Subsection description
Subsections are smaller than sections.
Further levels of sectioning include Subsubsection, Paragraph, and Subparagraph. We'll let you play with these on your own. You may notice that paragraph and subparagraph headings are not numbered by default, and that subparagraphs are indented; see the User's Guide to change this. Chapter headings are actually the highest level of sectioning, above Sections, but you're only allowed to use them in certain types (text classes) of LYX documents (see Section ).
Finally, you may want to have sections or subsections that are not numbered. There are environments for this as well. If you change one of your section headings to the Section* environment (you may have to scroll down in the Environment menu to find it), LYX will use the same font size for the heading as it uses for a regular section, but it won't number that section. There are corresponding ``starred'' heading environments for Subsection and Subsubsection. Try changing some of your sections or subsections to the starred environments, and note how the other sections' numbers are updated.
Exercise: Fix the section and subsection headings in example_raw.lyx.