Much of the control of the format of a document can be handled consistently by associating "formats" with nodes of the document. The set of formats selected for Cedar is intended to cover the common kinds of textual units in documentation, memos, and programs. It is best to pick a small subset of them for any particular document.
Formats for use in prose
Format body is intended for ordinary paragraphs.
Format center is intended for centered paragraphs.
Format contents is intended for headings in tables of contents. The same type fonts are used as for head, but with less leading, and with indentation corresponding to nesting structure.
Format continuation is intended for nodes that logically "continue" previous nodes (e.g., following an example or an itemized list), and hence should not have extra leading at the beginning.
Format display is intended for displayed equations, etc. embedded in text paragraphs.
Format example is intended for things like program statements included within explanatory text, and gets extra indentation to set it off.
Format head is a "generic" format for headings that will expand to one of head1, . . ., head5, as a function of the level of nesting. If it is used in place of one of the more specific head formats, heading nodes can be copied into new contexts, levels can be added or removed, etc., with minimum effort.
Format indent is intended for paragraphs that are to be indented (relative to the containing node). In the usual case, this is a head, rather than the preceding body node, although the difference is not visible on the hardcopy.
Format item is intended for elements of an itemized list (like this one). Items are indented relative to their containing node, and continuation lines are further indented.
Formats lead1, lead2, and lead3 are like body, except that they have progressively more inter-line leading, which can be useful for paragraphs with larger format, superscripts, etc.
Format logo is intended for the Xerox logo line at the start of a document. It does more than just set the font to Logo24, it provides extra space before and after, extends into left margin, etc.
Format memoHead is intended for the heading lines at the start of memos.
Format note is intended for fine points. Someday we will have real footnotes.
Format pageBreak is intended to force a new page. It shouldn't have contentunless you want it at the very bottom of the page.
Format quote is intended for displayed quotations.
Format reference is intended for items in reference lists [van Leunen 1978].
Format table is intended for tables with widely-spaced columns.
Formats table1, table2, and table3 provide successively smaller tab stops to accomodate more columns.
Format title is intended for (centered) titles, typically at the start of a document.
Format subtitle uses a slightly smaller font, and can be used either under a title, or, in long documents, for chapter titles.