manpagez: man pages & more
info texinfo
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11.3 @enumerate: Making a Numbered or Lettered List

@enumerate is like @itemize (see section @itemize), except that the labels on the items are successive integers or letters instead of bullets.

Write the @enumerate command at the beginning of a line. The command does not require an argument, but accepts either a number or a letter as an option. Without an argument, @enumerate starts the list with the number ‘1’. With a numeric argument, such as ‘3’, the command starts the list with that number. With an upper or lower case letter, such as ‘a’ or ‘A’, the command starts the list with that letter.

Write the text of the enumerated list in the same way as an itemized list: write a line starting with @item at the beginning of each paragraph that you want enumerated. It is ok to have text following the @item.

You should put a blank line between entries in the list. This generally makes it easier to read the Info file.

Here is an example of @enumerate without an argument:

 
@enumerate
@item
Underlying causes.

@item
Proximate causes.
@end enumerate

This produces:

  1. Underlying causes.
  2. Proximate causes.

Here is an example with an argument of 3:

 
@enumerate 3
@item
Predisposing causes.

@item
Precipitating causes.

@item
Perpetuating causes.
@end enumerate

This produces:

  1. Predisposing causes.
  2. Precipitating causes.
  3. Perpetuating causes.

Here is a brief summary of the alternatives. The summary is constructed using @enumerate with an argument of a.

  1. @enumerate

    Without an argument, produce a numbered list, starting with the number 1.

  2. @enumerate positive-integer

    With a (positive) numeric argument, start a numbered list with that number. You can use this to continue a list that you interrupted with other text.

  3. @enumerate upper-case-letter

    With an upper case letter as argument, start a list in which each item is marked by a letter, beginning with that upper case letter.

  4. @enumerate lower-case-letter

    With a lower case letter as argument, start a list in which each item is marked by a letter, beginning with that lower case letter.

You can also nest enumerated lists, as in an outline.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.