The macro package supports the following lists and environments:

Itemizing:
An itemized lists consists of indented items, usually preceded by a bullet. There are two ways to indicate an itemized list: one is to start the list with itemize and an open parenthesis and to close it with a closing parenthesis. The other way is to start the list with startit() and to end it with endit(). The items in the list are indicated with it(). Example:
One version of itemized list:
itemize(
    it() One item.
    it() Another item.
)
    
Second version:
startit()
    it() One item.
    it() Another item.
endit()

Description lists:
A description list is similar to an itemized list, except that the items in the list have a short description (as in this list). The description list is either inside a description() or is started with startdit() and ended with enddit().

The items in the list are marked with dit(), this macro expects the short description of the item.

Example:

One version of a description list:
description(
    dit(First this:) One item.
    dit(Then this:) Another item.
)
    
Second version:
startdit()
    dit(First this:) One item.
    dit(Then this:) Another item.
enddit()

Enumerated lists:
An enumerated list is like an itemized list, except that the items are numbered. The list must be inside a enumerate(), or it must start with starteit() and end with endeit().

The elements in the list must be indicated with eit().

Example:

One version of an enumerated list:    
enumerate(    
    eit() One item.    
    eit() Another item.    
)    
    
Second version:    
starteit()    
    eit() One item.    
    eit() Another item.    
endeit()    

Centered text:
Centering text may not be available in all output formats. When unavailable, the text is typeset left-flushed.

Centered text is either either inside center(), or starts with startcenter() and ends with endcenter(). Separate lines in a centered block must be terminated by nl(), otherwise they are merged with subsequent lines.

Example:

center(\    
    Centered text. nl()    
    Another line of centered text.)    
    
startcenter()    
    Centered text.    
endcenter()    

Verbatim text:
Verbatim text appears on the output exactly in the same layout as it is in the input file. Typesetting text in verbatim mode is useful for, e.g., source files. Depending on the output format, the font of the verbatim text is changed to a teletype font.

The text must either be inside verb():

verb(
    This is totally verbatim text.
    It is not further processed by Yodl.
)

The text in question is of course not subject to macro expansion by Yodl. However, global string substitution as defined by SUBST always occurs, see section ??.

Quotes:
Long quotes can be set by the quote macro. It has one argument, the quote to set, as in:

quote(DOS: n., A small annoying boot virus that causes random spontaneous 
system crashes, usually just before saving a massive project. Easily 
cured by UNIX. See also MS-DOS, IBM-DOS, DR-DOS.
    
(from David Vicker's .plan))


Go back to index of Yodl.

Please send Yodl questions and comments to yodl@icce.rug.nl.

Please send comments on these web pages to (address unknown)

Copyright (c) 1997, 1998, 1999 Karel Kubat and Jan Nieuwenhuizen.

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.


This page was built from Yodl-1.31.18 by

<(address unknown)>, Fri Sep 17 13:36:43 2004 EDT.