home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / APPS / lout2.lzh / LOUT2 / DOC / TR.BEGIN / s07 < prev    next >
Text File  |  1994-01-25  |  2KB  |  64 lines

  1. @Section
  2.    @Tag { sections }
  3.    @Title { Sections }
  4. @Begin
  5. @PP
  6. The DocumentLayout package provides sections, like this:
  7. @ID @Code {
  8. "some introductory text."
  9. "@BeginSections"
  10. "@Section"
  11. "    @Title { Introduction }"
  12. "@Begin"
  13. "@PP"
  14. "..."
  15. "..."
  16. "@End @Section"
  17. "@Section"
  18. "    @Title { Displays and lists }"
  19. "@Begin"
  20. "@PP"
  21. "..."
  22. "..."
  23. "@End @Section"
  24. "@EndSections"
  25. }
  26. @Code "@BeginSections" and @Code "@EndSections" symbols must
  27. bracket the sections, and paragraph symbols are needed at the
  28. beginning of each section but not before or after the whole group.  The
  29. @OneCol @Code "@Title" option of @OneCol @Code "@Section" is made into
  30. a numbered heading, like those in the present document, preceded by a
  31. conditional new page symbol (Section {@NumberOf cnp}).  The body of
  32. each section is enclosed in @OneCol @Code "@Begin" and
  33. @OneCol {@Code "@End @Section"}, although @Code "{" and @Code "}"
  34. are sufficient if preferred.  The former are more long-winded but less
  35. prone to error.
  36. @PP
  37. Within sections one may choose to have a sequence of subsections.  These
  38. are introduced by @Code "@BeginSubSections" and concluded by
  39. {@Code "@EndSubSections"}:
  40. @ID @Code {
  41. "in the following subsections."
  42. "@BeginSubSections"
  43. "@SubSection"
  44. "    @Title { ... }"
  45. "@Begin"
  46. "@PP"
  47. "..."
  48. "@End @SubSection"
  49. "@SubSection"
  50. "    @Title { ... }"
  51. "@Begin"
  52. "@PP"
  53. "..."
  54. "@End @SubSection"
  55. "@EndSubSections"
  56. }
  57. The first subsection of the first section will be numbered 1.1, and so
  58. on.  There are no sub-subsections.  DocumentLayout also provides appendices
  59. in an exactly analogous way, using the symbols {@Code "@BeginAppendices"},
  60. {@Code "@Appendix"}, and {@Code "@EndAppendices"}, and subappendices
  61. within any appendix using the symbols {@Code "@BeginSubAppendices"},
  62. {@Code "@SubAppendix"}, and {@Code "@EndSubAppendices"}.
  63. @End @Section
  64.